x
|
9785777642
chore: Update copyright license year
|
7 months ago |
oars
|
8b7ee9274e
net: DEP-0006: add app identifier to Version and Verack messages and check app identifier is the same during version exchange
|
1 year ago |
skoupidi
|
105ec29709
net: minor style formatting
|
1 year ago |
oars
|
525f5ef44e
net: set metering threshold config and message max bytes size config for the basic protocols messages
|
1 year ago |
oars
|
cfeb874fda
net: configure maximum message name length to prevent possible dos vector
|
1 year ago |
skoupidi
|
6c02b4a450
net/message: optional metering infra for rate limitting added
|
1 year ago |
skoupidi
|
b27dec9b45
net/message: optional max message bytes limit added
|
1 year ago |
darkfi
|
4bf87ea395
net/hosts: keep a ringbuf of auto discovered addrs from the version exchange. Check new connections in filter_addresses() against this list to avoid self connections.
|
1 year ago |
darkfi
|
e7a7e0afe7
net: allow customizing the magic_bytes used in the p2p network. adds stronger distintinguishability between different net instances.
|
1 year ago |
parazyd
|
604f443fd1
chore: Update license header year
|
1 year ago |
skoupidi
|
151aa186c4
net/channel: introduced Message pre-serialization for minor optimization of p2p.broadcast()
|
2 years ago |
draoi
|
78bb9f554e
net: remove intermediate Packet type
|
2 years ago |
draoi
|
7528147b6c
message: extract the length of the packet into a buffer, then deserialize
|
2 years ago |
draoi
|
b7c11c2bed
net: implement DEP-0001
|
2 years ago |
zero
|
2c0a3990ed
delete redundant debug messages from message.rs
|
2 years ago |
zero
|
86dd32b207
fix serialization bugs in net/message.rs
|
2 years ago |
parazyd
|
d3fae80d5a
chore: Update copyright year in license headers
|
2 years ago |
lunar-mining
|
a19e20e006
net: cleanup
|
2 years ago |
lunar-mining
|
a6c74eda87
net: migrate to new AddrMessage format <Url, u64>
|
2 years ago |
lunar-mining
|
d7d80b6f11
net: implement a new ProtocolAddr that sends addrs from the whitelist and receives to greylist
|
2 years ago |
aggstam
|
4ff6176fdd
net: AddrsMessage to include both addressis with and without preferred transports
|
2 years ago |
aggstam
|
af9124c93a
net: Use transports when polling GetAddrsMessage to seed/peer
|
2 years ago |
parazyd
|
6b49fa6560
net/message: Allow packet payloads to be empty.
|
2 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
|
ebe6f4e5c4
net/dnet: add outbound connected/disconnected events
|
3 years ago |
parazyd
|
b76d2e57b5
net/message: Always flush on send_packet()
|
3 years ago |
parazyd
|
55ee919906
net: Perform full p2p code cleanup and improve certain pieces.
|
3 years ago |
x
|
16111d74de
change assert == to <= for usize and u64 so we allow 32 bit archs to run
|
3 years ago |