Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

3
votes
0answers
667 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
324 views

Bitcoin core accounts deprecated, now what system i implement to make use of accounts?

I am designing one of the bitcoin based app on Bitcoin core using account system. Accounts i have used to store users wallet balance in different accounts. But since i know it is deprecated, then ...
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
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
0answers
411 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
148 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
2k views

publicly available json-rpc node for bitcoin-cli connection

There is a service provided by blockchain.info described on json_rpc_api page. More or less it describes the API that user can use to access their blockchain similar way as using bitcoin-cli to own ...
3
votes
0answers
427 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
101 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
109 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
702 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 ...
2
votes
0answers
34 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
38 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
0answers
84 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
133 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
125 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
0answers
128 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
0answers
144 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
0answers
185 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
0answers
292 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
700 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
62 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
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
104 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
97 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
128 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
708 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/....
2
votes
0answers
1k views

Need help with bitcoind “ zapwallettxes ” routine

It all started when I tried to make a couple of payments via bitcoin. The transactions just would not confirm. After doing some reading I saw that " zapwallettxes " would supposedly dump the ...
2
votes
0answers
303 views

How to use bitcoind with CUDA-ready box?

I am not asking for mining (which is all the information I could find on the net). I am asking for the regular bitcoind daemon, looking for having a full node with a reasonable high performance per ...
2
votes
0answers
498 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)...
2
votes
0answers
61 views

Which function is called to mine a block, broadcast the newly mined block & receive a newly mined block?

I am trying to understand the control flow and handling of transactions in the memory pool.
2
votes
0answers
518 views

on testnet: 'transaction already in blockchain'.. but it isn't

At least I don't think so! I'm trying to create a wallet infrastructure to minimise fees, and so I've been experimenting with raw transactions. I'm quite clueless but fortunately have enough sense to ...
2
votes
0answers
355 views

JSON RPC calls for Armory wallet

I'm trying to access an armory wallet via RPCs. For instance using the procedure listreceivedbyaddress should ideally return all of the addresses in my Armory wallet. However, when I run this from my ...
2
votes
0answers
216 views

Historical prices via API for major alts (not BTC)

I am trying to build a small project of mine using historical prices for major alternative currencies such as LTC, DGC, MOON, TIPS, etc and so far I managed to collect only current prices of cryptsy ...
2
votes
0answers
93 views

Transaction malleability and Bitcoind

I've been trying to get my head around the process that stops transactions from being malleable on a system built using Bitcoind. I'm pretty sure, that out of the box, right now, I'm not doing ...
2
votes
0answers
836 views

worker keeps getting temp banned with sgminer

I have 3 R9 280x sapphires I use with sgminer On almost every single pool, with or without --no-submit-stale, after about 5 min of hashing, my worker get's banned and hashing drops to zero. If I ...
2
votes
0answers
245 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 ...
2
votes
0answers
726 views

Creating own altcoin, error loading block database - Have Merkel and Genesis hash

I am creating my own altcoin on windows. I've compiled everything, done the first build, found the hash and nonce of the genesis block as well as the merkel root, inserted them into the code, and ...
2
votes
0answers
238 views

What limitations are there to creating a Bitcoin client on Google App Engine?

I want to create a Bitcoin client on App Engine with equivalent protocol functionality to bitcoind. With the new Sockets API available in Python and Java I believe this would almost be possible. The ...
2
votes
0answers
925 views

bitcoind 400 bad request - what's wrong with this code?

As per this code sample, I'm attempting to make a .net httpwebrequest from my local machine to a local bitcoind -daemon server. However, I'm only receiving a 400 bad request at webRequest.GetResponse()...
2
votes
0answers
719 views

How to Install bitcoind 0.7.2 Server on Ubuntu for bitcoin-testnet-box

I am trying to setup a private test net with the source at: https://github.com/freewil/bitcoin-testnet-box However, it requires bitcoind 0.7.2 (the latest version is 0.8.0). I tried installing 0.7.2 ...
2
votes
0answers
2k views

Why isn't bitcoind listening on its rpc port?

I run sudo netstat --ip -lpa | grep bitcoin After starting the bitcoin daemon and all I get is the 8333 port and the connections with other peers. But when I do the same but with | grep namecoin, I ...
1
vote
0answers
18 views

getbalance and listaddressgroupings inconsistent

I imported a private key from my electrum wallet (testnet) to bitcoincore (testnet) as follow: In my electrum wallet, I copy the private key associated to the address ...
1
vote
0answers
33 views

Creating a tunneling (wormhole) service for bitcoin wallets

Zcash recently announced a new wallet and service to connect mobile devices to a node running on a private home network using a tunneling service they are calling "wormhole" (1). Basically it is ...
1
vote
0answers
19 views

How i can connect to bitcoin core light server?

Need a bunch of Laravel + Bitcoin Core. Need a light version of bitcoin bark. Installed as follows: sudo apt-get install build-essential && sudo apt-get install libtool autotools-dev autoconf ...
1
vote
0answers
20 views

How do I know when a transaction never confirms and is removed from the mempool

I created a light wallet which can receive and send transactions. It works fine in normal situation. My (first) question is what are the situations where things can go wrong ? Is there a reference ...
1
vote
0answers
35 views

What is the best way to test new consensus protocol?

I wanted to test a new consensus protocol. However, the bitcoin core is a large codebase (>100k lines). Is there any small codebase which is designed to test new consensus protocols and includes only ...
1
vote
0answers
154 views

Running multiple Bitcoin nodes on same network

I want to run a bitcoin node on two separate devices (computer + dedicated hardware device) on the same network (and would like them to be externally accessible). Specifically, I have a Casa Node ...
1
vote
0answers
24 views

Lightning network (lnd): What's the best way to report lnd server issues/ask for help with channels that won't close?

I've been running a lnd/bitcoind node (mainnet) for a few months now. I had a couple open channels, made a couple purchases, things seemed pretty stable. But then I moved cross country, and in the ...
1
vote
0answers
25 views

What is the cheapest way to pull the data from bitcoind/bitcoin-core?

I am wondering if there is a cheap way to scrape the bitcoind data. I am using a remote server and cannot spend too much time running this program otherwise it would be expensive. I am wondering if ...