How to mine a newly created coin (forked from bitcoin)

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

  1. Get cpuminer from https://github.com/pooler/cpuminer and build it

  2. 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

enter image description here

Please help me to generate my first block

Thanks

https://ift.tt/2CLcGWI

Comments

Popular posts from this blog

bitcoin node: what is the difference between simnet and regtest?

How to check if Electrum is masking my IP with the Tor proxy?

Need help to recover blpckchain.info wallet, my wife forgot her password and the brute force with btcrecover is not catching the password