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
17
votes
2answers
3k views

What are the benefits of using btcd instead of bitcoind?

btcd 1.0 was released October 3, 2013. Why use it instead of bitcoind?
0
votes
2answers
514 views

Compiling bitcoin-core from source Ubuntu 17.10

Hey everything has usually been fine compiling from source until i updated to Ubuntu 17.10 I've configured using --disable-wallet and i'm using the most up to date master branch chris@chris-GE60-2PL:...
1
vote
1answer
60 views

How to upgrade bitcoind in docker?

I am running the docker version for c-lightning 0.7 On a raspberry I need to clone the blockchain, but it needs version 0.17.1 Looking at the docker-compose.yml file I see: version: "3" services: ...
2
votes
1answer
38 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
1answer
64 views

Transaction net gain/loss

I have a TXid in my wallet that contains multiple transactions (multiple sends and receives). From what I read these are transactions the network creates facilitate splitting/combining multiple inputs/...
2
votes
1answer
732 views

Running Bitcoind as a service on windows 10

So I am trying to run bitcoin daemon as a service on windows 10, so I don't have to keep starting it. I have tried the following command: sc create BitcoinServer binpath= "C:\Program Files\Bitcoin\...
0
votes
1answer
244 views

Bitcoind could not locate RPC credentials but rpcuser and password are set

I installed bitoind and synced it. But when i'm trying to connect from my php website i getting: Unable to connect to http://user:password@my.bitoind.server.ip:18332/. Also when i'm trying to see ...
0
votes
1answer
517 views

Blockchain.info testnet websocket doesn't work

When I try to connect testnet websocket provided by blockchain.info api. Connection doesn't establish, when i looked into the code. It says for testnet it uses "wss://ws.testnet.blockchain.info/inv" ...
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 ...
0
votes
1answer
394 views

Please help - Bitcoin Conf file in the wrong directory

I am running a full node using Bitcoin Core GUI on Windows 10. The conf file is in my bitcoin data directory, instead of being in the appdata/roaming folder. But Bitcoin-qt points to it by default and ...
4
votes
2answers
696 views

Format of a block key's contents in bitcoind's LevelDB?

I am trying to use bitcoind's LevelDB block index files (that are stored in blocks/index) to find the file (e.g. blk00029.dat) and byte position of specfic blocks. Thanks to questions What is the ...
1
vote
1answer
233 views

Txindex=1: how to recognise the blockchain with this option?

This might be a dumb question: I started the Bitcoin daemon for an initial blockchain download. It immediately started downloading, I edited the Bitcoin.conf file with txindex=1. Stopped and restarted ...
3
votes
1answer
245 views

Bitcoin Core 0.13 How many addresses it can **effectively** manage?

I want to know, what's the maximum amount of addresses that Bitcoin Core 0.13 can manage? All addresses should belong to the default account. I want to use walletnotify feature How startup time ...
0
votes
0answers
61 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 ...
3
votes
1answer
109 views

How do I recover from a disk read error (fread failed)?

My full node daemon (bitcoind) crashed due to a disk read failure. The error is as follows: "Deserialize or I/O error - CAutoFile::read: fread failed" etc. How do I recover from this error? I don't ...
1
vote
2answers
872 views

Setting up the bitcoind to run at startup Ubuntu 17.04

I've created a bitcoin.service file as found here: https://github.com/bitcoin/bitcoin/blob/master/contrib/init/bitcoind.service However i've modified it as i build bitcoin-core from source to the ...
0
votes
1answer
2k views

Can't post on bitcointalk.org

I've done some research and understand that I'm supposed to post in a newbie forum and wait a while, as a newly registered user. But I can't seem to find the newbie forum. Does anyone know which top-...
3
votes
3answers
3k views

jsonRPCClient.php states its served a 401 error response

When I execute my php file from the command line I get this: <pre> PHP Warning: fopen(http://...@127.0.0.1:8332/): failed to open stream: HTTP request failed! HTTP/1.0 401 Authorization ...
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/...
20
votes
6answers
24k views

Ubuntu Linux — How do I start bitcoind as a service to run automatically?

I've got a bunch of other services set up to boot automatically when my Ubuntu server starts (services like wicd-daemon and VPN), but I can't figure out how to set up the bitcoin daemon (bitcoind) to ...
2
votes
2answers
436 views

How to stop another bitcoind service?

I created two bitcoind service in my server. First using default configuration, and second use new configuration. I am able to stop first bitcoind using bitcoin-cli stop, but the second bitcoind still ...
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
2answers
23 views

bitcoind jsonrpc bumpfee not returning hash of newly created transaction

I'm trying to implement replace by fee functionality with bictoind (v18) and bumpfee rpc call described here It works by mean that new transaction is created with higher fee, but result should be: { ...
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
19 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 ...
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
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 ...
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
2answers
358 views

Successfully compile bitcoin without errors, but get 'Abort trap: 6' when I run /.bitcoind on Mac OSX

I compile bitcoin successfully without errors, but get 'Abort trap: 6' when I run /.bitcoind /bitcoin/src > ./bitcoind Abort trap: 6 Building with master branch lastest commit: https://github.com/...
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: ...
0
votes
1answer
588 views

Bitcoind daemon: error connecting to the server?

I am trying to create a new bitcoin address and store it in a shell variable $NEW_ADDRESS. When I run this command: $NEW_ADDRESS=$(./bitcoin-cli getnewaddress) I get the following errors: error: ...
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
1answer
43 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-...
0
votes
1answer
155 views

Bitcoind doesn't start

Im trying to make Stadicus guide work for both Bitcoin Core & LND I did download the blockchain and moved to the HDD on my Rasp3 However, when starting the bitcoind service, im having this debug....
0
votes
1answer
28 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 ...
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. ...
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
51 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
184 views

Bitcoin curl no reply

Hi I have made a curl to my server but get no reply . What am a missing rpcuser=rpcusername rpcpassword=rpcpassword rpcauth=rpcusername:generatedkey daemon=1 server=1 rpcport=8332 rpcbind=0.0....
2
votes
1answer
232 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 ...
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
32 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
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
0
votes
1answer
78 views

Keeping wallet addresses outside bitcoin core

I'm trying to build a good security for my online bitcoin based application. Is something like this possible? send_bitcoin(address) create_address() sweep_balances() + | | ...
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 ...
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 ...