Stack Exchange Network

Stack Exchange network consists of 174 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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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.

1
vote
3answers
163 views

bitcoin testnet is mining about 50 blocks per minute right now - why? [duplicate]

The bitcoin test network is mining about 50 blocks every minute for the last several hours. What is going on? You can see here: https://www.blocktrail.com/tBTC
0
votes
0answers
17 views

Can't specify rpcport for testnet

Was there a recent change where it is no longer possible to specify rpcport? I noticed these two warnings: Warning: Config setting for -addnode only applied on test network when in [test] section. ...
0
votes
1answer
27 views

While attempting to fetch a particular block my node just gets disconnected by peers?

A system at an office has its testnet node stuck at a particular block. The logs report "requesting block" over and over again for the same block and after each one reports "socket recv error" and ...
0
votes
1answer
31 views

How to Build Block Header in stratum?

When I studied the stratum on here,I found that there were little difference between the stratum and solo mining for building block header. The stratum tell us that we needed to pad the header to ...
0
votes
0answers
37 views

Bitcoin testnet transaction getting dropped with prefix on S

So a weird thing is happening lately. The transaction of a particular format is being accepted by blockcypher but it is not getting confirmations, and therefore gets dropped after a day. So the ...
1
vote
0answers
20 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 ...
0
votes
1answer
33 views

What happened to Bitcoin testnet? [duplicate]

What happened to Bitcoin testnet? Confirmation time is very short. 10 confirmation occurred in three minutes. I use Bitcoin core v0.16.0 (64-bits)
4
votes
1answer
186 views

Testnet difficulty change

Has something changed recently in testnet? Today I've been seeing new blocks appear every 1-5 seconds instead of the usual 10-20 minutes
1
vote
1answer
74 views

How to specify testnet via curl against json-rpc?

The testnet=1 option can be (not) specified in the bitcoin.conf file (thus causing it to be on mainnet by default), and this can be over-ridden in bitcoin-cli with the -testnet command-line option. ...
0
votes
1answer
62 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
0answers
11 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
1answer
80 views

How to import private key on testnet and verify balance of wallet?

I have a python library to create wallets and play around with private key generation and stuff like that. But i can't find any service / wallet - preferably online - where i could import my ...
0
votes
1answer
77 views

What Is the difference between the testnet and the mainnet?

I have been seeing some questions about the testnet but what is the testnet? Is the mainnet the one we normally use? What is the difference?
1
vote
1answer
203 views

How to generate a Litecoin testnet addresses (Segwit also) (Derivation path, bip32)

I'm creating a wallet that generates address for litecoin mainnet in two ways. One is using bitcoinjs-lib. This library has an object with all the data need it to create private keys and address: ...
3
votes
1answer
252 views

How to reset bitcoin testnet

I'm running a private bitcoin network and would like to reset the bitcoin blockchain data back to the genesis block. I've tried deleting all the files in ~/.bitcoin/blocks and ~/.bitcoin/wallets ...
1
vote
1answer
122 views

Creating Testnet Bitcoin Transaction with bitcoinjs-lib

I'm trying to setup a simple bitcoin testnet transaction using the bitcoinjs-lib npm module. It seems like I'm building the transaction correctly, and I receive the hex code but I think I'm unable to ...
1
vote
1answer
36 views

Special min difficulty rule for testnet

I heard about this "special difficulty rule" for testnet, which allows blocks with timestamp 20 min later than the last block to have the min difficulty target. So does it mean that the miners can ...
1
vote
1answer
44 views

Bitcoin daemon Error: Invalid combination of -regtest and -testnet

How to solve above title problem? I first started with bitcoin as regtest. Now I want to launch bitcoin as -testnet. So I did like root@q352-3023-vps:~/.bitcoin# bitcoind -testnet -daemon but ...
0
votes
1answer
101 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
21 views

Why is the value of the input way higher than the output resulting in a second change output? [duplicate]

Background: I'm experimenting on the LTC testnet client. My client has a balance of 0.4 LTC and I sent 0.1 LTC to another wallet address. https://chain.so/tx/LTCTEST/...
0
votes
1answer
332 views

How to use bitcoin testnet wallet

I have a simple use case. I want to send some testnet coins to my testnet wallet and be able to see it in bitcoin-core in testnet mode What I did so far: 1. Go to File-->Receiving address. ...
0
votes
1answer
54 views

bitcoinTestnet Network returning a mainnet address

I'm using this code to get a new address from an extended public key: $index = 97; $change = false; $key = HierarchicalKeyFactory::fromExtended($tpubaddress, NetworkFactory::...
1
vote
1answer
24 views

Fail to encrypt scriptPubKey in testnet

I have the following testnet wallet address: 2MsQEtPJ6JJZszMYrD6udjUyTDFLczWQrv9 Which I am trying to encode as pubkeyhash to the coinbase TX in testnet. When i run decode58, I get this ...
0
votes
1answer
92 views

Basic Concept of Bitcoin (public and private) Keys

Can anyone please tell me the difference in the following Bitcoin terms? Difference between xpriv and xpub Difference between xpub and tpub. Difference between ypub and upub. Difference between ...
1
vote
1answer
96 views

How does bitcoin functional test framework work?

Could someone explain how and where in the code the bitcoin test framework calls map to C++ bitcoin core code or RPC calls such that regression suite tests the bitcoin core functionality? Background ...
0
votes
1answer
162 views

testnet3 node sync process is very slow

My config file is similar to this: testnet=1 blocksonly=1 rpcport=5000 server=1 listen=0 prune=1000 dbcache=16000 rpcallowip=0.0.0.0/0 rpcuser=someuser rpcpassword=somepass I have started the ...
1
vote
3answers
277 views

Bitcoin config file to setup bitcoin node in testnet network in ubuntu

I am new to blockchain, I want to setup my node in testnet network in my ubuntu machine. I am using this below mentioned bitcoin.conf file. Is this the correct format to sync the node faster? Or I ...
0
votes
1answer
182 views

what is blockchain.info testnet api url?

there is a testnet for blockchain.info here but I can't find a url for calling api(s) in testnet as such we have in main network on main network https://api.blockchain.info/v2/receive?xpub=$xpub&...
0
votes
1answer
28 views

Differents explorers arent synchronized

I have this testnet address: yehZoVH57FwDFC7vBRGK5ptuYHG9DfL2cf I had used this faucet twice: http://test.faucet.masternode.io/ When I access this explorer: https://test.insight.dash.siampm.com/...
0
votes
0answers
100 views

Bitcoin SPV-based wallet using Cordova Ionic and bitcoinjs-lib

I am trying to build SPV-based bitcoin wallet app using Ionic Cordova. I want to integrate the bitcoinjs-lib in Ionic app, to implement the full wallet functionalities and transactions in peer-2-peer ...
0
votes
1answer
35 views

How to Sync Main Net together with Test3 Net

After I install the bitcoin core, it just sync the main net. Is there a way that I can also sync the test3 net for testing/developing purpose?
0
votes
1answer
255 views

Why can't coins be sent from testnet to mainnet?

Why prevents bitcoins from being sent from the testnet to mainnet?
0
votes
0answers
42 views

Nodes snapshot for Bitcoin testnet

Bitnodes provides regularly updated snapshots of Bitcoin mainnet peers. Where can I get analogous snapshots for the testnet?
2
votes
1answer
73 views

**SOLVED** Failed to verify this transaction?

I came across this P2SH multisig transactions 255942b1... on the testnet chain that I failed to verify. I just couldn't find any matching signatures and public keys in the list provided and there ...
0
votes
1answer
138 views

Cannot broadcast bitcoin testnet transaction

Error validating transaction: Error running script for input 0 referencing 9a2cd138476c598cced94a6c8bd6c8b2c6a268a763700d654324614aff799ceb at 0: Script was NOT verified successfully.. My transaction ...
0
votes
1answer
181 views

How to set up a private chain/local testnet : reverse engineering the blockchain code

Long story short, I want to set up a private chain/a testnet blockchain that can run locally just to fiddle and play with it just to learn how it works. So I have a general understanding of how things ...
0
votes
1answer
111 views

Is there any way to receive Bitcoin Testnet payments?

I'm currently working on the implementation of an ERC_20 Token on the Ethereum blockchain. However, I want to allow users to pay with BTC as well. I've already found several services which give me ...
0
votes
1answer
260 views

bitcoin-cli says transaction amount and balance are 0, but that's not the case

I imported a few TestNet addresses and sent some funds to one of them. When I run bitcoin-cli getaccount mvKoQLrzovNbgALa2D7prh9pagd2QUKpWo it responds with the account I named it to. I sent 1....
0
votes
1answer
164 views

How to run Bitcoin Core both main and testnet on the same machine?

How to run Bitcoin Core both main and testnet on the same machine? I want to be able to communicate with both block-chains via RPC. Do I need to run 2 instances on bitcoind / bitcoin-qt.exe for that?
0
votes
1answer
239 views

testnet addresses on bitcoin [duplicate]

I was wondering how testnet addresses like https://testnet.blockchain.info/address/myaj43o2wt34j31ej5pmP6htCHFafAKoeP are created? Also is there a script to create them?
1
vote
0answers
99 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
1answer
1k views

How to run Bitcoin Core behind corporate proxy?

I'm want to run Bitcoin Core client on TestNet and I need to config it for using under corporate proxy. Since I'm using Squid to set proxy for my system I should set "localhost:3128" somewhere... but ...
2
votes
1answer
700 views

How to push a raw transaction using BitcoinJS (and Request)?

I'm using BitcoinJS to create a playground for Bitcoin transactions. I have created the following Javascript file: const request = require('request'); const proxiedRequest = request.defaults({proxy: "...
0
votes
1answer
465 views

Difference between regtest and testnet

I'm not sure what is the difference between regtest and testnet, they seem are different things but i cant find the different between them. Does one have more stuff than others? On the regtest, peer ...
0
votes
2answers
691 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
169 views

Testnet: ErrorCode: INVALID Error message: mandatory-script-verify-flag-failed (Operation not valid with the current stack size)

I am new to blockchain programming. Following the book blockchain programming in C# book, I am trying to make a transaction in c#. But I am facing an error while broadcasting the transaction and also ...
1
vote
0answers
132 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
4answers
119 views

Why there are miner fees now?

I understand the mining fee will be the major incentive when the Bitcoin supply hit its limit of 21m. But right now, new coins are still being minted and are much higher than any fee can compansate. ...
0
votes
1answer
563 views

Public key for testnet address

I'm trying to create a transaction on the testnet (manually). I have the following private key: cQKqSNkEdyLJziQSr4iKTUJC95s9HHFo4bY88gi2i6v2quiVVLZb which belongs to the following public address: ...
0
votes
0answers
80 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 ...