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
217 views

Bitcoin RPC not reachable: Cant bind RPC server to IPV6

I tried every different combination in bitcoin.conf to make my bitcoin node (hosted in AWS protected behind VPN) reachable but nothing seems to work... Just to clear it out of the way, I opened the ...
user avatar
  • 113
0 votes
2 answers
72 views

different 'vout' formats

Using bitcoind rpc, I have been looking at the content of 'vout' records for a few (coinbase) transactions and don't understand the difference between them. Looking at block 710000, the coinbase ...
user avatar
0 votes
0 answers
21 views

Is there a detailed documentation on RPC API bitcoin developer documentation

developer guide on https://developer.bitcoin.org/reference/rpc is not very detailed on mining section. Where can I find a detailed documentation with examples
user avatar
0 votes
0 answers
32 views

Bitcoin Core txindex not completing successfully

I am running a full node on Ubuntu (20.04), Core version 22.0.0, which is fully synced up to around 72500 blocks at this time. I am wanting to completely index the full chain however this has not ...
user avatar
1 vote
1 answer
118 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 ...
user avatar
  • 3,136
1 vote
0 answers
34 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 ...
user avatar
  • 41
1 vote
2 answers
55 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 ...
user avatar
1 vote
1 answer
78 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 ...
user avatar
  • 440
0 votes
0 answers
32 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-...
user avatar
0 votes
1 answer
81 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? ...
user avatar
  • 33
0 votes
1 answer
74 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 ...
user avatar
  • 1
0 votes
1 answer
54 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::...
user avatar
1 vote
2 answers
89 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 ...
user avatar
1 vote
1 answer
199 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 ...
user avatar
1 vote
1 answer
33 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).
user avatar
  • 440
1 vote
1 answer
69 views

Connecting A Wallet To A Pruned Node

I've connected sparrow wallet to a pruned bitcoin node but all my utxos are not showing. I would imagine that since I haven't spent them and since pruned nodes still keep the entire bitcoin UTXO set, ...
user avatar
2 votes
1 answer
53 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 ...
user avatar
0 votes
1 answer
40 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?
user avatar
0 votes
1 answer
173 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 ...
user avatar
  • 140
1 vote
3 answers
100 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 ...
user avatar
  • 11
1 vote
0 answers
85 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('...
user avatar
  • 123
0 votes
0 answers
186 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 ...
user avatar
1 vote
2 answers
135 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?
user avatar
0 votes
1 answer
37 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?
user avatar
  • 181
0 votes
1 answer
37 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?
user avatar
3 votes
1 answer
53 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 ...
user avatar
  • 31
0 votes
1 answer
59 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?
user avatar
0 votes
1 answer
86 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 ...
user avatar
0 votes
1 answer
57 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 ...
user avatar
  • 1,540
0 votes
0 answers
139 views

Remote RPC bitcoin testnet

I success deploy bitcoin core to GCP. Now i'm trying to reach RPC calls but seems not working. My GCP Firewall is allow all incoming request from ports: 8332, 8333, 18333, 18332. When I curl external ...
user avatar
0 votes
0 answers
25 views

Listener for deposits | ZeroMQ

I want to create a listener for BTC deposits in a multitude of addresses that I'd control, and which would run continuously. After doing some research, I found out that the best way would be through ...
user avatar
  • 123
0 votes
1 answer
75 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?
user avatar
1 vote
2 answers
162 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 ...
user avatar
0 votes
1 answer
204 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, ...
user avatar
  • 155
1 vote
0 answers
87 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 ...
user avatar
3 votes
2 answers
191 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 ...
user avatar
  • 51
0 votes
0 answers
76 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 ...
user avatar
  • 103
1 vote
1 answer
63 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?
user avatar
0 votes
0 answers
39 views

Help Unlock Bitcoin Wallet [duplicate]

I have a lot of BTC in my wallet, but a virus infected my old computer. I remember the login, but there is no password and mail (((Is it possible to do something ???
user avatar
  • 1
1 vote
1 answer
170 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 ...
user avatar
  • 11
1 vote
1 answer
56 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 ...
user avatar
  • 167
0 votes
1 answer
101 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!
user avatar
0 votes
0 answers
42 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 ...
user avatar
0 votes
0 answers
171 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 ...
user avatar
2 votes
0 answers
100 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 ...
user avatar
  • 131
0 votes
1 answer
73 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 ...
user avatar
2 votes
2 answers
193 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": &...
user avatar
0 votes
1 answer
55 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 ...
user avatar
0 votes
0 answers
82 views

Umbrel stuck when using symbolic links to bitcoin blockchain data

I tried to make Umbrel run on Ubuntu 20.04 with the bitcoin core beeing preinstalled and synced. I made it run on two harddrives. First one is an SSD where the system runs on and second one is an HDD ...
user avatar
  • 1
0 votes
0 answers
135 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 ...
user avatar
  • 1

1
2
3 4 5
45