0g-storage-node/node/network/src/rpc
Bo QIU b9e6431a4d
Add shard config in STATUS message and only dail to shard config matched peers (#285)
* Add shard config in status message

* verify shard config for status message

* Notify peer connected to sync layer after status message exchanged

* Do not dial to shard config mismatched peers

* Upgrade network protocol version

* disconnect peer instead of ban peer if shard config mismatch

* Add python test for TCP connection by shard config
2024-11-25 10:15:30 +08:00
..
codec Add shard config in STATUS message and only dail to shard config matched peers (#285) 2024-11-25 10:15:30 +08:00
handler.rs Initial commit 2024-01-04 18:05:32 +08:00
methods.rs Add shard config in STATUS message and only dail to shard config matched peers (#285) 2024-11-25 10:15:30 +08:00
mod.rs Implement file sync protocol V2 (#249) 2024-10-28 14:56:08 +08:00
outbound.rs Implement file sync protocol V2 (#249) 2024-10-28 14:56:08 +08:00
protocol.rs Implement file sync protocol V2 (#249) 2024-10-28 14:56:08 +08:00
rate_limiter.rs Implement file sync protocol V2 (#249) 2024-10-28 14:56:08 +08:00