Commit Graph

3 Commits

Author SHA1 Message Date
Bo QIU
b9e6431a4d
Add shard config in STATUS message and only dail to shard config matched peers ()
* 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
peilun-conflux
12d0c6b675
Check network id in status and ban incompatible peers. ()
* Check network id in status and ban incompatible peers.

* Revert debug changes.

* Request chain id from the blockchain server.
2024-08-14 11:35:48 +08:00
Peilun Li
9058467be1 Initial commit 2024-01-04 18:05:32 +08:00