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 |
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
|
21df1a2f52
add assert_err macro
|
3 years ago |
x
|
d4ba515f7d
net: remove p2p.run(), now we simply call p2p.start() and p2p.stop()
|
3 years ago |
x
|
3b4103e40b
net: change private p2p functions to pub(crate)
|
3 years ago |
parazyd
|
0f125fa2db
net: Remove async-std dependency and prefer smol.
|
3 years ago |
x
|
ebe6f4e5c4
net/dnet: add outbound connected/disconnected events
|
3 years ago |
parazyd
|
017cf68480
net/p2p: Expose the dnet subscriber through a function.
|
3 years ago |
x
|
e23fb30604
p2p: debug net info cleanup and add support to darkirc
|
3 years ago |
parazyd
|
50ac8bf93c
net: Remove most of dnet and replace with a ChannelInfo subscriber.
|
3 years ago |
x
|
d8c9f893a1
Revert "net: these lines aren't needed. The enable/disable guard is simply for channel message logging. The other info is still accessible and adds no costs."
|
3 years ago |
x
|
977f3027ff
net: these lines aren't needed. The enable/disable guard is simply for channel message logging. The other info is still accessible and adds no costs.
|
3 years ago |
parazyd
|
27735bb6f4
net: Remove channels from P2P if broadcast fails.
|
3 years ago |
parazyd
|
ffd7e5907b
net: Fix minor log aesthetic.
|
3 years ago |
parazyd
|
9e789c24b5
net: Attempt reseeding the P2P subsystem in peer_discovery if no channels are connected.
|
3 years ago |
parazyd
|
1f47600402
net: Clippy lints
|
3 years ago |
parazyd
|
ba25b08458
net: Add a function to map DnetInfo into a JSON map.
|
3 years ago |
parazyd
|
f73c9c8f61
net: dnet cleanups and improvements.
|
3 years ago |
parazyd
|
55ee919906
net: Perform full p2p code cleanup and improve certain pieces.
|
3 years ago |
x
|
acb2131747
fix broken log targets
|
3 years ago |
x
|
988a622403
Revert "missing log targets"
|
3 years ago |
x
|
6414d55b7e
missing log targets
|
3 years ago |
x
|
5702976798
cleanup logging project wide
|
3 years ago |
parazyd
|
71cd3064d6
Update license year.
|
3 years ago |
parazyd
|
88caee7f42
Update and clean up dependencies.
|
3 years ago |
parazyd
|
8c27c24473
make fix
|
4 years ago |
aggstam
|
ebba655747
p2p: random_channel() to exlude seeds, consensus: minor proposal fixes, fmt
|
4 years ago |
parazyd
|
8ae84ad7f9
Add license header to source files.
|
4 years ago |