Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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

313 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
2answers
891 views

How to get notification on bitcoin receive with bitcoin core

How can I get Bitcoin receive notifications with Bitcoin Core. I have tried the walletnotify and blocknotify options. walletnotify is fired two times when I send or receive bitcoins. And with ...
5
votes
1answer
323 views

bitcoind and rollntime support

According to this page: https://en.bitcoin.it/wiki/Poolservers bitcoind's rollntime support is 'Supported, but not advertised'. I am taking that to mean that it doesn't provide the X-Roll-NTime ...
5
votes
2answers
816 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 ...
4
votes
1answer
324 views

Which RPC may I use to query bitcoind for raw transactions coming through?

I need to capture and store the raw transactions coming through my local full-node bitcoin instance. I read here that it is possible, but there is no mention of the particular RPC calls. I also see ...
3
votes
0answers
30 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
788 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
98 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
4k 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
1answer
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
232 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
477 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
159 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
513 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
445 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
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 ...
3
votes
0answers
105 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
114 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
750 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
256 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
391 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
405 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
51 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
52 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
2answers
111 views

Security implications of bitcoin.conf location

I'm setting up and hardening a dedicated headless bitcoind and lightning daemon and wanted to have a discussion about location of the bitcoin.conf. Item #1: Bitcoind defaults to using ~/.bitcoin/...
2
votes
1answer
212 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
109 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
72 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
2answers
396 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
0answers
156 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
137 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
718 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
142 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
581 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
170 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
118 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
228 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
201 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
889 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
313 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
780 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
65 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
52 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
106 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
102 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
129 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 ...