Skip to content

When connecting to peers, always send our Hive chain id.

Eric Frias requested to merge always-report-hive-chain-id-to-peers into develop

In the previous version, we would send whatever the "active" chain id was when connecting. If the node was syncing from scratch, it would report the Steem chain id up until the point where it reached the hard fork, then it would switch over. Now, we will report the Hive chain id even before it syncs the hard fork. This should reduce the number of connections between nodes on the two chains. We will still accept connections from nodes on either chain. Once all nodes are running this commit, we can stop accepting connections from Steem chain id nodes, completing the split.

Merge request reports