I created two altcoin peers and they can add blocks to genesis block. However their blockchains do not sync with each other!
The only way let the block merge is to stop a peer and restart the peer.
Is there any solution? Thanks..
Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to sign up.
Sign up to join this communityI created two altcoin peers and they can add blocks to genesis block. However their blockchains do not sync with each other!
The only way let the block merge is to stop a peer and restart the peer.
Is there any solution? Thanks..
Solution found!
Bitcoin client use checkpoints to prevent 51% attack. What are checkpoints?
Modifying checkpoints in chainparams.cpp solve this sync problem.