November 2018
Intermediate to advanced
528 pages
13h 21m
English
The Bitcoin node broadcasts, in each P2P frame, 4 bytes known as magic values to ensure that only the client/peers belonging to the same network can communicate. The magic bytes are represented in the pchMessageStart[] array to identify the used network as described in the following table:

To differentiate our Readercoin network, we will change pchMessageStart values by incrementing them by 2. Always in chainparams.cpp, edit pchMessageStart in the CMainParams class using the following values:
pchMessageStart[0] = 0xfd;pchMessageStart[1] = 0xc0;pchMessageStart[2] = 0xb6;pchMessageStart[3] = 0xdb;
For the CTestNetParams ...
Read now
Unlock full access