November 2018
Intermediate to advanced
528 pages
13h 21m
English
To operate, Bitcoin uses two ports on which the client will listen to establish connections, namely:
We will define different ports for both mainnet and testnet, in order to be able to run your altcoin alongside a Bitcoin client without port overlap. Remember, mainnet and testnet are abbreviations for the main and test public networks.
Get your favourite text editor and open up chainparams.cpp and chainparamsbase.cpp located in the src/ folder. Find the network parameters, including the ports, and then change the following variables:
chainparams.cpp: ...
Read now
Unlock full access