Skip to main content
14 votes
Accepted

To run bitcoin core testnet on Ubuntu 16.04

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 ...
Shabahat M. Ayubi's user avatar
13 votes
Accepted

Is there a sandbox in bitcoin for testing?

Testnet is really heavy (hundreds of gigabytes), there is a lighter alternative to that now: signet. There is also a local-only network called regtest, which I put in its own section. Finally, I'll ...
Janus Troelsen's user avatar
13 votes
Accepted

What are the key differences between regtest and the proposed signet?

The main difference between signet and regtest is that signet is an actual network, as opposed to a sandboxed environment. In regtest, the network topology is entirely manual. You spin up nodes, and ...
Pieter Wuille's user avatar
12 votes
Accepted

Difference between regtest and testnet

Regtest is a network designed solely to be private and for testing only. You can create a private regtest network and do testing and experimentation with it. It is not a public network and has no ...
Ava Chow's user avatar
  • 71.5k
10 votes
Accepted

How to run Bitcoin Core behind corporate proxy?

Bitcoin doesn't use HTTP for its communications - it has its own specific protocol that runs directly on top of TCP. So an HTTP proxy like squid won't help. If you aren't able to make outgoing TCP ...
Nate Eldredge's user avatar
10 votes
Accepted

running live and test node simultaneously

You can run both at the same time: $ bitcoind -daemon $ bitcoind -testnet -daemon Then you can issue commands on either using: $ bitcoin-cli <commmand> or $ bitcoin-cli -testnet <...
JBaczuk's user avatar
  • 7,428
10 votes

What are the key differences between regtest and the proposed signet?

Signet is more comparable to testnet than it is to regtest. Regtest is for private use and testing things. Even if signet were available, it is still useful to have your own blockchain for testing ...
Ava Chow's user avatar
  • 71.5k
9 votes

How to check if node is on TestNet or MainNet via `bitcoin-cli`?

Before version 0.16.0: $ bitcoin-cli getinfo { "version": 120100, "protocolversion": 70012, "walletversion": 60000, "balance": 0.00000000, "blocks": 414105, "timeoffset": -165, "...
knocte's user avatar
  • 1,784
9 votes
Accepted

How to get Electrum 3.1.3 on bitcoin testnet?

General answer is running: $ electrum --testnet If you are using Mac OSX then open terminal an jump to: /Aplications/Electrum/Contents/OSX there you need to run: & ./Electrum --testnet On newer ...
PlatoWright's user avatar
9 votes

Testnet difficulty change

Testnet has a built in functionality that changes the difficulty to 1 if the mining process takes 20 minutes or longer. This question explains the dropping of difficulty to 1. So while the ...
Shabahat M. Ayubi's user avatar
9 votes
Accepted

How do I get set up on Signet?

I will assume that you want to get set up on the default Signet that is administered by Kalle Alm and AJ Towns. (You can also set up your own custom Signet network and administer it yourself but the ...
Michael Folkson's user avatar
8 votes
Accepted

Can you break down what data is encoded into a bech32 address?

Bech32 addresses are defined in BIP 173. This slide is taken from Pieter Wuille's presentation on bech32 at SF Bitcoin Devs in March 2017. Different prefixes A list of address prefixes on the Bitcoin ...
Michael Folkson's user avatar
8 votes
Accepted

Why doesn't signet use a unique bech32 prefix?

It used to, but we switched to using the testnet one to simplify things. It's a testnet so it doesn't really impact anyone if you screw it up (go to the faucet and get more if you lose them), and ...
Kalle's user avatar
  • 528
7 votes
Accepted

Testnet peers list (with IP addresses)

Just use a testnet dns seeder. Type this into your terminal: dig A testnet-seed.bitcoin.jonasschnelli.ch or dig A seed.tbtc.petertodd.org for IPv6 dig AAAA testnet-seed.bitcoin.jonasschnelli.ch
Jonas Schnelli's user avatar
7 votes
Accepted

How can I use the Litecoin testnet?

Download Litecoin Core, install it, and start it with the -testnet option. I'm aware of two Litecoin testnet explorers: http://testnet.litecointools.com/ https://chain.so/testnet/ltc
Murch's user avatar
  • 76.9k
7 votes
Accepted

How to generate a testnet address?

Bitaddress.org itself allows you to create Testnet addresses (hat tip to Nick ODell). The generator for testnet addresses can be found by appending ?testnet=true to the URL. The site now appears to ...
Murch's user avatar
  • 76.9k
7 votes
Accepted

Solving Bitcoin core's 'ActivateBestChain failed'

That block is not just orphaned, it is actually invalid. It exploits CVE-2018-17144. The only way to fix this error is to upgrade to Bitcoin Core 0.16.3 and begin a reindex following the upgrade.
Ava Chow's user avatar
  • 71.5k
7 votes

How to test if a transaction is standard without spending real money?

You can use Bitcoin Core's testmempoolaccept RPC. It will tell you whether the transaction you give it would be accepted into your node's mempool at that time but won't actually add it to the mempool ...
Ava Chow's user avatar
  • 71.5k
6 votes
Accepted

Update from Bitcoin core 0.12 to 0.13 requires blockchain re-download?

The reason is not strictly the upgrade from 0.12 to 0.13, but from a version that does not support SegWit to one that does, after SegWit activated on the network. Bitcoin Core 0.13 comes with the ...
Pieter Wuille's user avatar
6 votes
Accepted

How to check if node is on TestNet or MainNet via `bitcoin-cli`?

Since version 0.16.0 $ bitcoin-cli getblockchaininfo { "chain": "main", "blocks": 525663, "headers": 525663, . . . } Reference: https://...
Kerem atam's user avatar
6 votes
Accepted

Can I do a replay attack to spend my testnet bitcoin on the mainnet?

The answer is no, you can't, because the two chains don't share a common history. Internally, transactions don't spend "from" an address. Instead, they refer to a specific output created by an ...
Pieter Wuille's user avatar
6 votes
Accepted

trouble with bitcoin cli regtest

It seems you're mixing up bitcoind and bitcoin-cli. bitcoind is the Bitcoin Core daemon. It must be running first before you can do anything. bitcoin-cli is a tool to send RPC commands to a running ...
Pieter Wuille's user avatar
6 votes

To run bitcoin core testnet on Ubuntu 16.04

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.
alant's user avatar
  • 61
6 votes
Accepted

Is there an active testnet for Bitcoin Cash?

Yes, there is. After many hours I eventually received blocks up to the present time. There is a working DNS seed at testnet-seed-abc.bitcoinforks.org (hardcoded in the Bitcoin ABC source) which ...
Nate Eldredge's user avatar
6 votes
Accepted

How to run Bitcoin Core both main and testnet on the same machine?

Do I need to run 2 instances on bitcoind / bitcoin-qt.exe for that? Yes. If bitcoin-qt is already running and on mainnet then open up a command shell and type: >bitcoin-qt -testnet This will ...
Willtech's user avatar
  • 3,289
6 votes

bitcoin testnet is mining about 50 blocks per minute right now - why?

There is an adjustment for the testnet when a block takes 20 minutes or longer to mine, it will adjust the difficulty down to 1. This was caused presumably because of the difference between blocktimes ...
JBaczuk's user avatar
  • 7,428
6 votes
Accepted

dumpwallet output documentation & explanation?

AFAIK there isn't any documentation of dumpwallet's output. You need to read the source code to know. I suppose I can just document it here though. The dumpwallet output contains comments. Comments ...
Ava Chow's user avatar
  • 71.5k
6 votes
Accepted

Bitcoin-qt getnewaddress returns address starting with 2

You are using testnet. Addresses starting with "M", "N", "2" and "tb1" are testnet addresses.
Zoy's user avatar
  • 76
6 votes
Accepted

How to configure a testnet node to be pruned?

The bitcoin.conf option must be prune=1000, not pruned=1000. If you specified the latter, it was probably ignored. You could reduce the number up to 550 (MiB), bitcoind won't start if you choose a ...
Lightlike's user avatar
  • 796
5 votes

bitcoin-cli commands like createrawtransaction not working with json on command line

When looking at the Bitcoin Developer Reference I saw an example where they use two additional '' before and after the list of inputs in comparison to you. For your input, I also got "Error parsing ...
Murch's user avatar
  • 76.9k

Only top scored, non community-wiki answers of a minimum length are eligible