lunar-mining
|
7952b8ad41
lilith: store last_seen in host list. also change outbound_session to run new protocol
|
2 years ago |
lunar-mining
|
efe3ca7214
net: move whitelist_fetch_address_with_lock() to hosts, and change whitelist_downgrade() function call to take an url, not an (addr, u64)
|
2 years ago |
lunar-mining
|
c074282301
net: remove channel from the whitelist and add to the greylist if we fail to establish a connection.
|
2 years ago |
lunar-mining
|
d7d80b6f11
net: implement a new ProtocolAddr that sends addrs from the whitelist and receives to greylist
|
2 years ago |
lunar-mining
|
f3b71f4fdc
net: call refresh_greylist() inside outbound_session::run()
|
2 years ago |
lunar-mining
|
a74557131b
outbound_session: create run2() method that changes run() behavior to new whitelist protocol.
|
2 years ago |
aggstam
|
af9124c93a
net: Use transports when polling GetAddrsMessage to seed/peer
|
2 years ago |
aggstam
|
caeb51fdb7
net/hosts/fetch_with_schemes(): limit added
|
2 years ago |
x
|
113978a6d4
darkirc: add p2p.get_info()
|
3 years ago |
parazyd
|
2b7dd67309
chore: Clippy lints and compile fixes.
|
3 years ago |
x
|
250c8ba2d0
bugfix: there's a type Arc<Weak<Foo>> when it should be Weak<Foo>
|
3 years ago |
x
|
347f6da54e
net/outbound: put p2p.remove_pending() in the correct place.
|
3 years ago |
x
|
32c7cf0d63
net: fix the ever elusive bug that started our quest
|
3 years ago |
x
|
1e752bfb7e
net: add peer discovery connection strategy
|
3 years ago |
x
|
324024b83e
system/net: introduce LazyWeak which simplifies parent-child hierarchies
|
3 years ago |
x
|
dce54b61c3
net/outbound_session: add PeerDiscovery process to OutboundSession. Slots and PeerDiscovery communicate through CondVar
|
3 years ago |
parazyd
|
092b3bd0dd
net/outbound_session: Randomize hosts list in fetch_address_with_lock.
|
3 years ago |
x
|
61c269f776
net/outbound_session: start() doesnt return Err so remove error handling and result
|
3 years ago |
x
|
2db408de14
p2p: greatly simplify & delet kod. p2p doesnt need a StoppableTask - the sessions themselves create their own StoppableTasks when calling start() and yield immediately.
|
3 years ago |
x
|
d4ba515f7d
net: remove p2p.run(), now we simply call p2p.start() and p2p.stop()
|
3 years ago |
x
|
a2ae02ad9f
net: reorganize code of outbound session into individual separated slots
|
3 years ago |
x
|
2e1bc56371
net: remove redundant check, the prev line does p2p.exists(host). All sessions should add to this list through Session::perform_handshake_protocols()
|
3 years ago |
x
|
68d51f794a
net/hosts: rename load_*/get_* to fetch_*. We are doing an async get, so fetch more accurately conveys meaning here
|
3 years ago |
parazyd
|
0f125fa2db
net: Remove async-std dependency and prefer smol.
|
3 years ago |
x
|
25b84e18f6
net: make dnet! macro more compact (and rename to dnetev!)
|
3 years ago |
x
|
ebe6f4e5c4
net/dnet: add outbound connected/disconnected events
|
3 years ago |
parazyd
|
50ac8bf93c
net: Remove most of dnet and replace with a ChannelInfo subscriber.
|
3 years ago |
parazyd
|
0ba9740b84
chore: Clippy lints
|
3 years ago |
parazyd
|
9e789c24b5
net: Attempt reseeding the P2P subsystem in peer_discovery if no channels are connected.
|
3 years ago |
parazyd
|
814c701677
net/outbound: Add a TODO note on reseeding peers.
|
3 years ago |