Skip to content

Instantly share code, notes, and snippets.

@DaWe35
Last active April 28, 2024 21:23
Show Gist options
  • Save DaWe35/51f8441f476b14cd39c638334e5c05b5 to your computer and use it in GitHub Desktop.
Save DaWe35/51f8441f476b14cd39c638334e5c05b5 to your computer and use it in GitHub Desktop.
Bitcoin Core CPU mining bash loop for testnet
while [ 1 ]
do
bitcoin-cli generatetoaddress 1 "2N5fJkfCv4cF6vsa5QQJnsazBKWNXynn9zp" 10000000
done
@DaWe35
Copy link
Author

DaWe35 commented Feb 25, 2020

Did I successfully mine Testnet coins?
https://www.blockchain.com/btctest/address/2N5fJkfCv4cF6vsa5QQJnsazBKWNXynn9zp

[2020. 03. 20.]
I had to mine for 4 days for the first block. After that, I received 4 transactions from unknown addresses (fun). Now I'm restarting the miner, let's see how many coins I can mine.

@ZaharSavchin
Copy link

how to run this loop?

@DaWe35
Copy link
Author

DaWe35 commented Apr 28, 2024

Just open terminal (bash), this command is already a loop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment