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
42
votes
3answers
27k 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 ...
33
votes
10answers
27k 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 ...
32
votes
6answers
24k 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 ...
31
votes
6answers
30k 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 ...
30
votes
5answers
10k 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"=>"...
30
votes
5answers
32k 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. ...
24
votes
1answer
27k 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 ...
21
votes
4answers
3k 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 ...
21
votes
3answers
19k 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?
21
votes
1answer
19k 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 ...
21
votes
3answers
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. ...
20
votes
1answer
8k 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?
20
votes
6answers
24k 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 ...
19
votes
1answer
12k 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 ...
19
votes
1answer
6k 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 ...
18
votes
5answers
19k 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/...
18
votes
4answers
12k 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?
18
votes
1answer
3k 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 ...
17
votes
2answers
3k 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?
17
votes
1answer
5k 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/...
17
votes
2answers
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 ...
16
votes
8answers
10k 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 ...
16
votes
2answers
6k 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
1answer
7k 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 ...
15
votes
1answer
11k 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, ...
15
votes
2answers
1k 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,...
15
votes
2answers
20k 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?
14
votes
3answers
7k 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 ...
14
votes
4answers
7k 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
14
votes
5answers
9k 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 ...
14
votes
5answers
11k 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 ./...
14
votes
2answers
6k 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 ...
14
votes
3answers
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 ...
14
votes
1answer
9k 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.
13
votes
4answers
13k 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 ...
13
votes
2answers
10k 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 ...
13
votes
1answer
6k 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
votes
2answers
16k 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 ...
13
votes
4answers
1k 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 ...
13
votes
1answer
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 ...
13
votes
1answer
9k 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 ...
12
votes
2answers
16k 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?
12
votes
1answer
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.
12
votes
6answers
20k 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 ...
12
votes
2answers
5k 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 ...
12
votes
2answers
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 ...
12
votes
2answers
4k views

How to setup a LAN network with only one bitcoind client downloading the blockchain?

I want to do the following: I have one small server PC at home. I want to install bitcoind on that machine to download the blockchain information. Then I want this machine to accept RPC calls from my ...
11
votes
2answers
4k views

What are the steps in building bitcoind on Mac OS X 10.6?

Following the instructions in build-osx.txt (which seem sadly out of date) leaves me without a file named libboost_system.a. Here is how I built boost: % cd boost_1_42_0 % ./bootstrap.sh % ./bjam ...
11
votes
1answer
3k 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 ...
11
votes
1answer
2k views

What is the difference between time, blocktime and timereceived?

What is exactly the difference between time, blocktime and timereceived in transaction information returned by Bitcoind JSON RPC API? For example: { "amount": 0.02, "blockindex": 45, "...