8

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.

1
  • Are you running bitcoind from the command line?
    – venzen
    Commented Jun 28, 2017 at 8:01

2 Answers 2

14

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

Update: The RPC getinfo is deprecated, use getblockchaininfo for it to work with the latest version

bitcoin-cli -testnet getblockchaininfo

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

1
  • Upvoted, now you have 51 :) Commented May 29, 2019 at 17:41

Not the answer you're looking for? Browse other questions tagged or ask your own question.