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

Questions tagged [regtest]

When running Bitcoin Core client in regtest mode.

0
votes
1answer
27 views

Is there a way to create 9995000 spendable BTC on regtest?

I'm doing to a large stress test on 1000 node network where each node sends transactions to one another at a specific rate, and I need a way to create the funds for running it, enough so that each ...
0
votes
1answer
40 views

Is there a maximum balance that a single address can hold?

Is there a maximum number of satoshis that a single address can control at a single time? I ask because when I generate regtest blocks to a single address, it's balance gets stuck at 1494999998350 ...
0
votes
1answer
41 views

Private key only wallet for Bitcoin Core regtest

I'm running a private regtest network on GCP. I generated a list of 2000 vanity testnet addresses ordered sequentially from prefixes mooo1 to n2ooo with their respective pub/priv key pairs, and to ...
1
vote
0answers
45 views

bitcoin node: what is the difference between simnet and regtest?

btcd, and presumably other bitcoin node implementations, seem to have 4 network options: mainnet testnet regtest simnet. I get that mainnet and testnet both are "public" in that your node will ...
1
vote
1answer
17 views

Is it okay to run regtest for dev purposes while simultaneously running a node on mainnet (bitcoind)?

Hope it won't mess anything up on my mainnet node.
2
votes
0answers
51 views

addnode in bitcoin.conf doesn't work (Regtest mode)

I'm trying to make to nodes on the same computer communicate. I set up two bitcoin folder with two bitcoin.conf files. bitcoin.conf in the second node is the following: rpcuser=bitcoinrpc ...
0
votes
0answers
26 views

Bitcoin Tools for 'testers'

I am writing a Bitcoin application and want to give my testers the opportunity to see what is going on on the blockchain. The plan is to test the application mainly on a local Regtest network. I did ...
0
votes
1answer
83 views

Where does the mining reward in regtest go?

After using the bitcoind -regtest generate 1 command, where does the mining reward go? I tried list accounts and check balance for account "", but the balance always showed 0.000000.
0
votes
1answer
81 views

Confirm transaction in regtest mode

I'm testing some wallet features on regtest. Here's the sequence so far: cash-cli -regtest generate 101 cash-cli -regtest getbalance 500.00000000 cash-cli -regtest getnewaddress newAddress1 ...
0
votes
1answer
28 views

verifying my modifications to bitcoind w/o broadcasting anything

I want to verify that my updates to the bitcoind source code don't break anything. One way that I thought of doing that was through loading the mainnet data into a regtest instance. To do that I first ...
0
votes
0answers
38 views

Creating lage blocks with multiple transactions in regtest mode?

I want to create blocks with multiple transactions in regtest mode. I want to test propagation with blocks of size 1-2 MB on the dash network. ./dash-cli -regtest -daemon -debug -port=8330 -rpcport=...
0
votes
2answers
178 views

Bitcoin regtest mining

I wonder if I can do mining with Bitcoin-0.16.1 in regtest mode, just for simulating mainnet situation where there are new blocks coming in constantly. I am aware that I can use generate to generate ...
2
votes
0answers
48 views

What are segwit extended key prefix bytes for regtest?

I need the HD version bytes for equivalent of ypub, zpub, Ypub, Zpub but on the regtest network. I also need Ypub on testnet. All the rest I can find in slip132, but it is incomplete. thanks.
0
votes
1answer
166 views

Connecting to Regtest

I want to connect to a local node that I have set up in regtest mode using bitcoind. The node I am connection from is non bitcoind and I need to set the port that I want the peer discovery to take ...
1
vote
1answer
143 views

Bitcoind Cannot assign requested address

I'm trying to run a regtest bitcoind node but I'm always receiving the following error connect() to [2a05:d01c:a35:2902:6e18:7290:ff27:e9aa]:18444 failed: Cannot assign requested address (99) ...
1
vote
1answer
398 views

Error: Keypool ran out, please call keypoolrefill first

After setting the dash-client in regtest mode, I am trying to generate coins. No matter what I do, I get the above error. When I run: dash-cli -regtest getmininginfo I get the below output: { ...
2
votes
1answer
209 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 ...
2
votes
1answer
101 views

Bitcoin regtest mode block versions

I'm running a bitcoind instance in regtest mode, for automated testing purposes. I'm having trouble with the fact that the blocks I mine are version 1 blocks, which lack the block height in the ...
2
votes
0answers
118 views

Blockchain explorer for regtest mode

I'm looking for a Bitcoin blockchain explorer that will work in "regtest mode", mostly for demo proposes. Any suggestions?
0
votes
0answers
490 views

How to get all transactions of address with bitcoin api in node.js?

I want to find all transactions of address in regtest. How it is possible to do? I have this solution, but I get response (201) before for ends. I think it's bitcoin timeout false. bitcoin....
1
vote
1answer
1k 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 ...
2
votes
1answer
122 views

Regtest automated peer discovery

I want to test peer discovery in regtest mode of bitcoin core, running in Docker. However, I noticed in the source code of bitcoin core that there is a check if the address is routable before ...
1
vote
0answers
203 views

getpeerinfo peer port number

Working on regtest (Bitcoin Core 0.15.1) I've realized that some peers are identified just by ip instead of by ip:port when querying bitcoin-cli getpeerinfo. I've noticed that when it happens the ...
2
votes
1answer
358 views

Why cant my Altcoin Regnet create first 100 blocks?

I have modified bitcoin source code for my altcoin. I have successfully created genesis block, merkel root, noonce and daemon is working well. I have tweaked number of coins per day, total coins etc.. ...
0
votes
3answers
271 views

How are Bitcoin Core GUI nodes properly connected and disconnected in regtest mode?

I'm trying to set up a private Bitcoin network using Bitcoin Core in regtest mode. However, there are two problems: the port reported by the Bitcoin Core GUI doesn't match the one the node is running ...
0
votes
0answers
40 views

How it is possible to wrap with BitcoinJ a Bitcoin Core RPC interface and drives regtest mode

Despite the fact that I have already create an address in regtest network which has Bitcoins I can not import correctly this address to my BitcoinJ app in order to execute certain functions(OP_CODE tx,...
1
vote
1answer
255 views

Does bitcoind not support txindex=1 option in regtest mode?

Is it possible to specify txindex=1 option in bitcoin.conf or elsewhere? It doesn't seem to work. Whenever I run bitcoind -daemon, it stops. If I remove txindex=1 from the conf file, it works. I ...
0
votes
1answer
83 views

Can I use run Bitcoin Core in regtest mode in v0.8.1?

I'm trying to run bitcoin-core v0.8.1 in regtest mode, but it doesn't work. When placing regtest=1 in bitcoin.conf it starts to sync the mainnet. I've not seen anything related in the code. So I was ...
1
vote
1answer
877 views

How to check my address balance in regtest?

I have created a regtest address and I want to check it's balance. I have run the commands: -regtest generate 101 -regtest getbalance -regtest sendtoaddress n4MN27Lk7Yh3pwfjCiAbRXtRVjs4Uk67fG 10.00 -...
0
votes
1answer
414 views

Create an OP_RETURN tx and validate it's existence in Regtest

A part of my MSc thesis is storing the hash of a string with OP_RETURN tx in the Blockchain to exist as a proof. My main concerns are: -how can i send this tx successfully to my regtest network -...
6
votes
1answer
770 views

How do I reset bitcoin regtest mode?

Does anyone know how to reset everything in regtest mode? I want to reset my balance and all transactions.
1
vote
1answer
58 views

Regtest not paying address in mined block

I have set up a local 5 node bitcoind regtest network with unique ports using compiled bitcoin core 14.2. I can generate blocks, send transactions between nodes, and mine those transactions using a ...
2
votes
2answers
191 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" ...
1
vote
1answer
3k views

manually signing bitcoin transaction

I'm trying to create a BTC transaction with one input and two outputs, one for change and one OP_RETURN to anchor data. And I'm doing all of that on my regtest backend. The raw unsigned transaction is ...
1
vote
1answer
892 views

regtest method not found

I have alredy looked at a lot of other similar questions here but they didn't involve my case or the solutions provided did not work for me. I'm trying to work in regtest mode and I'm using bitcoin ...
0
votes
0answers
281 views

How to perform DoS attack on Bitcoin peer?

Firstly I am aware of this questions: Is bitcoin vulnerable to a DOS/spam attack? and What protection does Bitcoin have against Denial of Service (DoS) attacks?. I am aware of the transaction fees and ...
4
votes
1answer
758 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 ...
1
vote
1answer
258 views

How can I see or validate mining in regtest mode?

I can generate new blocks using generate number_of_blocks_that_you_want. I have 2 nodes running on regtest mode. I sent few coins from one node(wallet) to another. Transaction successful. Status it ...
2
votes
1answer
1k views

Windows 7 : Unable to start bitcoin server using daemon in regtest : bitcoind -regtest -daemon

I am trying to start bitcoin server in regtest mode using bitcoind -regtest -daemon command on my windows 7 operating system. Error I am getting is daemon is not supported on this operating system. ...
1
vote
1answer
468 views

How to get money when using regtest

I want to experiment in the regtest network. But I don't understand how I can get funds to play with. I did: bitcoind -regtest -daemon bitcoin-cli -regtest sendtoaddress ...
1
vote
1answer
797 views

Unable to locate bitcoin.conf in linux

I am new to bitcoin network but I have spent significant time with ethereum. For getting started with bitcoin I referred running a full node and Developer documentation- Regtest Mode. After ...
1
vote
0answers
393 views

“Error: Invalid RPC method” when i try to create block in regtest mode

I use Ubuntu. After i run bitcoind -regtest -daemon I tried to create blocks by running command: bitcoin-cli -regtest generate 101 And it returned error like this: Error: Invalid RPC method ...
0
votes
1answer
731 views

running regtest network, bitcoin.conf incorrectly configured?

This is what happens after I run this command bitcoind --regtest --printtoconsole, my guess is that it's something to do with bitcoin.conf My bitcoin.conf file looks like this: server=1 rpcuser=...
2
votes
1answer
3k views

trouble with bitcoin cli regtest

These are the commands I'm running after building a clean ubuntu docker image with all the dependencies: ./src/bitcoin-cli -regtest & It yields the error: error: too few parameters (need at ...
5
votes
2answers
1k views

Connecting two local nodes in RegTest

I am trying to connect two local regtest nodes together. I am able to run one regtest node without any issues, and am also able to run the bitcoin-cli commands such as generate to create my own chain, ...
0
votes
1answer
71 views

Regtest setup to analyze the protocol

I'm currently working on my bachelor thesis in which I have to analyze which are the scalability issues the bitcoin protocol has and try to see how it react changing different parameters ( for example ...
1
vote
1answer
106 views

Sending bitcoins in regtest to client

I have bitcoind hosted on a local machine and I would like to set up a remote client to do some bitcoin URI testing on another local machine. I have Bitcoin-QT installed on the client and updated ...
1
vote
1answer
815 views

After bitcoin-cli -regtest -sendtoaddress “address” That address's balance is always 0

I'm not quite sure what I'm doing wrong here. I believe I have followed everything correctly but for some reason its still not working? I am using directions from here: https://bitcoin.org/en/...
1
vote
0answers
201 views

How to create walletconflicts in regtest mode?

I play with Bitcoin Core 0.13 in regtest mode using python. Now I use bitcoin-testnet-box, I have two nodes connected to each other. I want to create a walletconflict. I want to get gettransaction <...
1
vote
1answer
133 views

How to catch the fees on regtest mode?

I'm developing on regtest mode and it seems that the fees I specify in every transaction are not included on every new mined block (generate). I only view (listunspent) a new 50 btc coinbase utxo at ...