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
2
votes
1answer
39 views

Is the ordering of blocks in the rev*.dat files same as the blk*.dat files?

I understand that blk*.dat files save the blocks in the order it gets them from it's peers. Is the rev*.dat files in the same order as the blk*.dat files? For example, would the 400th magicbyte in ...
0
votes
0answers
63 views

How to communicate with Bitcoin core 0.17 using bitcoinj for hd wallet creation?

Hi am building one hobby project and i want to perform some operations in my own bitcoin core 0.17 by using bitcoinj lib. so is there any way by which we can use bitcoin-core 0.17,bitcoinj for hd ...
0
votes
1answer
12 views

why using `blockIndex` in bitcoin's code `unconfTxs`

I am reading the code of rpc's estimateSmartFee method , and I can't understand why using blockIndex in unconfTxs ? estimateSmartFee loop unconfTxs to get feeRate(code: https://github.com/bitcoin/...
2
votes
1answer
19 views

Can bitcoind and btcd share a datadir?

I've already fully synced the blockchain with btcd, can I point bitcoind at the same datadir and use its contents?
0
votes
0answers
16 views

Is there online tool to check if bitcoin transaction is bip-125-replaceable

bitcoind json-rpc can do it, I think I saw this on blockchain.info but I don't see it now.
0
votes
1answer
21 views

How can I export a single wallet from bitcoind?

On my full node bitcoin wallet, I have a lot of wallets, I can see them with the command dumpwallet "filename" but if I try to export one of those priv keys to another wallet, (blockchain) this New ...
0
votes
3answers
36 views

How to install bitcoind (Bitcoin Core) on Ubuntu?

I want to install a command line-only full node bitcoind on a mini PC with 4GB RAM and Ubuntu. What are the steps to do it and how can I check if it works? (I will post an answer myself, also as a ...
1
vote
1answer
34 views

How to install Berkeley DB 4.8 on Linux?

The Unix build notes do not show how to install version 4.8 apart from saying BerkeleyDB is required for the wallet. Ubuntu and Debian have their own libdb-dev and libdb++-dev packages, but ...
0
votes
0answers
14 views

UnhandledPromiseRejectionWarning: RpcError: Requested wallet does not exist or is not loaded

I run bitcoind default wallet path.but ı request getballance from nodejs api return; UnhandledPromiseRejectionWarning: RpcError: Requested wallet does not exist or is not loaded I use ...
0
votes
1answer
22 views

Bitcoind as a service (open at start)

regards. I have bitcoind installed on my VPS using ubuntu 18.04 server, and I want to configure it to autostart when system starts, I know two options to make it happend, the first is this: ...
1
vote
1answer
24 views

How to connect LND to bitcoind RPC with authentication cookie stored in a custom folder?

I configured bitcoind RPC to authenticate clients with an authentication cookie. However I cant figure out if it's possible to use this method with lnd while connecting to bitcoind RPC. I would like ...
1
vote
1answer
25 views

Does getblockcount return the correct block count when running in prune mode?

I am currently running a bitcoin node with prune=550. The getBlockCount from $ bitcoin-cli getblockcount does not match https://blockexplorer.com/api/status?q=getBlockCount. As I understand it, the ...
0
votes
0answers
18 views

Creating beck32 address on bitcoin core automatically generate another address on lightning network

my lightning network backend is bitcoind. Interesting when I execute getnewaddress label bech32 another bech32 address is automatically generated. I found it because at the lightning network console ...
0
votes
2answers
49 views

are official bitcoin core released compiled with zmq in general?

I installed the binary and try to listen to ZeroMQ stream. But I got nothing out. Then I installed ZeroMQ but still got nothing. https://bitcoin.org/en/release/v0.17.1 so, are official bitcoin core ...
0
votes
0answers
9 views

Move Bitcoin from account '' to default account

I am running Bitcoind and Bitcoin-cli for my RPC. When I run ./bitcoin-cli getbalance it does not return my correct balance, but when I run ./bitcoin-cli getbalance '' I can see all my funds. ...
0
votes
1answer
29 views

Is it actually possible to install Bitcoin full node on a Raspberry Pi 3B+?

A Raspberry Pi 3B+ has only 1GB of ram and this official Bitcoin Core page shows that minimum requirement is 2GB ram and 200 GB storage with 100MB/s read and write speed. But I see a lot of articles ...
1
vote
1answer
27 views

RPC errors raised by each command

Coming from this question, is there any comprehensive collection of what errors can each RPC command return? For example. Let's say I want to run getbestblockhash or getblockcount. I'm unsure about ...
1
vote
0answers
22 views

why is bitcoind daemon occasionally stuck at `Opening LevelDB in …/.bitcoin/chainstate`despite clean shutdown

My bitcoind daemon sometimes takes an hour to go past Opening LevelDB in .../.bitcoin/chainstate After googling a bit, i thought it was simply an unclean daemon stop causing a leveldb corruption. But ...
1
vote
3answers
53 views

How bitcoin application in production retrive UTXO's

AFIK, UTXO of an address cannot be retrieved using bitcoin-core, without importing the address in the wallet. How are application in production able to get UTXO ? Does all the application use ...
0
votes
1answer
44 views

Where can I find a usefull log if bitcoind stopped for no apparent reason?

I am running bitcoind (Bitcoin Core) on a Raspberry 3B and the process occationally "disappears" from the list in top. The log debug.log shows no etries, last entry is usually something like 2019-11-...
2
votes
1answer
66 views

How do you run one daemon for multiple users?

I have installed Bitcoin v0.18.1 as user1. Everything is fine, but now I need to let user2 access the same run so he can use bitcoin-cli as well. However, once I log into the VM instance as user2 I ...
0
votes
1answer
17 views

Is it possible to use Bitcoin Core Qt as interface for DIFFERENT full node?

bitcoind is running on the background, local RPC server is running, all good. But is it now possible to have GUI? To say to bitcoin-qt that it should use RPC instead of going to disk files (which are ...
0
votes
0answers
33 views

Sent some testnet Bitcoin to Bitcoin Core wallet but balance is still zero

I got the testnet Bitcoin address with this command: bitcoin-cli -testnet getnewaddress And here is the Bitcoin address: 2NDtNjDbEiNiKDuAnwyKBmRPQ49NNpesdhE As you can see in blockchain there was a ...
1
vote
0answers
31 views

Automatically restarting bitcoind five minutes after reboot on ubuntu

How can I run bitcoind automatically five minutes after restart? So far I have crontab set up to reboot my computer every morning at 4AM (it runs into issues when it stays on for more than a couple ...
2
votes
1answer
233 views

My first full node - no bitcoin.conf

So I am in the process of downloading the blocks after installing bitcoin on my ubuntu server. I have followed the guide on https://bitcoin.org/en/full-node. Everything is working correctly. Blocks ...
1
vote
1answer
40 views

How can Blockchain.info query information from the blockchain faster than I from my own node?

I've just run a Bitcoin node but I don't understand how blockchain.info or any other blockchain explorer works. I mean, sometimes I have problems like "socket.timeout". Shouldn't it be faster to query ...
2
votes
1answer
21 views

bitcoind service daemon

So I am running bitcoind everything is fine and the blockchain got synced etc. Next step is to have bitcoind starting on boot. I get this error on starting the service after creating a nano /etc/...
0
votes
1answer
27 views

Where does Bitcoin Core store DB_LAST_BLOCK?

My understanding is that Bitcoin Core stores where it left off(DB_LAST_BLOCK) in $DATADIR/blocks/index. But which is the actual file bitcoin core stores it at?
0
votes
1answer
19 views

How to run a python script when occur incoming transaction in Bitcoin core 0.18?

I want to run a python script when occur an incoming transaction. I think set zapwallettxes flag in bitcoin.conf but I don't know where set the script path to execute. Is it possible to execute ...
2
votes
0answers
18 views

what is fee_estimates.dat data format?

I'm trying to parse the file fee_estimates.dat. What is the format of the binary data inside fee_estimates.dat ? I didn't find any information about it in the dev documentation of Bitcoin. This is ...
0
votes
0answers
28 views

Backuping account system of bitcoin-core [duplicate]

I'm using bitcoin-core 0.16 currently, i have quite a few number of accounts with the transactions to this accounts. Now, i want to transfer my wallet to another machine, which files should i also ...
2
votes
0answers
30 views

Fully synced bitcoind 0.18.1 on RPI4 using 100% cpu ( 1 core only ) , is it normal?

I started playing with bitcoind 0.18.1 on a RPI4 and i can see that even when fully synced it is still using 100% cpu so one full core. Is this normal / expected ? Looking at the threads is the ...
1
vote
1answer
58 views

Bitcoin JSON RPC not working on Remote IP

i cannot get it to work firstly i was able to use bitcoind in my vps (locally) but when i added rpcbind and allowip to my bitcoin.conf i cannot even use bitcoin-cli its giving me this error: error: ...
1
vote
1answer
30 views

Running bitcoin node in docker behind NAT

A running bitcoin node doesn't accept incoming connections when it's running behind NAT in a docker container. To confirm the problem is related to docker I edited NAT settings on my router. If ...
0
votes
1answer
39 views

Receive/send Transactions latency

I am on Ubuntu 16.04, with the latest version of Bitcoin Core, synced and working. I would like to know why is there a little delay of approximately 1 sec, sometimes more, before a received ...
0
votes
1answer
45 views

Is there a way to delete a test wallet without stopping bitcoind?

For my unit tests, I'd like to be able to delete and recreate a wallet without having to stop bitcoind and manually deleting the wallet directory. When I try to delete such wallet directory without ...
1
vote
1answer
46 views

What is the simplest command I could use to test that my wallet unlocking process works properly?

I simply want to unit test that my lock/unlock process works well on an encrypted wallet. What would be the easiest command I could send (that doesn't involve sending coins) to actually validate if ...
1
vote
1answer
74 views

Backup of a bitcoind wallet using the extended private masterkey only

If I understand correctly, bitcoind makes use of a extended private masterkey in order to deterministically generate private/public keys for a wallet. Using the dumpwallet command, I'm able to get ...
1
vote
0answers
53 views

Bitcoin Lightning Network

I created a channel in lightning network, did the payment and the channel balance of the receiver got updated. But after closing the channel , the wallet balance of the receiver is not getting updated ...
0
votes
1answer
70 views

How to import address to a wallet which runs in pruned mode [closed]

I am running Bitcoin Cash node with prune=99000 mode enabled. So, I tried to import addresses of BCH from another BCH wallet by using importprivkey method and I am getting an error: Rescan is disabled ...
2
votes
2answers
68 views

Cannot call rpc api from other machine in same local network

cannot call rpc api from other machine in same local network There is a regtest node in my local network , I can call rpc api only from the node's machine,not my local machine. I know rpcallowip is ...
1
vote
1answer
30 views

Running multiple bitcoin instances on same server system

I wish to run multiple instances of bitcoind on my server to support highly read intensive RPC applications. Following links: how to run multiple bitcoind node on one server? Running Multiple Full ...
0
votes
1answer
76 views

Why is Bitcoin Core full node so slow to sync?

After 12 hours, progress changed from progress=0.533751 to progress=0.541254, less than 1% progress. $ ./bitcoind ... 0 hours: 2019-10-12T17:57:11Z UpdateTip: new best=...
0
votes
1answer
34 views

My full node seems to be rejecting tor connections

I'm running my full node with bitcoin core v0.18.1 with a mostly default configuration on debian 9.11. Port 8333 is forwarded through my router and I have 20+ node connections, so can safely assume ...
1
vote
0answers
26 views

TimeoutError: [WinError 10060] when trying to connect to bitcoin rpc from a pc on the same local area network

I have a laptop with win10 installed. It is now running a full bitcoin node perfectly. I am already able to make rpc requests from the laptop using python and get valid responses. The laptop is ...
1
vote
1answer
63 views

How do I get a full transaction index with Bitcoin Core?

How can I sync bitcoin full node so that I can access all details of transactions occurring on other nodes and other wallets also, like blockchain.info. I have synced a full node using below ...
0
votes
1answer
105 views

Import watch-only address to 0.18 core wallet, addresses missing

I am running new bitcond server $bitcoin-cli importaddress '32om7Xx7GnwxkiAQjpp3hhayDX4mSNLmR1' 'label' false $ it seems added. Then I try to list all addresses in wallet it return empty list. $...
1
vote
1answer
56 views

Error Signing P2SH-P2WSH MultiSig - “Unable to sign input, invalid stack size (possibly missing key)”

I am trying to create and spend a P2SH-P2WSH transaction using bitcoin-cli but am getting "Unable to sign input, invalid stack size (possibly missing key)" when I try to sign the Multi-Sig transaction ...
1
vote
2answers
53 views

Is it possible to change private key

I would like to know if it's possible to change private key of bitcoin wallet via rpc call to bitcoind. Thank you for your answers
1
vote
1answer
42 views

Is Bitcoin Core required for wallet projects?

My team wants to create a cryptocurrency service provider platform to Sell/Buy BTC and something else in form of web/mobile app. It's about one month that I have been studying different articles about ...