Skip to main content
Share Your Experience: Take the 2024 Developer Survey
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
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
  • 70.8k
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
5 votes

Why doesn't signet use a unique bech32 prefix?

It was discussed here. One of the co-authors of BIP325 stated: People think that the test networks should use the same prefixes so it was changed to match testnet. Perhaps this could be clarified in ...
Michael Folkson's user avatar
5 votes
Accepted

Will there be a testnet4? Or do we not need a testnet reset once we have Signet?

I don't think there is a clear answer to this yet. I suspect many are waiting to see whether Signet proves an effective replacement for testnet. (Signet is not yet merged into Bitcoin Core as of the ...
Michael Folkson's user avatar
4 votes

Should you be able to run a mainnet c-lightning node in parallel with a signet c-lightning node? What about an alternative Lightning implementation?

This was answered by individuals on IRC. It is perfectly fine to run any number of c-lightning nodes for any combination of networks as long as you keep home directories (--lightning-dir) and (--bind-...
Michael Folkson's user avatar
4 votes

How can I spend from a P2TR address on Signet with the Bitcoin Core wallet in 22.0?

This is a draft answer (incomplete). To get set up on Signet ie sync the Signet chain and claim some Signet Bitcoin, follow these instructions. (You can run a Signet node in parallel with your mainnet ...
Michael Folkson's user avatar
3 votes
Accepted

Should you be able to run a mainnet c-lightning node in parallel with a signet c-lightning node? What about an alternative Lightning implementation?

It is absolutely possible, running parallel networks will be even added as a GUI option in the next RaspiBlitz release (FOSS bitcoin - lightning node package) which will also make C-lightning ...
openoms's user avatar
  • 86
3 votes
Accepted

What is the history on how previous soft forks were tested prior to being considered for activation?

AJ Towns answered this on the bitcoin-dev mailing list. p2sh was briefly tested on testnet (and an alternative was tested on mainnet) https://bitcointalk.org/index.php?topic=58579.msg786939#...
Michael Folkson's user avatar
3 votes
Accepted

Where can I find taproot spend examples on testnet/signet?

As Pieter said in the comments there are Taproot test vectors that have recently been merged into BIP 341. You can also find additional P2TR spends on signet, testnet on block explorers e.g. mempool....
Michael Folkson's user avatar
3 votes

When using bitcoin-cli I get an error regarding fallback fees when trying to send regtest Bitcoin. How do I resolve this?

bitcoind uses transactions it relays (and later see as mined) to estimate the feerate to set for transactions its wallet creates. On regtest, you don't relay then mine enough transactions so bitcoind'...
Antoine Poinsot's user avatar
2 votes
Accepted

Can we experiment on Signet with multiple proposed soft forks whilst maintaining the ability of full nodes to validate the Signet chain?

The way Signet will likely address this is to have two classes of Signet full nodes. The first class of Signet full nodes will stay on a stable Signet version and only update once the proposed soft ...
Michael Folkson's user avatar
2 votes

When using bitcoin-cli I get an error regarding fallback fees when trying to send regtest Bitcoin. How do I resolve this?

You can set the fee rate easily when using named parameters: bitcoin-cli -regtest -named sendtoaddress \ address=bcrt1qd3jck0lv87yuk25tk3xy5rqq67apwasee874xk \ amount=25 \ fee_rate=100
schmijos's user avatar
  • 131
2 votes

When using bitcoin-cli I get an error regarding fallback fees when trying to send regtest Bitcoin. How do I resolve this?

You could enable -fallbackfee (as darosior says) but the easiest or quickest way to resolve this is to set a fee. In this example we are setting a fee of 1 satoshis per byte. ./bitcoin-cli ...
Michael Folkson's user avatar
2 votes

On signet of bitcoin core, why didn't the average time between blocks I mined accord with the time I set?

I spent some time figuring out what's going on in the miner script, and here's what I think I have understood so far: on a signet network difficulty adjustement is similar to what it is on mainnet, ...
Sosthène's user avatar
  • 643
2 votes

How can I get signet coins?

Get Signet coins Since Signet is centrally controlled, you only option is to get it from a faucet or ask for coins in the bitcoin-signet IRC channel. But depending on what is your goal, there are ...
DaWe's user avatar
  • 148
1 vote

How can I get signet coins?

Signet coins are worthless. They are used for testing Bitcoin software before deploying it on mainnet and protocol development experiments. The signet may be reset occasionally if any projects start ...
1 vote

Can you help me get started running a signet Lightning routing node with intended 100 percent uptime?

This is a draft answer. Alternative answers (as always) are welcome. Answers may become outdated over time. The time of writing is May 2023. For more guidance on getting set up with signet generally (...
Michael Folkson's user avatar
1 vote

Running a local testnet

Perhaps instead of running testnet you would prefer something like regtest? In order to do this, you can either run bitcoind like this: bitcoind -regtest or add regtest=1 in your bitcoin.conf file ...
ana408's user avatar
  • 47
1 vote

How to setup signet with bitcoin core locally

If you run bitcoind with the -signet flag you will not do IBD for mainnet, you will just do IBD for signet. The signet IBD will not take long to complete.
Michael Folkson's user avatar
1 vote

How should I go about allowing specific miners to submit to the network?

This is similar to how Bitcoin Signet operates. Signet was introduced in BIP-325, and the code is found in Pull Request #18267 which was merged into release v0.21 in late 2020. You can look at that ...
meshcollider's user avatar
  • 11.8k
1 vote
Accepted

What is the BOLT 10 realm byte for testnet and signet DNS node discovery?

There is currently no realm byte defined for testnet and signet. At least lseed.bitcoinstats.com and lseed.darosior.ninja don't support testnet nor signet.
Antoine Poinsot's user avatar
1 vote

Why i can still use the 'generatetoaddress' RPC with custom signet?

generatetoaddress doesn't actually have a restriction on which networks it operates on. You can use it on mainnet, it will just not find any blocks. The way that it is implemented is that it just ...
Ava Chow's user avatar
  • 70.8k
1 vote
Accepted

Error generate new block with signet test

You can't create blocks yourself for the global signet; it requires signatures by the parties running that signet. You can create your own signet, though, where you yourself are the signer. The ...
Pieter Wuille's user avatar
1 vote

What is stopping a Taproot spend following old Taproot rules (initially treated as anyone-can-spend) pre-activation creating a re-org post activation?

Of course Taproot isn't activated at all so all nodes would have treated my transaction as an anyone-can-spend and my transaction would easily have made it into a block. No, the new output types for ...
Murch's user avatar
  • 75.7k

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