0g-storage-node/node/network/src/peer_manager
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
..
peerdb Initial commit 2024-01-04 18:05:32 +08:00
config.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 Add shard config in STATUS message and only dail to shard config matched peers (#285) 2024-11-25 10:15:30 +08:00
network_behaviour.rs Initial commit 2024-01-04 18:05:32 +08:00
peerdb.rs Add shard config in STATUS message and only dail to shard config matched peers (#285) 2024-11-25 10:15:30 +08:00