Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

2
votes
2answers
227 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
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:...
5
votes
1answer
828 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
995 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 ...
3
votes
1answer
899 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 ...
1
vote
1answer
72 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
15 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
29 views

Most popular Bitcoin API gateway

I'm looking for well developed, maintained and stable API allowing to access bitcoin tesnet. Something like Infura for Ethereum. Googling gives many results, but can somebody point me out what is ...
0
votes
1answer
51 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
1answer
69 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
1answer
79 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
97 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
39 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
1answer
251 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
1answer
461 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
162 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 ...
0
votes
1answer
207 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
1answer
68 views

Is there a way to force fail the transaction in testnet network

I would like to test my application with all the edge cases. Could you please tell me is there a way to force fail the transaction in the testnet blockchain so I can test if my application handles ...
4
votes
0answers
619 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
0answers
350 views

Scrypt CPU miner supporting segregated witness (for Litecoin testnet4)

I am interested in CPU mining on the Litecoin testnet (testnet4); the difficulty level is currently low enough to make this feasible. The standard Litecoin client no longer supports CPU mining. The ...
2
votes
0answers
537 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
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
73 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
722 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
30 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
0answers
43 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
178 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
228 views

Bitcoin ABC stucked on connect to peer

So i have a testnet bitcoin cash that i just put txindex=1 (because a api requires this) and it stuck on block 1155875 and I restart the core and even follow the step in this thread: https://www....
1
vote
0answers
116 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
172 views

How do I host an testnet Electron Cash (Electrum fork) server or where can I find a working one that is online?

I have not been able to find any working nodes for Electron Cash in testnet. Does anyone know of an existing node that is up to date and matches the height of a tesnet Bitcoin Cash explorer: https://...
1
vote
0answers
108 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
187 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
421 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
931 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
540 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
158 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
46 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
0answers
35 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
43 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
54 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
13 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
89 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
29 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
0answers
19 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
21 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
0answers
35 views

test.bitpay account settlememt process occur or not?

I am new to bitpay payment gateway integration. Bitpay payment gateway integrated to my magneto eCommerce site. I have tested with testnet mode everything fine. But, test.bitpay.com account settlement ...
0
votes
0answers
43 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
343 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
0answers
80 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.