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.

51 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
854 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 ...
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
496 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 ...
4
votes
0answers
647 views

To sign raw transaction in Segwit

I am using Bitcoin core 0.14.1 testnet. I created a Segwit address. transfer some coins to this address. Now I want to spend it. I created a raw transaction using console command i.e. ...
3
votes
1answer
939 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 ...
2
votes
0answers
556 views

Is there any testnet faucet site that sends out to bech32?

I am writing a wallet for the far future and I am planning to completely drop the support for receiving to P2PKH addresses. I don't want to add P2SH over P2WPKH either.
2
votes
2answers
248 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" ...
2
votes
0answers
84 views

Quantity of traffic on test network

I want to begin experimenting with bitcoin. I notice the estimated upload traffic for the real bitcoin network is around 200 GB per month. That's too much for an experiment. How much traffic per month ...
2
votes
0answers
74 views

Why are the first 514 blocks on testnet3 dated much earlier?

This is kind of an obscure question, but I'm curious. In playing with Testnet (version 3), I noticed an odd jump in the block times. Blocks 0 through 513 have block times from 2-3 February 2011. ...
2
votes
0answers
723 views

How to Install bitcoind 0.7.2 Server on Ubuntu for bitcoin-testnet-box

I am trying to setup a private test net with the source at: https://github.com/freewil/bitcoin-testnet-box However, it requires bitcoind 0.7.2 (the latest version is 0.8.0). I tried installing 0.7.2 ...
1
vote
0answers
63 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 ...
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 ...
1
vote
0answers
53 views

Mycelium Gear testnet confirmation

When I send payment to a testnet address generated by Mycelium Gear, it doesn't see the transaction even when it's included in a block. Blockcypher.com, blockexplorer.com, blockchain.info and ...
1
vote
0answers
185 views

How to check that Genesis Block has valid proof of work using CheckProofOfWork() function?

I have been learning the ins and outs of the bitcoin source code over the past 3 months but I can say I have not fully mastered it yet. I wish to understand how the genesis block is validated using ...
1
vote
0answers
125 views

Test vectors for bitcoin core (blocks and transactions) needed

I am looking for test vectors to test edge cases of an implementation. For instance: "Unusual" blocks that made it to the blockchain Non standard transactions that made it to the blockchain Anything ...
1
vote
0answers
116 views

testnet3 - unable to post txn using blockr or webbtc but can do using blockcypher. Also, transactions not getting confirmed. Why?

Tried to use blockr's Api to push transaction - using both online and shell tool - but I get this error: There was an error pushing your transaction to network! Did you sign your transaction? Is ...
1
vote
0answers
193 views

are we on testnet4 already, or is testnet simply down?

on popular sites such as blockr and blockexplorer, I see standard testnet addresses show up as "false" and the last transactions/blocks seem to be sending coins to a black hole(unspent, but not linked ...
1
vote
0answers
436 views

what is the bitcoin.conf for testnet3?

I need to use bitcoin testnet3 server for testing via php. bitcoin.conf rpcuser=bitcoinrpc rpcpassword=random string testnet=1 create JsonRpc object with easy bitcoin: $...
1
vote
0answers
54 views

Is it possible to run a simple attack on a previous version of the client in testnet mode?

I need to simulate an attack locally or in testnet (if possible) for academic purpose, on an old and bugged version of the bitcoin core client. I am in posses of test BTC in the last version. I want ...
1
vote
0answers
948 views

creating our own coin - connection refused error

We are trying to create our own currency. We first started with testnet. The aim is to generate a genesis block and testnet did it very well. However, although we had connection between two ...
1
vote
0answers
549 views

Cannot synchronize with Bitcoin in testnet mode

I downloaded Bitcoin-QT for Windows 7 into: MYUSERNAME/Downloads/bitcoin-0.8.6-win32/bitcoin-0.8.6-win32 I want to run Bitcoin in testnet mode, so I created bitcoin.conf with only the following ...
1
vote
0answers
162 views

Nonstandard script - TX rejected

I am experimenting in testnet with nonstandard scripts. There was a transaction, created by me, with the following vout script: OP_HASH256 ...
0
votes
0answers
30 views

Bitcoin rpc testnet balance and transaction not visible

I'm using bitcoind-0.15.0.1 version & My Wallet Address is: muweVvHKnK1bE88pUsrpSAPuWry1V1AmHZ But whenever checking balance with following command: bitcoin-cli getreceivedbyaddress '...
0
votes
0answers
20 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
0answers
28 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
0answers
19 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
0answers
29 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
55 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 ...
0
votes
0answers
125 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
61 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
0answers
89 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=...
0
votes
0answers
54 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 ...
0
votes
0answers
95 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 ...
0
votes
0answers
16 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
1answer
159 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 ...
0
votes
0answers
233 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
48 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?
0
votes
1answer
95 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 ...
0
votes
1answer
147 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
47 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
22 views

How to Send BTC from vmnode address to local address using privatekey in testnet?

I created two bitcoin address in VM nod as well as local and dump privatekey for both addresses by using "dumpprivkey" command. Is there any posibitity to send BTC from bitcoin address which is ...
0
votes
0answers
25 views

BitCoin not signed in when trying to CreateInvoice

In code bellow I'm trying to create Bitcoin payment: var privateKey = "f267c05d4552b92825e46cfe056d6e3ff36072538f71d8c5acf3ebc4b09f4c87"; var key = new Key(Encoders.Hex.DecodeData(privateKey));...
0
votes
1answer
285 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 ...
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:...
0
votes
0answers
45 views

Failing to send a testnet transaction manually

I use Ken Shirriff's post on how to manually create and send a transaction, and I tried to adjust it to work with testnet. AFAIK after adjusting to the testnet addresses, no further adjustments should ...
0
votes
0answers
356 views

Bcoin node and testnet faucet

I started bcoin in daemon mode (s I understand it is the same as full-node) with specifying network: testnet. As I understand it connected to the world-wide testnet. Now I want to get some test BTC. ...
0
votes
1answer
492 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
211 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: ...
0
votes
0answers
82 views

How to send an invalid transaction for testing purposes?

How could I send an invalid transaction—for testing purposes, such as with testnet or regtest? For example, I would like to to try to double-spend, spend non existent coins, etc.
0
votes
1answer
167 views

Import testnet address in bcoin

I´m trying to import a watch-only address to my bcoin node using cli (testnet). My config looks as follows: [....] # # Options # network: testnet # # Node # prefix: ~/.bcoin-testnet db: leveldb ...