#####################
Clone Coin Script
#####################
Preface
I have spent the past few weeks messing around with the Bitcoin sourcecode. In my exercises I have figured out how to make a new genesis block, and get it working with Bitcoind as the daemon process, in effect making a new blockchain based on Bitcoin. Now, DISCLAIMER: I HAVE ONLY A SLIGHT IDEA OF WHAT I'M DOING. USE THIS ALL AT YOUR OWN RISK.
UNTESTED - draft of code
The purpose of this script is to take the bitcoin reference client and make a new "cryptocurrency".
This is done by following these steps:
- Run GenesisH0 with appropriate params
- Put the params spit out by GenesisH0 into the chainparams.cpp file
- Setup the dependencies for building bitcoind
- Build the binary for the cloned coin
- Start the cloned coin in two or more instances
- Get a new address using RPC commands
- Generate 1 block using RPC commands
- Mine 100 more blocks using CGMiner
- my github has a link to a script for building CGMiner for bitcoin mining using a GPU
- Deploy the blockchain to three or more servers
Notes:
- The parameters inside of the bitcoin reference client stay the same - half lilfe of coins is still the same, difficulty adjustment period stays the same
Requirements:
- python-pip: sudo apt install python-pip
- libssl-dev: sudo apt install libssl-dev
Compatability: bitcoin 0.15.0.1