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

Filter by
Sorted by
Tagged with
6
votes
3answers
7k views

Sending bitcoins programatically without running a node [duplicate]

How can I send bitcoins in my web app without running the daemon on my server? Is there a way to do it? Do third parties allow you to send through them?
5
votes
3answers
887 views

How to receive payments online to single address per user in scalable way?

Suppose we are building online casino/market and want to receive payments. To be scalable, safe and have good user experience, we: cannot generate new address for every single payment. Having single ...
9
votes
2answers
3k views

Is there a list of mining pools' Bitcoin nodes IPs?

Is there a list containing the IPs of Bitcoin nodes owned by various mining pools?
9
votes
4answers
7k views

Possible to speed up reindex?

I just reindexed a node that was already synced (in order to enable txindex); it took around 9 hours. It's on a pretty good system: 16G RAM, i7 with 4 physical cores. Storage is a weak point, with ...
9
votes
1answer
2k views

Easiest way to control a remote bitcoind instance?

What's the easiest way to control bitcoind running on a remote machine? I'd like to make transfers, manage my wallet, etc, and ideally I'd like to do it using a UI such as bitcoin-qt. Unfortunately ...
7
votes
1answer
5k views

How to sign bitcoin transaction with 'bitcoind' and non-bitcoind-wallet private key?

I want to create and sign bitcoin transaction using only 'bitcoind' and 'bitcoin-cli'. I can create a transaction using createrawtransaction RPC API, but signing it using 'signrawtransaction' fails. ...
7
votes
3answers
2k views

Is it safe to run bitcoind on another server

I'm making first, rough concepts of some ideas for bitcoin-enabled services I have in mind. One thing that I wonder is, is there a best-practise approach on running bitcoind on another server that ...
6
votes
2answers
541 views

What are the risks of running an online store via a bitcoind connection using less than the minimum of 8 connections?

I have 1GB of memory to work with on my VPS. I want to run bitcoind as well as a few other crypto currency daemons. As it stands, number of connections seem to be the only value I can change that ...
6
votes
6answers
8k views

How to get unspents for a specified bitcoin address?

I want to access unspent data of a specific bitcoin address. I am trying this command bitcoin-cli -regtest listunspent "some bitcoin address" But I am always getting an empty list. I am using local ...
5
votes
2answers
3k views

Why does gettransaction report me only the receiving address?

Both on "send" and "receive" transactions, the command gettransaction gives me the account name, and the receiving address, ignoring the send address. Why should I care about receiving address in a "...
5
votes
2answers
1k views

Connect already running bitcoind with bitcore for bitcoin explorer

I want to create a bitcoin explorer using bitcoind. I am using bitcore and insight API for this purpose. I am already running bitcoind in my local system . I want to connect this running bitcoind ...
4
votes
4answers
16k views

What is taker and maker fee?

Please see the attached pictures as a reference If I sell my 0.9 Litecoin at 39.18 (Assume that I can sell at this price) , do I need to pay any fee What If I see my 0.9 Litecoin at 39.15 (Assume ...
3
votes
1answer
734 views

How can I create a transaction that collects inputs from many addresses and sends them to one address in bitcoind?

I'm using bitcoind and would like to understand how to create transactions that send inputs from many specifically selected addresses (from my wallet) to one destination address. I want to do manually ...
10
votes
3answers
6k views

How to estimate optimal fees for transaction in bitcoind?

As I understand, with the network congestion it's sometimes advisable to set a higher fee to process a transaction within a block or two. Is there some way to estimate the optimal fee through calls to ...
9
votes
1answer
568 views

Importprivkey's “label” - is it the same as an account?

The "importprivkey" API call allows one to import a private key and save it with a label. Is the "label" in the API call synonymous with an account used in the wallet?
8
votes
2answers
4k views

What are the categories of a transaction, and what do they mean?

I've only seen "receive", "send", and "immature". Are there other categories that I'm missing? And what do they mean? It seems that "receive" means a transaction that gave our account coins, and "send"...
7
votes
8answers
7k views

How to communicate between Java and bitcoind?

I am having problems communicating between Java and bitcoind - every JSON RPC library I try has some issues. Can anyone provide a working implementation of even the most basic JSON RPC communication ...
6
votes
2answers
1k views

How to make bitcoind connect to more nodes?

Let's say I have a dedicated server just for my bitcoind and for better reliability and some security reasons I want it to be connected to a much bigger number of nodes than it is willing to do by ...
6
votes
2answers
2k views

Manually creating transactions

Due to complete lack of documentation on the subject, how would the pseucode for creating a transaction look using the following functions: createrawtransaction signrawtransaction and ...
6
votes
3answers
14k views

Mining pool software for home use

I have tried to set up a mining pool with my home computers. I am running bitcoind on one machine, and the others, also running bitcoind, were started with --url and --userpass to my central bitcoind ...
6
votes
1answer
2k views

What is the best way to get notified of new payments received

Using the daemon and not a 3rd party pinging service, what is the best way to get notified of new payments? Do we need to constantly poll the server?
6
votes
1answer
2k views

Is there a connections limit on bitcoind?

I don't know if it is a lot or a few, but I see this number of connections: bitcoin-cli getnetworkinfo | grep connections "connections": 66, It does not seem to get over 70, is there an in-built ...
5
votes
1answer
1k views

Bitcoind and multiple users

I was wondering if anyone had advice for running bitcoind for multiple users. I obviously don't want users to get into other users transactions. As far as I can tell I'll need to run multiple ...
4
votes
1answer
3k views

JSON RPC call from webpage to Bitcoin Core

I want to make API calls to my Bitcoin Core wallet from my webpage but when I try to connect it gives me Internal Server Error I'm using easybitcoin.php JSON from Github. I'm trying with this JSON ...
3
votes
2answers
2k views

How to get a history of incoming and outgoing transactions for a certain address?

Along with the history of incoming and outgoing transactions, how would I find the first block that that address appeared in (to find when the wallet was created)? I want to do this by parsing with ...
2
votes
1answer
734 views

Do I need the bitcoin blockchain for having a simple wallet using the bitcoind (daemon)?

I want to start playing around a bit with the technical side of Bitcoins (thinking of setting up an exchange). So I built a bitcoind (daemon) binary from source and now the docs say that when I run ...
2
votes
2answers
3k views

Bitcoind (linux) CPU usage through the roof

Basically I'm trying to keep a wallet on linux along with the RPC service so I can receive coins and poll the server periodically for transactions. I'm trying with both 0.8.1 and 0.8.5 and CPU usage ...
2
votes
1answer
424 views

How to handle incomplete blocks when reading blk*.dat files?

I'm trying to write a parser for blk*.dat files from scratch. Right now, I can read blocks, extract the header fields and calculate the correct block hash based on the header fields. I just tried to ...
1
vote
1answer
1k views

How to create a blockchain snapshot for a hardfork?

I've done source forks (altcoins) and I understand how those work. But I'm a little stuck on how forks are activated? I need to know how blockchain snapshots are created and how the wallets know to ...
1
vote
1answer
364 views

Create multisignature wallet from xpub keys in bitcoin core

I can create Multisignature wallet electrum with 2 xpub keys. How can I create bitcoin core to do that? Standart use; Add a multisig address from 2 addresses bitcoin-cli addmultisigaddress 2 "[\"...
19
votes
1answer
7k views

bitcond v0.12.1. “UpdateTip: 6 of last 100 blocks have unexpected version”

I replaced my bitcoind from v0.11.2 to v0.12.1. Then I found "UpdateTip: 6 of last 100 blocks have unexpected version" in debug.log. This error occurs at new block generation. Can I ignore this? If ...
14
votes
1answer
10k views

How to add additional information to transaction?

I want to add some additional information to my specific transaction, so that I can send the additional information to blockchain.
9
votes
2answers
2k views

What exactly is checked at various -checklevel's?

The standard bitcoin-qt/bitcoind client has an option -checklevel which purports to perform various checks on the block data stored on disk. Is there current documentation (other than the source) ...
9
votes
2answers
10k views

How to change the data directory with bitcoin-cli?

I am trying to change the data directory used by bitcoind and I am uder the impression that the command -datadir was removed as I can't find it with bitcoin-cli help, when I try to use it I get Too ...
8
votes
2answers
5k views

What does getinfo output mean?

I am trying to get my foot in the door wrt to bitcoind. I pulled the github version here. As suggested here, I am starting the daemon like so bitcoind -daemon and I am monitoring it like so ...
7
votes
2answers
10k views

To run bitcoin core testnet on Ubuntu 16.04

How can I run Bitcoin core testnet version on ubuntu 16.04 platform ? I am getting so many reference about how to run bitcoin core mainnet but it will take around 20 days to synchronize with the ...
7
votes
1answer
5k views

How to configure bitcoind in Arch Linux

Ok, well I've been watching the Bitcoin trend with some interest for several years. And I've finally decided to get involved myself. So yesterday and today I've been reading for several hours from the ...
6
votes
2answers
5k views

How to do mass payouts in my application to multiple addresses at once, or very quickly?

Let's say it's pay day--I've accumulated a lot of bitcoins, and sent them all to a single address. I now want to pay a lot of addresses from this "pool" of coins, say anywhere between 100 and 10,000 ...
5
votes
2answers
3k views

64: too-long-mempool-chain

I am using bitcoind json rpc api to send bitcoin to multiple bitcoin addresses. I am using sendrawtransaction. When i have 24 unconfirmed payments sent from my account, i can't send anymore because i ...
5
votes
1answer
1k views

Fees for bitcoind sendmany, limits for number of end addresses

I have two questions, both about sendmany. First, is there any limit on how much transactions can I send with sendmany? (Apart from bash's limit with maximal parameter length.) Is sending about 500 ...
4
votes
2answers
3k views

bitcoind just hangs (no output at all)

I do realize that in the early stages bitcoin has to download a lot (How long does it take to download the blockchain?), however, I assume this is like wget or rsync where it displays the progress. ...
4
votes
1answer
3k views

How is a transaction's output signed?

In a transaction Tx, the hash pointer of the earlier transaction (say TxE) that serves as input to Tx must be signed by the sender S of Tx. This is to show that S was the recipient of TxE. It remains ...
4
votes
1answer
1k views

What does “NODE_WITNESS (12)” mean as it is shown in bitnodes.21.co?

I'm running a pruned full node of bitcoin core version 0.14.0 and checking on https://bitnodes.21.co/nodes/ I can see that my node was labelled "NODE_WITNESS (12)" unlike of the others nodes shown, ...
4
votes
1answer
3k views

bitcoind getmininginfo says hashespersec is 0

I started mining yesterday on a low-end system, trying to figure out how it works. I used the bincoind build from Debian. When I try bitcoind getmininginfo today, I get the following output. { "...
3
votes
2answers
956 views

How does an encrypted wallet persist used keys from “getnewaddress” and the keypool after a restart?

I'm reading this wiki on wallet encryption and am confused on how I can call getnewaddress as described here and where that is being tracked after a restart of bitcoind. When a wallet is encrypted,...
3
votes
1answer
632 views

Creating secure architecture and payout process

I studied lots of valuable q&a here, but still I have some doubts. Case - simple game (calm down - I'm not one of the rookies creating exchange as seen here), which allows to pay for a game. The ...
3
votes
1answer
528 views

Can we derive parent’s private key using child’s private key?

In the book named Mastering Bitcoin by Andreas, the author described the usage of derived child keys. One thing I noted was that he said(page 108), The derivation function is a one-way function, ...
3
votes
1answer
404 views

Which version of the JSON-RPC protocol does Bitcoin use?

I would like to get some clarification on which version of the JSON-RPC protocol does Bitcoin use? 1.0 or 2.0?
3
votes
1answer
4k views

How to get instant notification of any Bitcoin transaction involving a specific public address as recipient without knowing the wallet or private key

Everything is in the title... For instance, Blockchain can do this if you import a public address and you set up their notification mechanism. Is there a way to do this in an intelligent (=efficient) ...
2
votes
1answer
3k views

Can't make successful call via remote JSON RPC

I can verify that my node is up and that the port is up via the above method, however no amount of effort has allowed me to successfully make a remote RPC call. I am booting my node via $ bitcoind -...