draoi
|
39350f8740
outbound_session: start() and stop() slots concurrently
|
2 years ago |
draoi
|
9aea678125
outbound_session: replace TODO with NOTE
|
2 years ago |
draoi
|
92cbca047e
outbound_session: just do seed next time if peer discovery waiting for addrs times out
|
2 years ago |
draoi
|
2b46488e09
doc: add missing docstrings to net/outbound_session
|
2 years ago |
draoi
|
06c64b06aa
doc: upgrade some NOTE comments to docstrings
|
2 years ago |
draoi
|
a4c9ddcfed
outbound_session: make SlotPreference enum
|
2 years ago |
zero
|
c2c967a673
net: p2p.stop() calls channel.stop() on all channels
|
2 years ago |
zero
|
af8f1e9d20
net: remove public visibility from outbound_session::Slot, and correct broken docstring
|
2 years ago |
draoi
|
fe0801bcf1
outbound_session: fix bug causing nodes to get stuck in peer discovery
|
2 years ago |
draoi
|
52e6ea0530
net: implement greylist downgrade and goldlist upgrade
|
2 years ago |
draoi
|
1cd330b798
net: create RefineSession
|
2 years ago |
draoi
|
1f1bfd3dce
net: flatten move_hosts() so unregister call happens outside function
|
2 years ago |
draoi
|
69c6530a5d
net: move downgrade to greylist into remove_sub_on_stop()
|
2 years ago |
draoi
|
6504ceceb7
net: fix bug in outbound session that was restricting slot connections
|
2 years ago |
draoi
|
4bad13e687
net: create `darklist` for unknown transports + share darklist (not greylist)
|
2 years ago |
draoi
|
c2941c4726
error: more descriptive error handling for state transitions
|
2 years ago |
draoi
|
0c23ba0947
manual_session: fix bug which caused peers to get stuck in Connect state
|
2 years ago |
draoi
|
5f55e877ae
net: enable hostlist migration + bugfixes
|
2 years ago |
draoi
|
137eef25b7
doc: fmt and add dev NOTEs
|
2 years ago |
draoi
|
b1cfbda94b
hosts: remove useless Result<> on subscribe_store
|
2 years ago |
draoi
|
d160e96161
net: gather unused channel_subscriber's into a single channel_subscriber in Hosts
|
2 years ago |
draoi
|
a123826d22
net: cleanup and add documentation
|
2 years ago |
draoi
|
24212a6f77
net: enable offline reconnect
|
2 years ago |
draoi
|
d19f962830
net: replace downgrade, upgrade and blacklist methods with one method: move_hosts()
|
2 years ago |
draoi
|
48a5dc1b2b
net: simplify and reduce Hosts API by introducing HostContainer
|
2 years ago |
draoi
|
db92a9e3dc
net: introduce HostState state machine to safely manage host activity
|
2 years ago |
draoi
|
ecf81d9f93
net: make a generic base class for PeerDiscovery
|
2 years ago |
draoi
|
de78b48549
net: downgrade host (don't remove or blacklist) if we can't connect
|
2 years ago |
draoi
|
ba8edefb59
net: restructure hostlist removal logic
|
2 years ago |
skoupidi
|
c04667a845
net/session/outbound_session::fetch_address(): simplyfied returns
|
2 years ago |