lunar-mining
|
4cde069c53
store: document and cleanup
|
2 years ago |
lunar-mining
|
e472003b6d
outbound_session: fetch_address() logic bug fix
|
2 years ago |
lunar-mining
|
0ac12ff19d
store: add test_fetch_address() unit test
|
2 years ago |
lunar-mining
|
79e9039b9b
store: create test_fetch_anchorlist() unit test
|
2 years ago |
lunar-mining
|
ad3675eb3c
store: fix death loop
|
2 years ago |
lunar-mining
|
5f00598c12
outbound_session: remove peer from anchor or whitelist when try_connect fails
|
2 years ago |
lunar-mining
|
27d1b3aa03
hosts: fix logic on anchorlist_fetch_with_schemes
|
2 years ago |
lunar-mining
|
426efdf90b
chore: cargo fmt
|
2 years ago |
lunar-mining
|
18479be298
test: add seed node to net/test.rs
|
2 years ago |
lunar-mining
|
1578138e8f
outbound_session: move fetch_address logic into new function
|
2 years ago |
lunar-mining
|
2696290aad
store: fix logic on is_empty_hostlist()
|
2 years ago |
lunar-mining
|
ca885a43ee
store: improve error naming
|
2 years ago |
lunar-mining
|
07c2d667e1
session: remove redundant anchorlist write
|
2 years ago |
lunar-mining
|
4d4392f9e8
net: add test module to mod.rs
|
2 years ago |
lunar-mining
|
873cd35e0e
net: add hostlist documentation
|
2 years ago |
lunar-mining
|
51b4263a93
net: remove connection from anchorlist when it disconnects and cleanup.
|
2 years ago |
lunar-mining
|
a555f2e744
net: add anchor_connection_count and white_connect_percent to Settings and cleanup
|
2 years ago |
lunar-mining
|
ca4d523dd3
net: remove unwrap()'s and cleanup
|
2 years ago |
lunar-mining
|
6e8671d5b0
net: create greylist_refinery_interval in net::Settings and update TODOs
|
2 years ago |
lunar-mining
|
995ff6f6c2
lilith: add hostlist path to NetInfo and default config
|
2 years ago |
lunar-mining
|
d15cc3b2bd
net: read hostlist path from Settings. Define a default setting and allow overriding in config
|
2 years ago |
lunar-mining
|
b456d8f5ec
lilith: remove load and save host functionality (made redundant by greylist upgrade)
|
2 years ago |
lunar-mining
|
5be6a07c61
net: add save_hosts() and load_hosts() methods and invoke on greylist refinery start and stop
|
2 years ago |
lunar-mining
|
03e6e99e90
net: move host selection logic back into hosts/store to avoid insane nesting in outbound session loop
|
2 years ago |
lunar-mining
|
0096f778c6
net: improve outbound_session connection loop logic.
|
2 years ago |
lunar-mining
|
6a39e926f1
net: prevent inbound session channels from being stored in the anchorlist
|
2 years ago |
lunar-mining
|
c850f629b8
net: cleanup connect loop code reuse by implement connect_slot() method. also prevent infinite loop by doing peer discovery when the hostlist is empty.
|
2 years ago |
lunar-mining
|
b5bf749fe9
net: replace outbound connection loop with monero grey/white/anchor connection_maker()
|
2 years ago |
lunar-mining
|
03ae65956a
net: add peer to the anchorlist with an updated last_seen when we call p2p.store() on a connected channel
|
2 years ago |
lunar-mining
|
ebe8eb1626
net: check whether host is in the peerlist before adding to greylist. also make additional anchorlist utils.
|
2 years ago |