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

4
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
742 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
340 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
440 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
152 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
439 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
104 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
110 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
724 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
41 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
48 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
92 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
61 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
142 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
133 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
132 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
158 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
190 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
305 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
737 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
64 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
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
99 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
751 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
315 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
504 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
538 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
357 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
218 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
95 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
837 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
249 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
736 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
947 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
722 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
8 views

Switching between pruned and non-pruned blocksdir ok?

Is it ok to swap the nodes blocksdir upon restart without corrupting sth. cache etc.. I have two blocksdir: one locally pruned blocks, the other external with all blocks in blocks on usb drive. Id ...
1
vote
0answers
30 views

Enable dustRelayFee behavior on testnet to get error code 64: dust

Crafting and sending an utxo of 1 satoshi does works and get mined on testnet without error. However on mainnet the error code 64: dust arise. I understand the basic idea that you are not able to ...
1
vote
0answers
32 views

Error mandatory-script-verify-flag-failed (Signature is found in scriptCode)

I found a few questions with the specific error, but couldn't find also the appropriate answer. So, here I am. I am working on regtest in a Python library that create transactions and then use JSON-...
1
vote
0answers
36 views

Wallet error ErrorFile=… /testnet3/wallets/db.log

I want to use two deamon for sync mainnet and testnet. I Run $ bitcoind for mainnet without problem After I run $ bitcoind -testnet But I get this error BerkeleyEnvironment::Open: LogDir=/home/...
1
vote
0answers
182 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 -...
1
vote
0answers
42 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
24 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 ...