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
48 votes
3 answers
42k views

How can I run bitcoind in pruning mode?

I read this comment: You could consider running a pruning node, which is practically the same as a full node (including security), except it throws away some of the old history. Version 0.11 ...
  • 1,043
41 votes
2 answers
18k views

When should I use -reindex-chainstate and when -reindex

What is the difference between the options -reindex and -reindex-chainstate? Is one of the options faster? When should each option be used?
  • 573
39 votes
7 answers
48k views

How to safely shutdown bitcoind ?

Surprised this one hasn't been asked yet. But how / what is the recommended best practice for shutting down bitcoind ? Right now I'm manually killing the process with either sudo kill {pid} or if ...
38 votes
10 answers
36k views

How to check if the block chain is up to date using bitcoind or json-rpc?

I read the full api method list and did not seem to find one. I suppose there is no command specifically for that purpose, so what is the general way of doing this? I would consider checking the ...
  • 11.5k
37 votes
1 answer
37k views

What is the difference between the rpc port 8332 and port 8333?

What is the difference between the protocol and commands used on default ports 8332 and port 8333? From what I gather, port 8332 is the RPC port, it's "sensitive", only allowed by local host by ...
36 votes
6 answers
46k views

How to get an address's balance with the bitcoin client?

I want to see the balance of some address using bitcoind. I set txindex=1 and did a -reindex to get all transactions indexed. But still, there doesn't seem to be a way to get balances of an address. ...
  • 11.5k
35 votes
6 answers
29k views

How does one attain 1,000+ connections like blockchain.info?

At this moment, blockchain.info has over 1,900 nodes connected to their bitcoin client. I have been running an m1.small ubuntu 12.04 server and bitcoind for ~4 days straight now with no reboots. My ...
  • 847
31 votes
5 answers
14k views

In getrawtransaction, what is the vout integer in the vin list?

I'm working on trawling the bitcoin transactions coming in via getrawtransaction. I haven't been able to find the neccessary documentation to describe the vout integer in the vin array: {"txid"=>"...
24 votes
3 answers
30k views

How to send bitcoin with a message attached

Is it possible to send bitcoins with an attached message with the transaction? If yes how to do it?
22 votes
2 answers
17k views

How do I use walletnotify?

I have bitcoin daemon and I want to use the walletnotify option with a json-rpc call. Some of the examples use a "transaction.sh" file for walletnotify. What is it for? What do I have to write in ...
  • 501
22 votes
1 answer
22k views

What's the difference between bitcoind and bitcoin-qt? Different commands?

This is a multi-part question, mainly do to contradictory information from different articles. It's got me all confused. From my understanding, bitcoin-qt is just a GUI version of bitcoind - which ...
  • 275
22 votes
3 answers
5k views

How does Satoshi Dice's 'zero confirmations' transaction system work technically?

The popular bitcoin betting game Satoshi Dice sends back payments very fast, they don't wait for confirmations. The user sends money to Satoshi Dice and gets back winnings a couple of seconds later. ...
  • 561
21 votes
2 answers
4k views

What are the benefits of using btcd instead of bitcoind?

btcd 1.0 was released October 3, 2013. Why use it instead of bitcoind?
  • 7,014
21 votes
4 answers
26k views

How can I setup Bitcoin to be anonymous with Tor?

Bitcoin is billed as many things, among them its anonymity is highly regarded. While it is true that a transaction does not identify a user or wallet, recent news shows that there is the potential for ...
  • 3,146
21 votes
4 answers
15k views

How can I create a multi signature 2-of-3 transaction?

Can somebody help me with step-by-step list of how to create a multi signature 2-of-3 transaction?
21 votes
7 answers
17k views

How to know if bitcoind synced?

I installed the bitcoind and started it as daemon. After 10hours I've tried "du -h" ubuntu@ip-172-31-37-93:~/.bitcoin$ du -h 16K ./database 59M ./blocks/index 29G ./blocks 646M ./...
21 votes
6 answers
32k views

Ubuntu Linux -- How do I start bitcoind as a service to run automatically?

I've got a bunch of other services set up to boot automatically when my Ubuntu server starts (services like wicd-daemon and VPN), but I can't figure out how to set up the bitcoin daemon (bitcoind) to ...
21 votes
6 answers
4k views

Is there a way to provide the walletpassphrase to bitcoind without exposing it on the cmdline?

With bitcoin 0.4.0 I have encrypted my wallet. Now when I would want to use bitcoind, the only way to send money is to provide my wallet decryption key on the cmd line first. I do not want to do that ...
20 votes
1 answer
7k views

What is the use case of bitcoind ZeroMQ?

What is the use case of ZeroMQ implementation for bitcoind which will be merged into Bitcoin Core v0.12.0? Block and Transaction Broadcasting With ZeroMQ https://github.com/bitcoin/bitcoin/blob/...
19 votes
9 answers
13k views

How to check Bitcoind block chain download progress level

I have installed bitcoind on ubuntu server, and when I run screen -x for btc it says error -10 blockchain is downloading. How do I know the progress level? currently 125600 blocks are downloaded, but ...
19 votes
6 answers
21k views

When building bitcoind, I receive error "headers.h:36:20: fatal error: db_cxx.h: No such file or directory"

When building bitcoind on LinuxCoin (Debian based), I receive this error "headers.h:36:20: fatal error: db_cxx.h: No such file or directory" following the instructions at https://github.com/...
  • 1,740
19 votes
1 answer
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 ...
  • 1,855
19 votes
1 answer
4k views

How does the 'move' command work?

I have so far enjoyed the experience of learning about Bitcoins, mining, etc. I've setup a bitcoin daemon in hopes of developing a few apps and services in the near future. However, there is one thing ...
  • 665
18 votes
7 answers
18k views

rpc cookie authentication

I am getting a message when I start bitcoind : Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced ...
  • 183
18 votes
2 answers
9k views

What are the minimal system requirements to run a full Bitcoin node?

I want to build a low profile system running as a full Bitcoin node, i.e. just running Bitcoin Core 0.9+ and pretty much nothing else. What is the minimal system (in terms of power consumption) that ...
17 votes
4 answers
19k views

Check status of daemon?

I have started bitcoind on my linux box. How can I ask it what its status is? I assume it is downloading the blockchain and will continue to do so for hours or days. How can I find out where it is in ...
17 votes
2 answers
26k views

What is rpcuser?

Can I just make up a value for rpcuser/rpcpassword in bitcoin.conf? Or do I have to set one up somewhere?
  • 171
16 votes
5 answers
11k views

Check which bitcoind version I am running

I have a version of bitcoind on my server and I can't remember which version it is. How can I find out what version my bitcoind is ? eg: ./bitcoind -version ..or such
16 votes
3 answers
23k views

How to get all addresses - including the "change" addresses - from bitcoind?

I want to get all my addresses - including the auto-generated "change" addresses - from a running bitcoind somehow. I haven't been able to do it in a simple way. "getaddressesbyaccount" and all the ...
  • 2,605
16 votes
2 answers
14k views

Why doc says importing private keys is so dangerous?

There are a lot of applications when someone would like to import a private key. However in wiki documentation they say it is very dangerous: https://en.bitcoin.it/wiki/How_to_import_private_keys ...
  • 1,668
16 votes
1 answer
5k views

Where is the UTXO data stored?

When a new transaction is received it is added to the memory pool (after checking for conflicts). While mining, only the transactions which are in the pool are considered. What happens to the ...
  • 457
16 votes
2 answers
8k views

How do I detect a double-spend?

As a vendor, how do you detect a double-spend? I'm happy to tell end-users that I'm proceeding with a transaction on 0 confirms, simply assuming everything is fine. I'm selling physical goods and so I ...
15 votes
3 answers
8k views

Attacking Bitcoin with a supercomputer

The difficulty in Bitcoin is recalculated every 14 days. What if immediately after this difficulty adjustment someone targets Bitcoin nodes with a supercomputer and start creating new blocks? Such ...
  • 285
15 votes
3 answers
16k 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 ...
15 votes
3 answers
5k views

Can Bitcoin-Qt be configured to trim the blockchain?

I run Bitcoin-Qt and Bitcoin Armory on a laptop. I don't have the space to store the whole 20 GB (or however big it is now) blockchain. I understand the need to run through the entire thing for ...
  • 313
15 votes
1 answer
8k views

How does bitcoind generate a new address if the wallet is encrypted

Suppose that my wallet is encrypted with a passphase and currently I have not provided bitcoind with the passphrase to access the private keys section of the wallet. If I enter: bitcoind ...
  • 151
15 votes
6 answers
24k views

How to store data on the blockchain?

I am wondering if it is possible to give someone a bitcoin transaction ID and with that he can read some hidden data, like the blockchain.info notes on transactions, but for real, stored in the ...
15 votes
1 answer
12k views

How to generate SegWit address

How do I generate a SegWit address using Bitcoin Core CLI? Also will I be able to redeem those outputs and send them to a "legacy" address? If so, will this second transaction be accepted by older, ...
  • 361
15 votes
1 answer
13k 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.
15 votes
2 answers
2k views

Running a store through Tor - what are the setup options available?

I am required to setup a store that will operate through Tor and accept Bitcoin payments only. I know I can run the standard client on the server and make it connect to peers only through Tor. However,...
  • 42.8k
14 votes
2 answers
20k views

What is the bitcoind command to send all coins to another address?

I'm running bitcoind and I want to send all my coins to another address. What is the command for this?
14 votes
3 answers
7k views

What is a step by step way to insert data in OP_RETURN?

I was following https://bitcointalk.org/index.php?topic=453086.0 for creating a message in OP_RETURN. I am able to decode my raw transaction, but on signrawtransaction it gives error: {"code":-22,"...
  • 333
14 votes
3 answers
22k views

All Bitcoin Public Keys with non-zero balance

I want to get a database or otherwise retrieve a set off all bitcoin public keys (not addresses) that have non zero balances. What would be the easiest way to do that? Is there an API that could do ...
14 votes
2 answers
2k views

What is the safest method managing a large number of receiving Bitcoin addresses?

Say I want to run a big project, where users can continually request new addresses to deposit Bitcoins in their online account. I suppose I will have to pre-generate thousands of Bitcoin key-pairs and ...
  • 141
14 votes
1 answer
11k views

How to get a bitcoin address's balance?

I know blockchain.info has an API: https://blockchain.info/q/addressbalance/134dV6U7gQ6wCFbfHUz2CMh6Dth72oGpgH gets the bitcoin address's balance,but it's not open source and must connect to the ...
  • 275
13 votes
1 answer
8k views

Difference between bitcoin-tx, bitcoin-cli, and bitcoind?

I just pulled from the bitcoin github and compiled, and noticed that there were three executable generated: bitcoin-cli bitcoin-tx bitcoind I have not heard of bitcoin-tx before, what is it? What ...
  • 13.8k
13 votes
1 answer
2k views

Is it possible to run more than one client instance on a machine?

Is it possible to run more than one Bitcoin client at the same time on the same machine? I tried to set different working ports, but it seems not to be working.
  • 537
13 votes
4 answers
2k views

Does the original Bitcoin client scale to contain millions of addresses?

We use the standard client in our business. The wallet already contains about 25k addresses. Will the wallet remain stable after the number reaches 100k or a million addresses? I was told that all ...
  • 3,168
13 votes
2 answers
6k views

How to findout the sender of a transaction

How do I find out which addresses are the inputs of a given transaction, given its transaction ID? I know there is a way, as satoshidice.com uses this. I would like to do this with own software and ...
13 votes
1 answer
2k views

How do I configure the Bitcoin client for SSL on Windows?

Specifically I would like to connect to bitcoind from an outside system but I'm concerned about security. I've seen where others have said that SSL support is built into the Bitcoin client but how do ...
  • 14.3k

1
2 3 4 5
46