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

348 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
2 answers
934 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 ...
  • 51
4 votes
0 answers
193 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 ...
  • 129
4 votes
0 answers
2k 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 ...
4 votes
1 answer
548 views

How many addresses can Bitcoin Core 0.13 **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 the walletnotify feature How does the ...
  • 173
3 votes
0 answers
80 views

Problems with multiple wallets on RPC in bitcoin-core

I have been playing around a bit with Bitcoin Core (version 23.0), more specifically connecting to different wallets in Bitcoin Core through RPC in Python. I have found this library and tried to ...
3 votes
0 answers
692 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....
3 votes
0 answers
697 views

Raspiblitz slow sync performance

I'm syncing my raspberry pi 4 model B, 4GB and after 4 days I'm less than 50% synced. It seems as though there is something wrong with bitcoind as there are some weird symptoms going on. The pi is ...
  • 131
3 votes
0 answers
122 views

Various caches are defined in the Bitcoin source code. What do these caches refer to?

The source code is as follows: //! -dbcache default (MiB) static const int64_t nDefaultDbCache = 450; //! -dbbatchsize default (bytes) static const int64_t nDefaultDbBatchSize = 16 << 20; //...
  • 155
3 votes
0 answers
249 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 ...
  • 713
3 votes
0 answers
66 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 ...
  • 31
3 votes
2 answers
5k 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 ...
3 votes
0 answers
1k 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
0 answers
6k 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 ...
  • 53
3 votes
0 answers
237 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
0 answers
526 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
0 answers
509 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
0 answers
126 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; ...
  • 187
3 votes
0 answers
125 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
0 answers
838 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
0 answers
276 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
1 answer
183 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
1 answer
434 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 ...
  • 153
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
2 votes
0 answers
212 views

Pruned Bitcoind Backend for LND with txindex enabled for version > v0.13.0

I'm looking to prune a bitcoind node that will be used by LND. https://github.com/lightningnetwork/lnd/commit/410b30b9caaf59a78a29d8b924e14395b7daa59d From the LND commit recently by Kixunil. Note ...
2 votes
0 answers
99 views

How to compute deposits from the output of listsinceblock?

I am writing a program that, given the JSON outputs from multiple separate RPC calls to listsinceblock, stores valid deposit transactions in a database and then computes the total deposit for every ...
2 votes
0 answers
89 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 ...
  • 21
2 votes
1 answer
213 views

How to build coinbase transaction from bitcoin core?

I am coding a program that connects to bitcoin-qt as local server. For building the blockheader i need the merkleroot, to build the merkle root, i need the coinbase transaction (which is not provided ...
  • 176
2 votes
0 answers
132 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
0 answers
76 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 ...
  • 131
2 votes
0 answers
114 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 ...
  • 1,453
2 votes
0 answers
86 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
1 answer
444 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 (...
  • 41
2 votes
0 answers
732 views

Unable to get balance with bitcore lib

Using latest version of bitcore lib , want to check balance for making tx but once I include var explorers =require('bitcore-explorers'); after var bitcore =require('bitcore-lib'); Error: More ...
  • 21
2 votes
0 answers
113 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
1 answer
646 views

bitcoind starting and then quickly shutting down automatically

Lenovo E460, 8GB RAM, Fedora 26, bitcoin core command line version 0.16.0, All blocks completely downloaded on a flash drive with 256GB capacity. I rebooted my machine today without stopping the ...
  • 21
2 votes
0 answers
180 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
0 answers
178 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
1 answer
2k 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....
  • 153
2 votes
0 answers
184 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
1 answer
780 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
0 answers
191 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 ...
  • 121
2 votes
1 answer
178 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 ...
  • 121
2 votes
0 answers
309 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 ...
  • 21
2 votes
0 answers
343 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 ...
  • 121
2 votes
1 answer
1k 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
0 answers
368 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?
  • 21
2 votes
0 answers
76 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
0 answers
59 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>...
  • 105
2 votes
0 answers
122 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 ...
  • 121
2 votes
0 answers
110 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 ...
  • 227

1
2 3 4 5
7