Questions tagged [bitcoind]

bitcoind is the command-line software for Bitcoin Core. It stands for "Bitcoin Daemon" where a daemon is any computer process which runs in the background ("service" in Windows terminology).

Filter by
Sorted by
Tagged with
1 vote
2 answers
182 views

importmulti native segwit address to fetch utxos of p2wpkh native segwit address

I must fetch utxos for a native segwit address from the local Bitcoin node. First I wanted to import the segwit address. However, it fails. How can I import a native segwit address? I'm using latest ...
att's user avatar
  • 123
2 votes
1 answer
229 views

use mnemonic in bitcoin rpc using bitcoin cli with none legacy wallets

I have my 12 words (mnemonic) and I know that I can get zpriv, xpriv, private keys and anything from that. but when I try to import them to my bitcoin rpc, I can only import them into legacy wallets ...
Godfather's user avatar
  • 121
1 vote
0 answers
139 views

How to access bitcoin server's RPC interface remotely?

I am running a bitcoin daemon (launched via plist file) on MacOS with these parameters: -server (to accept command line and JSON-RPC commands) -daemon (to run in the background as a daemon and accept ...
Claudio Floreani's user avatar
1 vote
0 answers
35 views

Bitcoin blockchain doesn't continue installation

I successfully downloaded the Bitcoin blockchain on an external hard drive (as well as git repository). It was working and syncing just fine. I haven't used in a month or so, now the blockchain won't ...
Kibnakamoto's user avatar
0 votes
1 answer
53 views

Why does bitcoind store block data in a different directory than bitcoin-qt does?

I downloaded the bitcoin blockchain with ./bitcoin-qt When I first executed the command I could tell him to use a mounted hard drive. All the data goes there. So far so good. Now I want to experiment ...
Luca F's user avatar
  • 27
1 vote
1 answer
72 views

Failed to start Bitcoin daemon

I set up Tor with bitcoind. After that, when I started the daemon, I got the following error. Error: Cannot set -bind or -whitebind together with -listen=0 My bitcoin.conf is: server=1 txindex=1 ...
Luke's user avatar
  • 35
-2 votes
1 answer
99 views

How did Satoshi Nakamoto create the first Bitcoin? The Genesis Block

How did Satoshi Nakamoto create the first Bitcoin? I have never read any statement where he recommends specific tools like CGMiner. You can't mine with the Bitcoin Core software. Actually, Bitcoin ...
user avatar
0 votes
1 answer
135 views

how to run bitcoind without downloading entire bitcoin core for development [duplicate]

I am a beginner in bitcoin development and want to contribute to some github repos and for that i need the regtest network for bitcoin but to run that i need bitcoind and bitcoin core to be downloaded ...
Prabhat Verma's user avatar
0 votes
0 answers
25 views

Bitcoin lightnode not return private key for getnewaddress [duplicate]

I have run a bitcoin lightnode (bitcoind) I use getnewaddress for create new wallet: bitcoin-cli getnewaddress This method return to me only wallet address. How can I access to private key of this ...
user140323's user avatar
0 votes
1 answer
57 views

Edge cases when dealing with incoming Bitcoin transactions

I have an app that accepts Bitcoin payments. After some research I've settled with using Bitcoin Core's bitcoind with RPC to manage new addresses and verify for new transactions for those addresses. ...
Carlos's user avatar
  • 33
3 votes
2 answers
478 views

bitcoind won't run on macos

I have downloaded the tgz file from bitcoincore.org and unpacked it. The first time I tried to run bitcoind from the command line, I got the usual macOS dialog about untrusted software, so I gave the ...
user2792352's user avatar
1 vote
0 answers
398 views

Rpc work Queue Exceeded

I am trying to make rpc calls to an Rpc Interface "listunspent". So i get this Error: ESOCKETTIMEDOUT. I checked the bitcoin node debug file and saw the error message "Depth queue work ...
Abbeville's user avatar
0 votes
0 answers
56 views

How do I retrieve address balances to build a Merkle sum tree?

Curious about building my own proof of solvency program. I understand how the Merkle sum tree works in theory but I am having issues understanding the practical ways of getting the information I need. ...
madamepresident's user avatar
2 votes
1 answer
98 views

Why is there a need to flush the UTXO set when you prune blk*.dat and rev*.dat files during ibd?

As I understand, when Bitcoin Core has pruning turned on, it will flush the dbcache when it prunes unnecessary blk*.dat and rev*.dat files during ibd. In https://bitcoincore.reviews/20827, it states: &...
kcalvinalvin's user avatar
1 vote
2 answers
91 views

Bitcoin Core Node On Chain Data Addresses Over one Bitcoin

I'm currently running a Bitcoin Core full node on my raspberry pi. I have set the config file to txindex=1 and I want to query the bitcoin network to find out how many addresses hold more than 1 ...
Peder Rustad's user avatar
12 votes
1 answer
1k views

Why does Bitcoin Core print SHA256 hashes (uint256) bytes in reverse order?

When converting uint256 (the datatype used to represent hashes) to string in Bitcoin Core, the bytes are reversed. When debugging functional tests, this can create potential confusion when comparing ...
James O'Beirne's user avatar
0 votes
1 answer
292 views

bitcoind with rpcauth: how to use rpcauth with curl?

In bitcoin.conf, if the rpcuser/rpcpassword is specified, I can access the RPC via curl like this: curl --data-binary '{"jsonrpc": "1.0", "id": "test", "...
Simon L's user avatar
  • 111
0 votes
1 answer
324 views

How to get started with bitcoin-cli on macOS?

I've been having a really hard time struggling through installation. The problem is there seem to be two ways to install, one through a download link and one through src. However, both methods still ...
BSH180_44's user avatar
1 vote
0 answers
39 views

What does "score" mean in the following bitcoin node info printout? [duplicate]

This is the response from a getnetworkinfo command; "relayfee": 0.00001000, "incrementalfee": 0.00001000, "localaddresses": [ { "address": "*...
user209474's user avatar
1 vote
1 answer
656 views

How to use -reindex

I am working on creating a Pathing Guide for macOS Installation. The IN: ./bitcoind OUT: 2023-01-02T01:26:12Z : You need to rebuild the database using -reindex to go back to unpruned mode. This will ...
BSH180_44's user avatar
5 votes
1 answer
582 views

Why do we need electrs or electrumx alongside bitcoin-core?

I'm running a full bitcoin node. No pruning. Two primary use cases: Parse the most recent block and all the transactions in it Fetch any given address balance Both these can be achieved by just the ...
Ravi Ojha's user avatar
  • 173
0 votes
1 answer
42 views

My bitcoin node is down again, not binding to my home ip:8333

I am getting the following error; [net:error] Unable to bind to xxx.xx.147.xxx:8333 on this computer (bind returned error Cannot assign requested address (99)). I did a restart after trying to get ...
user209474's user avatar
1 vote
1 answer
754 views

How to delete a specific wallet in bitcoind

I accidentally created a new wallet with $ bitcoin-cli -testnet createwallet help { "name": "help", "warning": "" } Now I would like to delete it without ...
Wieland Gmeiner's user avatar
2 votes
1 answer
253 views

InvalidateBlock RPC call behavior with Bitcoin Core

I'm currently implementing the rpc call invalidateblock on btcd, an alternate Bitcoin full node implementation. I'm trying to figure out how Bitcoin Core handles branch selection on reorganizations ...
kcalvinalvin's user avatar
0 votes
1 answer
116 views

decoding transaction hash returned in rpc call getrawtransaction

hex: ...
meanthatmuchtoyou's user avatar
1 vote
1 answer
211 views

Error installing on Mac - Build does not support Berkeley DB database format

Im following the guide here (https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md) to install Bitcoin on my Mac. I want to be able to run bitcoind with and without the GUI. The first time I ...
Mark's user avatar
  • 137
0 votes
0 answers
34 views

Bitcoin-qt runs client correctly, but bitcoind downloads new software

I'm really struggling. I'm a bit new, but I'm trying to run bitcoind. When I run bitcoin-qt, everything is fine, but when I try to run bitcoind, it starts to download a new bitcoin core software. Does ...
Peder Rustad's user avatar
0 votes
0 answers
387 views

I can not connect through RPC port bitcoind

I have set up bitcoind, and I am able to run bitcoin-cli commands, I am also able to make request through RPC. curl --user username:password --data-binary '{"jsonrpc": "1.0", "...
Istiaque Ahmed's user avatar
0 votes
0 answers
155 views

How to findur Bitcoins and wallet

[email protected] Amanda glenn I'm new to this got an email stating I needed withdrawal my cash I made off Bitcoin bonus so I did but I don't know where it went I need to know how to receive it ...
Amanda's user avatar
  • 1
0 votes
0 answers
48 views

docker-compose for LN works fine with regtest but error with testnet

I'm using this docker-compose file: https://github.com/zeltsi/lnsim It works fine with regest (without modification) Then I changed regtest for testnet (all 4 occurences) Now I have this error: ...
jfjobidon's user avatar
  • 285
1 vote
1 answer
76 views

Optimal way to design BTC deposit flow?

I am designing an exchange application where users can deposit funds into their account by sending BTC to a unique address. What is the best way to monitor 100,000+ addresses for incoming transactions ...
Bob Grant's user avatar
-1 votes
2 answers
59 views

Block Transaction if it is over a certain amount

Is there a way to block a transaction if the transaction exceeds a certain amount of BTC. I am running bitcoind.
D0n's user avatar
  • 1
0 votes
1 answer
96 views

How to set bitcoind‘s default connection count

When i start bitcoind with default set.I found the connectioncount is always 10(the result of command "getconnectioncount").I have two questions below: 1、Where is the source code about this ...
noob's user avatar
  • 97
1 vote
1 answer
113 views

Is it possible to import a P2SH address as solvable with nonstandard type script?

I am trying to import a P2SH address as watch-only using the importmulti RPC command. I provide the scriptPubKey, timestamp, and redeemscript values. The value of scriptPubKey that I'm submitting is ...
Jeff Trimmer's user avatar
0 votes
1 answer
72 views

Bucketing algorithm in Bitcoin

Bitcoin core states that an entry can be part of maximum 8 buckets. I don't understand how an entry can map to 8 buckets when the data in the entry is the same. uint64_t hash1 = (CHashWriter(...
Vinay Shetty's user avatar
1 vote
1 answer
81 views

Serialize data to get buckets

I am trying to recreate the bucketing algorithm of bitcoin using python, but I am stuck at this particular line because I am unable to recreate it using a simple double sha256. uint64_t hash1 = (...
Vinay Shetty's user avatar
0 votes
1 answer
185 views

Unable to connect Docker based Bitcoin Node

I am using this docker image and trying to use bitcoin-cli commands. When I run `bitcoin-cli help, I get the error: root@5c7c6e54f180:/# bitcoin-cli help error: timeout on transient error: Could not ...
Volatil3's user avatar
  • 103
3 votes
2 answers
399 views

Is it possible to set RBF as always-on in bitcoind?

I can't seem to find any cli commands for this. Is it even possible? Or does RBF need to be opted into on a per transaction basis? I would just like every transaction sent by my node to be RBF enabled....
Aaron's user avatar
  • 33
0 votes
1 answer
171 views

How do I create multiple Bitcoin addresses and send coins to other addresses from linux console?

I want to be able to create many Bitcoin addresses and transfer coins from those addresses to other addresses. It is better if it is available on a Linux server, through the command line. What ...
Lazy Engineer's user avatar
0 votes
1 answer
148 views

How to solo mine bitcoin if the blockchain is on an external hard drive?

I am trying to solo mine bitcoin but the blockchain has been downloaded to an external hard drive.
1n4ho12's user avatar
0 votes
1 answer
45 views

How much does it cost to depend a transaction to another one?

How I can depend on a transaction to an unconfirmed transaction? How much does it cost? Do I need to use a specific API or application? Thank you
Motiv's user avatar
  • 99
1 vote
0 answers
56 views

Active vs inactive bitcoin nodes

The protocol documentation states "The typical presumption is that a node is likely to be active if it has been sending a message within the last three hours." Does this mean any message ...
Vinay Shetty's user avatar
4 votes
2 answers
210 views

Why would I need to ban peer nodes in bitcoin network?

Bitcoin RPC has the setban command and some other ban related commands. From what I understood from Bitcoin, the network becomes more secure as more nodes are connected sharing blockchain data. From ...
javi11br's user avatar
  • 107
0 votes
1 answer
68 views

How to get multiple vouts in one RPC call?

Is there an RPC call to get more (or better all) vouts for given transaction? Iterating over each one takes a lot of network time. gettxout txid 0 gettxout txid 1 gettxout txid 2 gettxout txid 3 -> ...
Vincent Alex's user avatar
1 vote
2 answers
104 views

Details regarding bitcoin addr messages

What is the frequency of the addr messages in bitcoin? And are the contents of the addr messages from the new or the tried table or both?
Vinay Shetty's user avatar
2 votes
1 answer
360 views

bitcoind 23.0 crashed mysteriously after 2 hours, what do I do next?

My new bitcoin node ran for about two hours and then crashed for no apparent reason. What do I do next to debug or fix the problem? This is my first time running a bitcoin node. I have lots of ...
Epictitus's user avatar
0 votes
1 answer
175 views

How to run bitcoind and lnd on separate machines on the same network

I have a bitcoin full node running on a raspberry pi 3b but it doesn't have enough memory to also run lnd at the same time so I'm trying to do that on a separate machine connected to the same network. ...
gruntled's user avatar
2 votes
1 answer
514 views

Min relay fee not met for a 2.0 s/b transaction

Im getting an error when trying to broadcast a raw transaction with bitcoin core 22, min relay fee not met. My mempool has 5,000 + transactions and the fee rate is 2.0 s/b. I have not changed the ...
Fontaine's user avatar
  • 466
1 vote
1 answer
287 views

Retrieve extended private key from child keys or sibling keys

I've looked through the various questions and answers regarding this topic but I can't find the answers to mine. I lost access to my wallet since calling encryptwallet which crashed the bitcoin ...
Maxbird's user avatar
  • 13
1 vote
1 answer
176 views

Localhost peer not detected error when trying to connect to Bitcoind server via JSON RPC from Java Application

I am running Bitcoin Network on local Ubuntu machine. The network consists of multiple nodes. I want to connect to the network from a java application running on the same machine via JSON RPC. I can ...
J.A's user avatar
  • 11

1
2
3 4 5
47