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
0
votes
1answer
274 views

How to use litecoin testnet on fully synced litecoin core on amazon ec2 instance

I run a synced litecoind on amazon ec2 linux instance. [ec2-user@ip-xxx-xx-xx-xxx ~]$ litecoind -version Litecoin Core Daemon version v0.13.2.1 [ec2-user@ip-xxx-xx-xx-xxx ~]$ litecoin-cli ...
5
votes
1answer
1k views

Cannot create a transaction

I am trying to create a transaction on the bitcoin testnet, using bitcore: Error Message : SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data Here is my code: var ...
5
votes
1answer
489 views

Test Network Genesis Block

I am using BitcoinJ for my java application which fetches the test network's genesis block. I referred to the basics mentioned at JavaWorld and BitcoinJ's Google Code wiki. I am able to get it ...
3
votes
1answer
925 views

Building Signed Bitcoin Transaction in Java

I have been attempting to build my own raw transaction generator in Java which I can then broadcast on the testnet network. The problem is when I attempt to broadcast the transaction it says there is ...
0
votes
1answer
13 views

How did I get a Test net

I was downloading bitcoin for the first time and during the last 3 minutes while doing some other work on my computer, something about an interruption flashed and then it looked as if nothing had ever ...
1
vote
1answer
81 views

I can't send a transaction from electrums cli

I am trying to send a transaction in the cli using electrum with the command ~$ electrum --testnet payto mvYrQck9VfujSanmwvQxiLab3fLuywGdvh 0.01 -f 0.002 Password: (I entered the correct password ...
0
votes
1answer
147 views

testnet.blockchain.info api not showing latest results?

I sent a transaction to the testnet address mzWCWQU6phb9rKSAiQ4FBU92sGYtY7tjPH a few days ago and I have been using the testnet.blockchain.info api for a while now in my project. It was working fine ...
5
votes
2answers
139 views

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

What are the key differences between regtest and the proposed signet? One of the key differences is that using regtest is not ideal for public networks as anyone anywhere can just rewrite the ...
0
votes
1answer
484 views

Blockchain.info testnet websocket doesn't work

When I try to connect testnet websocket provided by blockchain.info api. Connection doesn't establish, when i looked into the code. It says for testnet it uses "wss://ws.testnet.blockchain.info/inv" ...
0
votes
1answer
92 views

Bitcoin-qt -testnet 0.17.1 Send and Receive buttons do nothing

Fully synced on testnet blockchain after building Bitcoin with UI and wallet enabled on Ubuntu 18.10. Pressing Send and Receive buttons results in no UI displayed. Receiving addresses dialog doesn't ...
5
votes
1answer
850 views

Creating Mining Competition on regtest

As we know , Bitcoin core-Regtest is used to set up our own blockchain starting from Genesis Block. I have created Two nodes on my localhost running on different ports (I am using Windows 8.1). They ...
0
votes
0answers
18 views

How to connect to bitcoin daemon running in VirtualBox using RPC?

I am running the bitcoin daemon with the following config in VirtualBox: testnet=1 daemon=1 server=1 txindex=1 mintxfee=0.001 txconfirmtarget=1 rpcuser=lubo rpcpassword=vranka rpcport=18332 ...
0
votes
1answer
52 views

Bitcoin Testnet API that allows transaction lookup and submission of raw transactions

I'm looking for a well developed, maintained and stable API allowing to access bitcoin testnet. Something like Infura for Ethereum. Googling gives many results, but can somebody point me out what is ...
1
vote
0answers
14 views

How to use Bitcoin Testnet2 [duplicate]

I am looking to mine bitcoins with ease. But, first, I want to know how can I access an earlier testnet (testnet2). I have future plans to do this. I need to know how to open it up on the command line ...
4
votes
2answers
397 views

Is the Testnet stable?

I have been recently playing with the testnet (using bitcoin-qt -testnet). I have been able to mine a few coins and do some test transfers, but I have found some problems: The coins appear sent, but ...
0
votes
0answers
27 views

Can I use an earlier version of testnet?

I am looking to mine bitcoins with ease. But, first, I want to know how can I access an earlier testnet (testnet2). I have future plans to do this. I need to know how to open it up on the command line ...
0
votes
1answer
25 views

How do I broadcast an OP_RETURN transaction using bitcoin cli

I am using Bitcoin Testnet's command line (and GUI). I am curious how, using my own computer and equipment (I already used a faucet) I could send a transaction easily. I tried https://github.com/...
0
votes
1answer
29 views

c-lightning - Unknown Peer

I'm trying to create a channel using c-lighting (testnet), but I keep getting an Unknown Peer error message. I used cli/lightning-cli connect which seemed to work fine. I used cli/lightning-cli ...
0
votes
1answer
134 views

How find own address in testnet using bitcoin-cli?

I have bitcoin-core installed, I am running it in testnet mode. Now if I want to fund my wallet, I need to know the receiving address. How do find my receiving address, so that I can fund it and then ...
0
votes
1answer
20 views

looking for faucet API so i could use it for tests - Automated faucet

i would like to make some tests on test net, the issue is every time i have insufficient fund in my wallet i need to find a faucet and manually add funds. i would like to create an automatic faucet ...
0
votes
1answer
41 views

ScriptSig does not validate with seemingly valid signature

I am trying to build raw transactions from scratch to improve my understanding. For comparison I am using the hexoutput from https://coinb.in/ as I can choose Testnet on there. I am trying to ...
0
votes
0answers
16 views

Bitcoin testnet node crashes after getting fully synced

I have set up a bitcoin testnet node in ubuntu . It gets fully synced, after that the node crashes and shows this error "***SOCKET SENDING TIMEOUT***" in debug log. Ubuntu version - Distributor ID: ...
0
votes
1answer
45 views

Can I send BTC from other node or wallet with my address?

I'm trying to send bitcoins from node2 with my address using private key noted that my address is created in node1.I followed this link: "https://en.bitcoin.it/wiki/How_to_import_private_keys" I dump ...
0
votes
0answers
27 views

What are the Advantages of Mainnet over Testnet?

In recent days most of the ICO's starting with test net then developing their own block with mainnet. I don't know why they are doing this. What are the reasons behind this starting with testnet and ...
0
votes
1answer
27 views

These testnet outputs are not making sense to me

Today I took some time to mess around with the bit Python library, which I find pretty easy to use. I have been wanting to do some Bitcoin programming for a while, so I decided to create a simple web ...
3
votes
3answers
2k views

How to get Electrum 3.1.3 on bitcoin testnet?

I'm building an application on bitcoin and want to use testnet instead of using real bitcoins to do my test. I'm mainly using Electrum-3.1.3 to do sweeping of addresses. But how can I switch this to ...
0
votes
1answer
58 views

System requirements for running a Bitcoin Core node on testnet

What are the minimum systems requirements for running a Bitcoin Core full node on testnet?
2
votes
1answer
24 views

Lightning Network on testnet - listchannels and listnodes returning empty values

I have setup a lightning node on testnet using c-lightning. The lightning-cli getinfo command output: { "id" : "0315a5746114ab9f3e8f0a3f2f73153ef1e4a8fb58daa54fa97c9603dfab989a30", "alias" : "...
0
votes
1answer
59 views

broadcasting error for raw bitcoin transaction testnet

I am trying to create a raw transaction and send it to the testnet. I am using testnet keys and here is the simplified readable output from my script: decoded private key: ...
0
votes
2answers
163 views

Where can I get bigger amount of test BTC?

We are conducting some testing with the end users of our application and I need a bigger amount of test BTC for it. Using faucets, I can get 0.1 or 0.01 per request with captcha, but I need something ...
1
vote
0answers
57 views

Enable dustRelayFee behavior on testnet to get error code 64: dust

Crafting and sending an utxo of 1 satoshi does works and get mined on testnet without error. However on mainnet the error code 64: dust arise. I understand the basic idea that you are not able to ...
5
votes
2answers
13k views

How to generate a testnet address?

Bitcoin addresses can be generated on this site https://www.bitaddress.org, but the test network needs m or n at the beginning of the address, where can those be generated?
0
votes
0answers
101 views

Connection Refused when running bitcoind in a non-root user and trying to make RPC calls

I'm new to Bitcoin development and I'm currently having difficulties trying to make RPC calls to a Bitcoin-Core daemon running in a SSH server. I suppose that the problem is with Firewall or closed ...
0
votes
1answer
209 views

bitcoin testnet daemon stuck

I am running bitcoin testnet daemon for development, but lately I have trouble with starting the daemon. Blockchain is downloaded and it seems that everything runs fine till init message: ...
2
votes
2answers
243 views

Double spending on testnet or regtest?

I'm currently doing a research on bitcoin and I would like to know if there is anyway to replicate double spending in the testnet or regtest? If isn't possible is there any other type of "attacks" ...
0
votes
1answer
72 views

how to differentiate bitcoin-cli command when have testnet & mainnet both running

I have bitcoin testnet3, mainnet, regtest both running in the same server, I can interactive with them by curl, because the ports are different, but when comes to bitcoin-cli how can I specific the ...
0
votes
2answers
1k views

How can testnet CashAddr addresses be converted back to the old format?

I noticed on the new update of the Bitcoin Cash wallet (BitcoinABC) (for testnet and not sure for mainnet) that it has a weird beginning and address (e.g. bchtest:...
1
vote
1answer
22 views

Child Pays for Parent transactions get stuck on testnet

I'm building a service prototype by reusing Electrum code and generated 4 consequent transactions which are CPFP type on the testnet. They are staying unconfirmed for several hours but test ...
0
votes
0answers
72 views

bitcoind localhost port 18332: Connection refused Ubuntu 18

Trying to connect to testnet using curl from localhost on ubuntu server. Tried lots of combinations of bitcoin.conf and ports. Here's my config: server=1 daemon=1 testnet=1 rpcuser=user rpcpassword=...
3
votes
1answer
67 views

Could a transaction hex on testnet theoretically be valid on mainnet?

For all practical intents and purposes it seems a testnet tx hex could never be valid on mainnet because of the prev tx hex present for all inputs used in the tx. However, let's say that by some ...
5
votes
1answer
318 views

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

The problem with Testnet is all types of transactions are allowed, so how can I know if a transaction would be rejected on mainet ?
0
votes
0answers
50 views

How to assemble and test a script on Bitcoin testnet online?

Given a script using Multisig, how can I convert addresses to hash that can be used in the script then assemble the script and then launch it inside a transaction on Bitcoin testnet that can viewed on ...
-1
votes
1answer
115 views

How to setup a testnet full node on Windows 10?

I'm trying to implement an SPV and I'd like to test it on a testnet full node but can't really understand how to do it from what I've found.
0
votes
0answers
88 views

Testnet APIs for bitcoin sv?

I'm trying to write code in nodejs that can check balance of an address and send transaction. I'm using the bsv library in nodejs, and I'm stuck at 2 parts which concern to interacting with the ...
1
vote
1answer
114 views

getbalance and listaddressgroupings inconsistent

I imported a private key from my electrum wallet (testnet) to bitcoincore (testnet) as follow: In my electrum wallet, I copy the private key associated to the address ...
1
vote
1answer
96 views

Negative number of confirmations for a testnet transaction on blockexplorer

I am curious about the test transaction f72f59a32c1bac47ec87bc3678ec44e98eece5e235d29d79cd1f5461ccc5bf38. Depending on which site I view this transaction, the number of confirmations is positive or ...
0
votes
0answers
14 views

Is their a way to use Bitcoin's Testnet/LN Testnet within CLI without downloading Bitcoind?

I'd like to start working with Bitcoin's & Lightning's Testnet but don't want to download bitcoind on my current computer.
0
votes
0answers
206 views

How to perform CPU mining on bitcoin TESTNET on Linux?

I need approximately 100 Bitcoin Testnet to run an experiment on the lightning network. Any suggestion on how to run CPU mining? Should I use cgminer? Make any sense to perform solo mining on ...
0
votes
0answers
44 views

Where would I test the Liquid Network at testnet?

I would like to test Liquid Network functions with recently announced Liquid Core. Can be Liquid Network used for Bitcoin testnet?
4
votes
1answer
828 views

Does the bitcoin testnet3 network support Segwit and OP_CSV?

As far as I know, Segregated Witness and OP_CHECKSEQUENCEVERIFY are the last features needed to be able to fully implement a trustless bi-directional payment channel, from start to finish. (...