I am looking for a way to simulate a 1000 node bitcoin network on my private LAN/Wifi network.
I read the developer's guide: https://bitcoin.org/en/developer-examples#regtest-mode which mentions the regtest
mode that works primarily for single nodes or specified nodes and not random nodes like the actual network.
Some people might suggest using the testnet
mode but that is not useful for me as I want to check a new protocol for bitcoins that wont be supported by the unknown nodes over the testnet
network.
To put it simply, I am looking to simulate a complete bitcoin network within my LAN/Wifi network.
testnet
ormain
net on a private network. That means, I want to start a new blockchain for nodes on my LAN, they should connect only within themselves via the peer discovery method that is exactly like the actual bitcoin network. First time a node joins this custom network, it should connect to custom hardcoded nodes(as I have disabled DNS discovery in my code) by sendingversion
andverack
messages and then exchangegetaddr
andaddr
messages to discover other nodes on the network. – Polarization