How to mine a newly created coin (forked from bitcoin)
I was creating a new coin from bitcoin for learning purpose. I was able to make changes and able to run my new coin. I follow this guide to create this coin.
https://bitcointalk.org/index.php?topic=3345808.msg35016844#msg35016844
My coin name is adreno. This is my adreno.conf file
server=1 testnet=1 listen=1 whitelist=127.0.0.1 txindex=1 addressindex=1 timestampindex=1 spentindex=1 zmqpubrawtx=tcp://127.0.0.1:28332 zmqpubhashblock=tcp://127.0.0.1:28332 rpcallowip=127.0.0.1 rpcuser=adreno rpcpassword=adreno@123 daemon=1
For mining the above link provide this solution
-
Get cpuminer from https://github.com/pooler/cpuminer and build it
-
Start mining
./minerd --user adreno --pass adreno@123 --url http://127.0.0.1:19231/ --threads 1 --coinbase-addr 2NDMNtJB4wR2mEkDpFiqSr7yzuYAzT7dpDZ --coinbase-sig "my test coins" -a sha256d -D
But this gives me connection refused error
[2018-10-27 22:45:04] 1 miner threads started, using 'sha256d'
algorithm. [2018-10-27 22:45:04] HTTP request failed: Failed to connect to 0.0.0.0 port 28331: Connection refused [2018-10-27
22:45:04] json_rpc_call failed, retry after 30 seconds
I tried with port 19230 . but still i got same error.
Here is my netstat command output
Please help me to generate my first block
Thanks
https://ift.tt/2CLcGWI
Comments
Post a Comment