Questions tagged [testnet]

This tag should be used for questions regarding the third Bitcoin testnet. The testnet is a network separate from the main Bitcoin network that allows developers to attempt modifications of the bitcoin protocol safely and test in-development software without risking money.

Filter by
Sorted by
Tagged with
1 vote
0 answers
34 views

In electrum, how do I set --testnet by default via setconfig?

As part of a Docker container, I am pre-configuring the Electrum daemon with using setconfig in offline mode. How do I set --testnet by default as a configuration?
  • 183
3 votes
1 answer
47 views

How to resolve error when trying to sign and broadcast PSBT transaction via electrum - (Witness program hash mismatch code -26)?

I'm trying to generate a 2-of-2 multisig transaction as a PSBT so that both parties can easily sign their transaction. I'm doing this all on btc testnet as a p2sh p2wsh transaction When initially ...
0 votes
0 answers
28 views

How long does it normally take to set up a test node? How much of your disk is utilized?

I did a complete factory reset on my computer and simply started over. I have a Aorus 5SE with windows 11. I am using VirtualBox 7.0.6 and Ubuntu 20.04. My new virtual machine has 4GB of base memory, ...
7 votes
2 answers
236 views

Why doesn't signet use a unique bech32 prefix?

I noticed that signet and testnet both use tb1 addresses. Why doesn't signet use a unique prefix that distinguishes it from testnet?
1 vote
1 answer
82 views

Unable to use UNIX timestamp for locktime on testnet

I am trying to create a timelock transaction, but I am unable to use a UNIX timestamp on testnet. However, if I use a block height the transaction works. When I use a block height that is in the ...
0 votes
1 answer
34 views

Is it possible to import a LN snapshot into the regtest network (possibly pruned version)?

I am currently writing a bachelor thesis where I plan to conduct some experiments on regtest network to evaluate how effective a particular rebalancing algorithm performs compared to currently used ...
0 votes
1 answer
92 views

Open channel (LN) in Electrum testnet is not accessible?

I use Electrum wallet (version 4.3.2) on tesnet (apple desktop). The testnet balance is 0.02 tBTC. Under the 'Channels' tab, the option 'Open Channel' is there but it is not clickable. Is LN testnet ...
  • 285
2 votes
1 answer
64 views

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

How were previous soft forks tested prior to being considered for activation? Were they added to the default testnet? Was a custom testnet setup with the soft fork functionality available on that ...
2 votes
1 answer
114 views

Running a local testnet

a newbie bitcoin researcher here. For my first work I need a local bitcoin network on which I have as much control as possible. I have a windows machine. For example - I need to control the number of ...
2 votes
2 answers
207 views

Bitcoin core sync stuck with an error "peer=X is stalling block download"

I have installed bitcoin core (23.0) on a virtual machine (Debian GNU/Linux 10, x86_64) and tried to start the testnet initial block download. Unfortunately,a few days ago blockchain sync is stuck on ...
1 vote
1 answer
63 views

NBitcoin in C# MVC App Gives Me A WitnessProgramMissmatch Error When I Try to Build The Transaction

I am writing tests for an app I built that uses NBitcoin to send bitcoin and make bitcoin transactions. I have the following code to create fake bitcoins for an integration test: private ICoin[] ...
0 votes
0 answers
125 views

Why my node1 can's sync from the other node through RPC command "addnode IP:port onetry"?

I'm using bitcoin core 22.0 to start two nodes in two different containers in the same VMware ubuntu18.04, with network mode using Host-Only(I will talk about the reason later). What my aim to do so ...
  • 31
2 votes
1 answer
157 views

How to configure a testnet node to be pruned?

I have a testnet VM node running. As I have only limited resources, I did set pruned=1000 in the bitcoin.conf file, so the blockchain is pruned down to 1GB. But when I run bitcoind and it downloads ...
  • 323
0 votes
1 answer
83 views

Where to look for the lost BTC

My Tx on btc-testnet seems not transact all the BTC, but there's no UTXO back to my address. How to find the rest of the BTC? Tx 7e0cc1e5c944355e6d448de19a67421eef2a6b4ca4ed58fcd990ce75f66d07a9 1 ...
  • 35
1 vote
1 answer
140 views

Dust threshold for Testnet

I want to find a dust threshold following this answer: https://bitcoin.stackexchange.com/a/86069/134293 Actually I have a list of transactions coming from listsinceblock in which there are Testnet ...
0 votes
1 answer
49 views

Does testnet block 855996c9444827112b68c0606d8dfec62385d1b3448e412bc1c721633a641669 discard the block reward?

I am poking around in the testnet blockchain, and I saw a block mined recently where the outputs added up to just 0.04953672 BTC. Since there is no output for the 50BTC block reward, does that mean ...
  • 147
0 votes
0 answers
27 views

Unknown new rules activated (versionbit 1) when running Core v22.0.0 on testnet [duplicate]

I have got "Unknown new rules activated (versionbit 1)". I am running Bitcoin Core v22.0.0 on testnet. This seems to be the last version as of today (April 17 2022). I am running a taproot ...
1 vote
0 answers
199 views

Looking for Lightning Testnet Wallet with Lnurl capabilities

I'm looking to test an lnurl withdrawal. I created an lnurl withdrawal url using the OpenNode api. I have an htlc.me testnet lightning wallet. But it doesn't seem to have a way to input lnurls. Is ...
0 votes
1 answer
266 views

Private keys for mainnet vs testnet

If I have valid private key to use on Bitcoin mainnet, can I use the same key to generate addresses and spend on testnet? If so, is this encouraged, or should one generally keep separate keys to use ...
2 votes
0 answers
115 views

"Non-mandatory-script-verify-flag (Invalid Schnorr Signature)" on testnet

I'm using the FROST algorithm to create a threshold signature for some taproot output (using this code). When I tried using it on the testnet, it works most of the time but from time to time I would ...
  • 75
1 vote
2 answers
318 views

Port 9735 for both MAINNET and TESTNET

The default port for the Lightning Network is 9735. This is the case not only for nodes on MAINNET, but also for nodes on TESTNET. Why is that? What's the purpose of this? Wouldn't it make more sense ...
0 votes
0 answers
47 views

Bitcoin transactions towards and from a Taproot

I am trying to solve a problem that was given to me as study material for a coding test. The problem requests the following: Create two Bitcoin transactions in testnet, one spending towards a Taproot ...
2 votes
1 answer
89 views

Bitcoin testnet addresses

Why bitcoin addresses in testnet are not the same as in mainnet? For example ethereum address in mainnet can be used in testnet's (ropsten, rinkeby).
  • 21
0 votes
0 answers
76 views

BTCPay Server with lightening over testnet - Payment issue

I have recently deployed btcpayserver over testnet to demonstrate the user experience to my colleagues. Lightening Implementation: LND Following are setting Every thing seems ok I can see the service ...
  • 101
1 vote
1 answer
59 views

Understanding zmq notification output

I wrote a blockchain listener program for my testnet node. It's working fine and the output size of new transactions matches the ones monitored by blockchain.com. The output looks like this: No: 476 ...
  • 323
0 votes
1 answer
110 views

Help decoding transaction on bitcoin testnet

I'm trying to learn more about bitcoin and I'm trying to decode a transaction I made to myself on testnet and I can't seem to figure out a couple of things Here is the output of getrawtransaction: ...
2 votes
1 answer
310 views

How to get all ip address of nodes in bitcoin testnet

There are many service to get all fo the ip address in bitcoin mainnet but I can't find the similar way to get all ip address in testnet.Is there a way to do it?
  • 21
1 vote
1 answer
126 views

Issue when broadcasting Taproot transaction to older nodes

I'm trying to broadcast a Taproot transaction to random nodes across the network (Testnet3). When I try to broadcast to older nodes like 0.18.0, I get the error "Witness version reserved for soft-...
user avatar
3 votes
1 answer
260 views

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

I am in the middle of writing some Taproot libraries and would like some testnet/signet p2tr spends. Is there an easy way to find them? Most explorers don't have any filters like that. Even a list of ...
  • 7,699
0 votes
0 answers
37 views

Connection Reset after sending mempool message

I build a python script to talk to bitcoin test nodes. When I'm sending mempool messages, my connection is getting is reset. Also sometimes when connecting to Jimmy Song's testnet node (testnet....
0 votes
0 answers
120 views

bitcoin-qt -testnet wallet dumped error EXCEPTION: NSt8ios_base7failureB5cxx11E

I got an error message but don't understand what to do now, to fix this. ************************ EXCEPTION: NSt8ios_base7failureB5cxx11E CDataStream::read(): end of data: iostream error ...
3 votes
1 answer
101 views

History of Bitcoin's Networks

Bitcoin main net was launched on January 3, 2009 at 19:15:05 UTC. But what is the history of the two other network options in Bitcoin: testnet and regtest? I think testnet is on version 3, what was ...
1 vote
2 answers
78 views

What are the various Bitcoin nodes available which I can connect to via my lightning node

I am thinking of running my own lightning node in testnet. Going through the tutorials it seems the lightning node needs to be connected to bitcoin node inorder to get connected to bitcoin network. ...
1 vote
1 answer
36 views

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

BOLT 10 describes a node discovery mechanism based on DNS. The query semantics include a realm byte that is 0 by default (Bitcoin). What is the realm byte for testnet and signet? This question was ...
2 votes
2 answers
182 views

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?

Running mainnet, testnet and signet Bitcoin Core full nodes on the same machine/same VM works fine. Is running say a c-lightning mainnet node in parallel with a c-lightning signet node on the same ...
0 votes
1 answer
113 views

Select a fee based on confirmation time. How to implement it?

I'm developing a client on nodejs which connect to a bitcoin core node through JSON-RPC. I want the user to be able to select the fee they want based on the time (the same way bitcoin core GUI does it)...
  • 11
5 votes
2 answers
1k views

How to make a taproot transaction with bitcoin-cli?

Can you give a simple step-by-step example for a taproot transaction with bitcoin-cli on Testnet?
0 votes
1 answer
154 views

Blockcypher new transaction request returning more than input and output

I am new to Bitcoin and Blockchain, and Blockcypher.. I am trying to use Blockcypher APIs to create (and sign) and send a transaction (on testnet). The request i provide has 1 input and 1 output, but ...
  • 113
0 votes
2 answers
152 views

i received BTC on testnet and the sender said that it is de-activated..it will be activated after I pay a certain fee? [duplicate]

a trader sent me 2 bitcoins on testnet to show that i will receive more after they activate it...I have to pay a certain fee before they activate it
0 votes
0 answers
80 views

P2TR outputs on testnet [duplicate]

Anthony Towns shared that Taproot is activated on Testnet. I am not sure if we can create P2TR outputs easily on Testnet right now based on this Q&A by Michael Folkson: How can I spend from a P2TR ...
user avatar
0 votes
0 answers
87 views

How can I mine a block, in C#, on a new Testnet network where no other miners exist?

I want to demonstrate how to use NBitcoin or the most simple C# function to collect transactions for use in a block then sign that block submit it into the Bitcoin-QT network client on the RPC port? ...
1 vote
1 answer
138 views

How to test RBF on Testnet?

I'd like to do RBF testing on testnet. I'd like to simulate a transaction with too-low fees, aka "stuck" transaction, and then RBF it in various ways. Problem is, all testnet transactions ...
  • 133
3 votes
1 answer
206 views

Bitcoin-qt getnewaddress returns address starting with 2

I am expecting it starts with '3' the the results below: getnewaddress "" "p2sh-segwit" 2NFcKJTPZs1syYhwaBkXty6Vt6FEKxD3HTC Is this because I am running on a private block chain?
  • 175
1 vote
2 answers
182 views

Testnet3 app will not sync to peers

I was just trying to connect testnet3 to my own testnet node through the "trusted peer" and "skip regular peers" settings, but it seems that in this way it cannot connect to a ...
4 votes
1 answer
431 views

No path found when connected to the same node

I'm trying to understand how the lightning network works in practice, so I figured I'd just use some Electrum wallets on testnet. So here's what I did: set up two wallets funded them with some tBTC ...
  • 143
0 votes
1 answer
248 views

Changes for bitcoin.conf file and details on the testnet network bitcoin-core

I have installed bitcoin core testnet and it is now synchronized with the network after 24 hours. My question is about bitcoin.conf file. I will tell you the procedure I used to install: I created the ...
0 votes
0 answers
47 views

How to leave the Bitcoin testnet?

My BitcoinCore client says it's on the testnet. I've done nothing to configure this. How do I change it to do real Bitcoin transactions and wallets? Also, every time I shutdown my PC the client had to ...
  • 101
4 votes
1 answer
3k views

dumpwallet output documentation & explanation?

Where do I find complete documentation on what the console command "dumpwallet" output means? Sample of my testnet output: # Wallet dump created by Bitcoin v0.21.0 # * Created on 2021-01-...
  • 186
0 votes
2 answers
106 views

What is the maximum channel capacity allowed on the Bitcoin testnet?

Using Electrum desktop wallet connected to the testnet, when trying to open a channel with the amount exceeding 0.16777215 BTC I get the following: Could not open channel. Exception('Requested ...
0 votes
1 answer
160 views

Error while broadcasting the raw bitcoin testnet transaction

I am trying to create a simple P2PKH raw bitcoin testnet transaction from the scratch. Here is the information about the transaction: hash of the UTXO consumed - ...
  • 103

1
2 3 4 5
8