x
|
b0f334683b
p2p: simplify and make safe API, and thereby fix the possibility for any deadlock to happen when using the API.
|
2 years ago |
parazyd
|
ee47552eee
net: Mark peer as rejected if we have missing dispatchers for certain packets.
|
3 years ago |
parazyd
|
d1b84ca832
net: Disconnect peers which send us packets that we don't have dispatchers for.
|
3 years ago |
x
|
be70993c22
net/channel: correct and reword docstring comment
|
3 years ago |
x
|
e46454edcb
channel, centralize stop() logic in handle_stop()
|
3 years ago |
x
|
bcc159ea55
channel: minor fix to debug! statement
|
3 years ago |
x
|
b0ca5dc7dd
net/channel: improve Debug, and use {:?} in all trace/debug messages instead of self.address()
|
3 years ago |
parazyd
|
2d0e3b0d89
lib: Clean up imports
|
3 years ago |
parazyd
|
98703d361a
lib: Add necessary traits around for async serial.
|
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
|
02b15fd1c9
net/channel: Make ChannelInfo ID a u32.
|
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 |
parazyd
|
814c701677
net/outbound: Add a TODO note on reseeding peers.
|
3 years ago |
parazyd
|
9ee57c1d13
net/channel: Logging aesthetics
|
3 years ago |
parazyd
|
b76d2e57b5
net/message: Always flush on send_packet()
|
3 years ago |
parazyd
|
f73c9c8f61
net: dnet cleanups and improvements.
|
3 years ago |
parazyd
|
113c45b41e
net/hosts: Fix scheme parsing.
|
3 years ago |
parazyd
|
55ee919906
net: Perform full p2p code cleanup and improve certain pieces.
|
3 years ago |
parazyd
|
08e92dbde3
util: Implement RingBuffer as exportable API
|
3 years ago |
Dastan-glitch
|
f3659261dc
src/net: use ring buffer instead of vec for channel log
|
3 years ago |
x
|
f6dd466ccb
add net::channel to include function in log target and cleanup its logs
|
3 years ago |
x
|
5702976798
cleanup logging project wide
|
3 years ago |
parazyd
|
71cd3064d6
Update license year.
|
3 years ago |
parazyd
|
8ae84ad7f9
Add license header to source files.
|
3 years ago |
lunar-mining
|
22151f6b7a
book/dchat: use anchors where possible, copy paste code where not.
|
3 years ago |
Luther Blissett
|
5e4b663b13
Apply new path to serial crate throughout codebase.
|
3 years ago |
aggstam
|
34dff4e2d2
p2pnet: validate external address of inbound connection
|
4 years ago |