Questions tagged [bitcoind]

This tag should be used for questions related to bitcoind, 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
1 answer
390 views

How to regularly restart bitcoind after some period of time on Linux

If, like me you wish to automatically restart bitcoind after some period of time, or if it crashes at least it will restart sometime on it's own you know that it can take a long time on Linux before ...
  • 3,186
1 vote
0 answers
40 views

Want to run a secondary node on a new machine and want to use the blockchain data of existing node

I run a lightning node (umbrel, raspberry pi). I wanted to build a secondary node(c-lightning) on my laptop (ubuntu), from scratch. I followed some steps from their github but I'm now confused the the ...
  • 41
1 vote
2 answers
72 views

How to manually throttle CPU to make computer run cooler?

I am experimenting with Bitcoin initial block downloads. One of my tests is running on a ThinkPad X1 Yoga and computer is getting pretty hot. It it possible to manually throttle CPU to make computer ...
1 vote
1 answer
91 views

Why can't Core CLI query wallet balance when loading block index or verifying blocks?

Why can't Core CLI query wallet balance until having loaded block index and verified blocks? It takes a few moments when running the test and sig nets, but when running the main net it is tough for my ...
  • 636
0 votes
0 answers
75 views

How to fix corrupted blocks?

I am trying to copy blocks from Debian 10 “buster” virtual machine to external SSD which I will boot from on a Raspberry Pi. rsync --archive --delete --human-readable --info=progress2 /home/bitcoin-...
0 votes
1 answer
123 views

Is there any web3.py equivalent for Bitcoin?

Is there a good python library to connect to my locally running bitcoin node and query it? Such as view data block by block, txs, network difficulty at the time of each block, and other parameters? ...
  • 33
0 votes
1 answer
116 views

Error in configuring Qt with Bitcoin Core on Windows

I was following this (https://github.com/bitcoin/bitcoin/blob/master/build_msvc/README.md) documentation to install Bitcoin core on Windows 10. I have successfully configured Bitcoin core with ...
  • 1
0 votes
1 answer
78 views

How to serialize the CBlock Class in C++ and print the hex to terminal?

I have tried to serialize as follows without success: bitcoin tag v22.0 from github. In the file src/miner.cpp and the function function std::unique_ptr<CBlockTemplate> BlockAssembler::...
1 vote
2 answers
103 views

Is the 'Remote' In 'Remote Procedural Call' something of a misnomer?

My understanding of an RPC is that Bitcoin-qt (client) will send an RPC to bitcoind (or an instance of bitcoind on another machine if the configuration settings are changed to make that happen) and ...
1 vote
1 answer
218 views

How to download just the blockheaders for the blockchain

I'd like to download all the blockheaders for the blockchain directly from the network (not an external API) ... what is the best way to do this? I don't actually care about the transaction data and ...
2 votes
1 answer
73 views

loadwallet takes too much and times out

Hardware is too old and wallet was too much unsynchronized. Loading the wallet took so much time, it timed out (pending missing console output).
  • 636
2 votes
1 answer
196 views

Connecting A Wallet To A Pruned Node

I’ve connected Sparrow Wallet to a pruned Bitcoin node but none of my UTXOs are showing. I would imagine that since I haven't spent them and since pruned nodes still keep the entire UTXO set, my ...
2 votes
1 answer
80 views

bitcoind not sending index nor blocks to inbound connections

Currently, I am following the recommendation of running a full node on my desktop with bitcoind; it has most of the blockchain downloaded (~680000 blocks) and is not pruned. Then I have two laptops ...
0 votes
1 answer
44 views

starting mining with bitcoin core once installed

How do I start mining once installed and running? I don't see the bitcoin balance changing at all. What am I doing wrong?
0 votes
1 answer
363 views

How to run Bitcoin-Qt over RPC to another machine

I have a full node running bitcoind on computer A. On computer B I have bitcoin-cli setup to connect to computer A over RPC. Computer A is a headless machine. I don't want to re-download the chain ...
  • 150
1 vote
3 answers
107 views

blockchain.info like wallet api

I'm trying to build an API similar to the blockchain.com wallet API so that I can send and receive bitcoin on my e-commerce site. I have a docker container running a pruned node and I'm using another ...
  • 11
1 vote
0 answers
151 views

Can't query own node

I'm trying different ways to query my own bitcoind node on testnet but I'm failing every time. Tried using bitcore's API and nodejs: async function tryBitcoin() { const data = await axios.get('...
  • 123
1 vote
0 answers
728 views

How best to check the balance for a specific address using the Bitcoin-CLI?

I am currently calculating the balance of addresses from "listunspent" $unspends = $btc->listunspent(6, 9999999, array($PARAMS['address']))['amount'] But I don't think this is the ...
1 vote
2 answers
263 views

how would you test a bitcoind/bitcoin-cli without syncing?

I want to be able to test bitcoin without waiting literal days, is it possible to run a local node that doesnt require sync?
0 votes
1 answer
66 views

Sync data (blk.dat) only with bitcoind

The purpose is to sync the all the blk data into local computer for analyzing. Is that possible to sync data (blk.dat) only with bitcoind? Or is there any other solution available?
  • 301
0 votes
1 answer
42 views

I used support bitcoin wallet address by mistake! How do I get that back to put into my wallet

New to bitcoin and I use their support Bitcoin wallet address instead of using my wallet. How do I get those funds back?
3 votes
1 answer
59 views

Import all wallet addresses efficiently for explorer

I'm trying to build an explorer and I need to pull information about the wallet address such as transactions. Do I have to loop through everything with importaddress or is there an easier way? I ...
  • 31
0 votes
1 answer
94 views

Rescan starts not from first block

I have a complete blockchain but when I set rescan = 1 in .conf file my bitcoind starts rescaning from 435000 block. How to start it from the first block? What's wrong with my blockchain?
0 votes
1 answer
167 views

Which rpc command is used when solo mining to submit successful hash <= target?

Basically I am trying to know which command is to be used when attempting to submit a block to the network (amongst other things). Q1. Is the command bitcoin-cli submitheader or bitcoin-cli ...
0 votes
1 answer
80 views

bitcoin regtest no wallet RPC methods

I have compiled bitcoin core from the github repo using the regular instructions. It compiled and it runs successfully bitcoind --version Bitcoin Core version v22.99.0-2f7b5c3039c7 However, it seems ...
  • 1,590
0 votes
1 answer
106 views

RPC interface MITM protection

When I connect to my bitcoind instance over RPC, I need a password for that, but no certificate. So how are man-in-the-middle attacks prevented on that connection?
1 vote
2 answers
240 views

Is the coinbase automatically generated by the getblocktemplete rpc call?

I'm working on a mining script and i just want to really be certain for sure as I wouldn't want to waste Time & resources. Q1 - Is the coinbase transaction automatically generated by the ...
0 votes
1 answer
313 views

Issues with stopping bitcoind after 22.0 update

My setup was originally Bitcoin core 0.21.0, with IBD done long time back. Now for some experimental purposes, I turned on txindex in bitcoin.conf and reindexing was happening for hours. In mid of it, ...
  • 175
1 vote
0 answers
138 views

Can't sync to Bitcoin Network

I'm a newbie to this community. I have been trying to download all the blocks and be a full node, but I cannot connect to peers. I checked my firewall and there seems no problem, and tried to add node ...
3 votes
2 answers
370 views

Unable to use I2P on Ubuntu 20.04 / 21.04

I configured the I2P according to this answer on Ubuntu 20.04 and 21.10. But I have been getting the following error when I try to connect to any I2P peer: I2P: Error connecting to ...
  • 51
0 votes
0 answers
122 views

Why the receiver doesn't get any bitcoin on the balance if sendtoaddress or sendrawtransaction is used?

I want to do a transaction, but I see that the receiver doesn't get the amount sent. The regtest node started bitcoind -rpcuser=test -rpcpassword=test -regtest -rpcport=16591 -fallbackfee=0.000045 My ...
  • 103
1 vote
1 answer
94 views

Flag -deprecatedrpc=addressess - Bitcoin core

How long do we will have the -deprecatedrpc=addressess flag for Bitcoin core. Is it just for the v22.0 or will it be available for all minor and patch releases until v23.0?
1 vote
1 answer
410 views

I am getting an RPC error when trying to run any Bitcoin-cli commands on Ubuntu

I asked this question on AskUbuntu and was told to post it here. https://askubuntu.com/q/1373657/1519292 I am trying to follow the Mastering Bitcoin tutorial. After compiling Bitcoin Core, and ...
  • 11
1 vote
1 answer
75 views

How is an unspent TX output value verified?

I know that the current UTXO set is the set of all unspent transaction outputs in the blockchain that is equal to the total number of all bitcoins mined currently and that each UTXO has a reference to ...
  • 167
0 votes
1 answer
194 views

What's the difference between generateblock and generatetoaddress

Both commands generate blocks, and one specifies an address, what is the usage for each? Thanks!
0 votes
0 answers
44 views

Start mining without the need to downlod the 360gb blockchain

I am new to bitcoin mining but at least i understand the mathematics behind - the sha256 and finding nonce, i am a junior back-end developer. recently i have being interested in bitcoin mining, as way ...
0 votes
0 answers
190 views

can i diy an asic miner?

Iam interested in mining bitcoin so Iam wondering if I can get a pcb for hashing and bring asic chip that algorithms are sha-256 and stick them together with some other electronics and have a control ...
2 votes
0 answers
117 views

What do I tell my company IT dept so they allow my bitcoin core container to connect to other nodes

I work for a corporation therefore work behind a corporate firewall. I login to their vpn then I access company resources like mails, IMs etc. As a internal team project, I'm trying to setup a btc ...
  • 131
0 votes
1 answer
113 views

Getbalance amount 0 aftering generating blocks with bitcoin-cli

After starting bitcoind bicoind -regtest -daemon then i load one of the wallets i created bitcoin-cli -regtest loadwallet "wallet-name". The wallet loads fine but no matter how many blocks i ...
2 votes
2 answers
238 views

Bitcoin-cli responding but not curl

According to the bitcoin documentation I can make curl calls to my bitcoin node. However, whenever I run a curl command like the following (as per the docs): curl --data-binary '{"jsonrpc": &...
0 votes
1 answer
62 views

Lost Bitcoins Help [duplicate]

years and years ago I invested in bitcoins and I also got some free for signing up somewhere and since then I have had a new phone and don’t even have that computer anymore so now I am unsure of how ...
0 votes
0 answers
171 views

Best way to store private key from address

I make my own hot-wallet and wanted to know best way to store private key from address, because I need it for signing transactions. I tried store private key in my bitcoin core node, but I realized ...
  • 1
1 vote
1 answer
213 views

bitcoind resumes from low block after restart

I have bitcoind full node running, that is usually fully in sync with the chain. However, if it is restarted, e.g. due to machine reboot, it does not start from the top of the chain, but from somewhat ...
  • 113
0 votes
0 answers
26 views

Overflow bug bad chain length [duplicate]

Can someone recall how many blocks have been mined on the overflow bug chain until the new chain with the patch became the longer one?
  • 123
0 votes
2 answers
83 views

How do I set up bitcoind to track all address balances?

Bitcoind only stores information about addresses that you've added. How do I make it store balance and transaction information for all addresses so that given any address I've never seen before, I can ...
0 votes
2 answers
57 views

Help a newbie. Need software [closed]

I want to invest in a mining farm. Everywhere I find only pieces of information. Help please - you need: What software is needed and for what. Where to begin. Equipment and installation conditions. ...
0 votes
1 answer
177 views

Why Is it not possible to truncate the blockchain after Corruption detected

After running bitcoind (as part of myNode) for 6 monhths with no issue, I got this error: Fatal LevelDB error: Corruption: checksum mismatch: /home/bitcoin/.bitcoin/indexes/txindex/257701.log At ...
  • 101
0 votes
1 answer
71 views

"which bitcoind" outputs nothing

I installed bitcoind using Windows 10 WSL Ubuntu. I see the bitcoind.exe file in the src directory, but when I run "which bitcoind" I get no output.
1 vote
1 answer
71 views

What's the difference between an 'address' and an 'addressHash' in a transaction on a bitcoind node?

I'm listening to a ZMQ socket; it's sending out messages every time my node receives a transaction. The message is the binary value of the transaction itself. When I decode the binary (using a tool in ...
3 votes
0 answers
697 views

Compiling bitcoin error : A compiler with support for C++17 language features is required

I am reading the "Mastering bitcoin: Programming the Open Blockchain" book by Andreas Antonopolous. In the chapter about compiling bitcoin, the instructions were to execute first ./autogen....

1 2
3
4 5
46