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).

320 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
2answers
836 views

bitcond and bitcoin-Qt system configuration and bandwidth requirements

What is the best operating system configuration for a computer to run (bitcoind or bitcoin-Qt) and (BFGminer or CGMiner) under Linux, assuming that it will be connected to a 3 Terrahash mining rig on ...
3
votes
0answers
45 views

Is it safe to skip the initial block verification at startup?

The longest step in bitcoin core initialization is "Verifying last 6 blocks at level 3". The number of blocks checked at startup went down from 288 in 2014 to 6 now. Therefore, in order to speedup ...
3
votes
0answers
48 views

How to segregate wallet from bitcoin core | Run multiple wallets in different servers on one centralized bitcoin node

I am running bitcoin full node in a centralized server. I have many web applications running in various places. I want to connect this web applications with centralized full bitcoin node. How to ...
3
votes
0answers
888 views

How to directly query leveldb database to get get a record by transaction hash or by sender's address?

I learned that the blocks and transactions are stored locally in .bitcoin/blocks/index and .bitcoin/chainstate databases, respectively. I want to make a direct query to those databases to measure the ...
3
votes
0answers
1k views

How to choose between so many open-source bitcoin pool software

I am now in the venture of finding and setting up a bitcoin pool company. However, after some research, I found out that there are plenty of bitcoin pool software. There are: CoiniumServ Cryptonote ...
3
votes
1answer
131 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 ...
3
votes
0answers
5k views

bitcoin-cli - “error: couldn't connect to server” [solved as per comment]

I have bitcoind 0.13.1 running on a Raspberry Pi. I can see it on the bitcoin network using bitnodes.21.co but I can't connect to it locally with bitcoin-cli. My bitcoin.conf is: rpcuser=xxx ...
3
votes
2answers
1k views

Debugging bitcoind

How do you attach a gdb to a bitcoind daemon. I wish to step through the functions. Here is what i have tried. gdb --args bitcoind -regtest -daemon This however exists when the daemon starts. So i ...
3
votes
1answer
287 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 ...
3
votes
0answers
547 views

Verification progress decreasing when validating genesis block

I've been experimenting with the litecoin source and have decided to make my own token network for personal use. I've mined my own genesis block, and assigned unique identifiers for base58Prefix and ...
3
votes
0answers
202 views

Unable to limit tcp bandwidth using tc in QoS for localhost

I am trying to connect few bitcoind instance running on different ports on my local machine and control the bandwidth between those connections. I used the tc utility as following: #network interface ...
3
votes
0answers
515 views

The setup steps for generating bitcoin addresses programmatically and checking for payments with walletnotify

I have read this question and done some investigation, and I want to make sure I have some of this right. If I have a server somewhere where I can install bit coin (I'm thinking bitcoin-qt on Ubuntu)...
3
votes
0answers
467 views

bitcoind inconsistent authentication error

I am using a Linux computer. The issue I am having is that sometimes I have to use "kill -s 9 (bitcoind pid)" and restart bitcoind using "bitcoind -txindex" because bitcoind will sometimes not let me ...
3
votes
0answers
111 views

When does the “reject” string have an empty reject reason upon submitting a new block?

I submitted a new block using the rpc command submit. And I just got a "reject" string without a reject reason. I checked the bitcoind source code, and found that it usually sends a reject reason; ...
3
votes
0answers
117 views

Proving the address belongs to a shared wallet where one can control some deposits and withdrawals

A bitcoin exchange is using a shared web wallet where its users deposits and withdraw bitcoins. The withdrawal transactions are merged, so that the pending transactions of several users are grouped ...
3
votes
0answers
789 views

Querying insight-api to dump all addresses with a positive balance

It's been some time I've been using 'insight-api' (https://github.com/bitpay/insight-api) and I couldn't find any documentation / anything helpful to query leveldb in a way that all addresses with a ...
3
votes
0answers
262 views

Bitcoind JSON-RPC - getbalance with 0 confirmations not included

When I access bitcoind through JSON-RPC and query: getbalance '*' 0 It does not include transactions with 0 confirmations. Only when a transaction has least 1 confirmation it is included in that ...
3
votes
1answer
166 views

What is the best way to implement withdrawal in online service?

Suppose we have a service, which holds user balance in Bitcoin. How to implement withdrawal from bitcoin perspective? Which RPC call to use? How to archive transaction to have a proof of sending ...
3
votes
1answer
406 views

Deterministic Wallet Step By Step

I'm reading about deterministic wallets, I get the point, but it get's confusing when you actually start setting up things. I have to install support for generating "whatever"-coin addresses on a ...
2
votes
0answers
27 views

How to accelerate mempool data access with bitcoind

What could I do to accelerate access to the data I get when I call for example: bitcoin-cli getblocktemplate ? If I would like to be able to be the fisrt one who get information about all the new tx ...
2
votes
1answer
2k 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 ...
2
votes
0answers
51 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 ...
2
votes
0answers
50 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 ...
2
votes
1answer
924 views

bitcoin-cli “Could not connect to the server”

Brand new Raspberry Pi mainnet node following this walkthrough: https://medium.com/@meeDamian/bitcoin-full-node-on-rbp3-revised-88bb7c8ef1d1 When I run this command: bitcoin-cli -rpcuser=username -...
2
votes
0answers
70 views

Using bitcoind RPC to identify an incoming transaction that has been replaced using BIP125 Replace-By-Fee

In the context of running a web service that accepts payments in Bitcoin, how can we use bitcoind to identify a transaction that has been replaced using BIP125 Replace-By-Fee? When RBF is used, a new ...
2
votes
0answers
61 views

How to get multiple connections to the same node

I'm playing around with connecting my node to another one of my nodes to see how many incoming connections I can handle. Whenever I add node A from node B with bitcoin-cli addnode 1.1.1.1 add after ...
2
votes
1answer
278 views

LoadBlockIndexDB: transaction index disabled

I'm trying to run bitcoind on a Raspberry Pi 3 but I'm stuck on an error. The raspberry has a Hdd for storage with a fully indexed blockchain that was synced on my laptop and than copied to the Hdd (...
2
votes
0answers
134 views

libwallycore error installing LND on Ubuntu 18.04

I'm setting up an LND node on Ubuntu 18.04. I've installed python3, and cloned the repo. I ran configure, and get this error on the make command: checking byteswap.h, usability... no checking ...
2
votes
0answers
90 views

Why is the Serialization limit set to 0x02000000?

In addition to the block size limit, there is a limit on the maximum message size. Is there a rationale behind the 32MB limit set in src/serialize.h or was it picked because it's just a nice round ...
2
votes
0answers
166 views

Speeding up walletnotify

In the case of a notice at 0 confirmations, I'm seeing the transaction end up on blockchain.info a lot faster than bitcoind is calling the walletnotify callback - about 10 minutes faster. Is it ...
2
votes
0answers
145 views

What is the alternative of Bitcoin-RPC-Client?

I am implementing Bitcoin-RPC-Client for web application but I found bitcoin-RPC-client is better than bitcoinj and what are the advantages and disadvanatges of Bitcoin-RPC-client.
2
votes
2answers
3k views

bitcoind error “mempool min fee not met” preventing me from sending btc on blockchain

When I want to send btc in block chain this message is appearing: BitcoindException(super=com.neemre.btcdcli4j.core.BitcoindException: Error #-26: 66: mempool min fee not met, code=-26). Who ...
2
votes
1answer
1k views

Can't connect to Bitcoind remotely

I am running a Bitcoin Cash node on my server, and starting it like this: start bitcoind.exe --server=1 --rpcuser=user --rpcpassword=password --rest=1 --rpcport=8332 --datadir=F:\Bitcoin --bind=10.1....
2
votes
1answer
860 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\...
2
votes
0answers
148 views

Clarification of some getaddr() function inputs and outputs

In the Bitcoin system to discover new nodes, each node communicates with its peers by sending getaddr() to the peers. Based on the bitcoin implementation: //! the maximum percentage of nodes to ...
2
votes
1answer
642 views

How to get total number of transactions from bitcoin core wallet using rpc

I'm trying to implement paginations using : https://chainquery.com/bitcoin-api/listtransactions I want to have reverse listing (oldest first), so I need to get total number of transaction returned ...
2
votes
0answers
176 views

Can I balance load between two instances of bitcoin daemon by switching RPC request?

The question is pretty simple. I have two instances of bitcoin daemon. When I'm running my pool with parallel RPC requests to each instance it calls daemons too often and daemons queue of RPC calls ...
2
votes
1answer
138 views

Wallet for btc bot

Which bitcoin wallet should I use to manipulate it programmatically? I don't want to use heavy bitcoin-core. But as I understand there are different kinds of bitcoin's thin clients: some outsource ...
2
votes
0answers
249 views

bitcoind verifychain vs reindex

actually this is not Bitcoin but Litecoin 0.13.2 on Linux Mint, litecoind stopped with "bus error" just on start verifying blocks: tail ~/.litecoin/debug.log ... 2017-05-06 21:15:26 Verifying last ...
2
votes
0answers
231 views

Is there a robust way to test for a corrupted blockchain?

While running bitcoind I once had the blockchain get corrupted and it manifested as a non-obvious error message which unfortunately I can't remember. I would like to know if there is a robust way to ...
2
votes
1answer
971 views

bitcoind crashing due to insufficient memory?

EDIT 3 Bumping my VPS to 1GB of physical RAM stopped the crashing issue... UNTIL said VPS ran out of disc space. I added prune=10240 to my ~/.bitcoin/bitcoin.conf file such that the blockchain file ...
2
votes
0answers
321 views

socket send error Bad file descriptor (9)

The log file goes back quite a few weeks but this error started to appear today. Any ideas why?
2
votes
0answers
827 views

I can't connect to RPC from python. JSONRPCException: -342

Tryed to run this code : from bitcoinrpc.authproxy import AuthServiceProxy, JSONRPCException import logging import json logging.basicConfig() logging.getLogger("BitcoinRPC").setLevel(logging.DEBUG) ...
2
votes
0answers
66 views

Bitcoin-Qt does not unpack the bootstrap.dat

I downloaded a copy of the bootstrap.dat for a node I'm trying to set up on a Raspberry Pi (Raspbian OS, based on Debian). I placed it in ./bitcoin, which is the right place according to what I read. ...
2
votes
1answer
1k views

bitcoind sendfrom with minconf=0

Is it possible using bitcoind JSON-RPC API to receive funds from someone and send it immediately to another third-party address? I do not want to wait for 1 confirmation. getbalance with minconf=0 ...
2
votes
0answers
53 views

A question on CNode class data members

Can any expert help me understand the need for the following members of CNode in src/net.h std::deque<CSerializeData> vSendMsg; std::deque<CInv> vRecvGetData; std::deque<CNetMessage>...
2
votes
0answers
111 views

Include Bitcoin-Transaction within database-Transaction

I am writing a system that uses the Bitcoin Core JSON-RPC API. Use case: user wants to withdraw some BTC to his BTC address. My application handles this request by the following logic: Check if ...
2
votes
0answers
104 views

Using the bitcoind, can I query if funds have been sent to a multisig address?

I would like to query whether funds have been sent to a multi-sig address. Using the daemon: the address is valid, but listunspent and getreceivedbyaddress don't show the multisig address. I can see ...
2
votes
0answers
130 views

Send Bitcoin programmatically from my iPhone app

I want to allow users to buy stuff with Bitcoin in my iPhone app. I don't want to use things such as Coinbase or Stripe, I want to send the Bitcoin programmatically. I'm pretty new to Bitcoin but as ...
2
votes
0answers
923 views

Trying to restart bitcoind when it dies

I am trying to have Monit monitor my bitcoind process because it crashes a lot ever since the spamming has begun. I have this in my monitrc file: check process bitcoind with pidfile /home/ubuntu/....

1
2 3 4 5
7