issue in forking bitcoin 0.12 and internal miner
issue in forking bitcoin 0.12 and internal miner
For education purposes I am working on a bitcoin fork which enables the cpu mining. By looking in internet i've learned that internal miner was removed from bitcoin codebase since the version 0.13. So i have forked the version 0.12.1 and i have edited the chainparam.cpp file to make my altcoin.
I've maked my code everything is ok but when i try to mine using setegenrate true 4 or -gen=1 it won't mine.
when i try getmininginfo i get these outputs showing 0 mined block :
{
"blocks": 0,
"currentblocksize": 0,
"currentblocktx": 0,
"difficulty": 1,
"errors": "",
"genproclimit": 1,
"networkhashps": 0,
"pooledtx": 0,
"testnet": false,
"chain": "main",
"generate": true
}
http://ift.tt/2zYjuiq
Comments
Post a Comment