## To run bitcoin core testnet on Ubuntu 16.04

7

1

How can I run Bitcoin core testnet version on ubuntu 16.04 platform ? I am getting so many reference about how to run bitcoin core mainnet but it will take around 20 days to synchronize with the network as per my bandwidth and also will take my half of the HDD. So I opt for Testnet. Can someone explain me how to insatll bitcoin core testnet on Ubuntu 16.04? I would be grateful. Step by step explanation or reference would be much appreciated.

Are you running bitcoind from the command line? – venzen – 2017-06-28T08:01:00.227

13

After having installed Bitcoin core on your machine, run the following command to start synchronising the testnet blockchain

bitcoind -testnet -daemon

The synchronisation starts as a daemon and runs in the background, you can issue the following the command to see the progress

tailf ~/.bitcoin/testnet3/debug.log

To access the command line apis , just add the -testnet parameter

bitcoin-cli -testnet getinfo

6

getinfo is now deprecated. Use getblockchaininfo instead:

bitcoin-cli -testnet getblockchaininfo


I don't have 50 reputation to comment. Otherwise, I would've added this as a comment.

Upvoted, now you have 51 :) – Mars Robertson – 2019-05-29T17:41:29.757