Questions tagged [bitcoind]

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

bitcoind is the name of the command line software for Bitcoin Core. It does exactly the same things as Bitcoin Core except that it has no GUI interface. To interact with bitcoind, you must use the bitcoin-cli tool or another tool that can communicate over its Remote Procedure Call (RPC) interface (e.g. curl). bitcoind's RPC interface adheres to the JSON-RPC 1.0 specification.

bitcoind uses the same source code as Bitcoin Core for all of its functionality. The only code differences are those involved in the GUI; that code is not needed for bitcoind. bitcoind is a full node wallet software. It will verify every single block and transaction that it receives and relay the valid ones. As a wallet software it also handles private keys and sending and receiving Bitcoin.

2339 questions
43
votes
7 answers

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 this is failing (like just now) using sudo pkill -9…
ManreeRist
  • 907
  • 2
  • 8
  • 12
22
votes
7 answers

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 with rpcauth. Please see share/rpcuser for rpcauth…
sektor
  • 323
  • 1
  • 2
  • 6
21
votes
6 answers

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 as my password will show up in the shell history.…
Peter Smit
  • 493
  • 3
  • 9
19
votes
1 answer

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 not, how can I fix it? I downloaded the new bitcond…
zono
  • 1,935
  • 1
  • 20
  • 35
19
votes
6 answers

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/bitcoin/bitcoin/blob/master/doc/build-unix.txt I believe…
Sean Chapman
  • 1,740
  • 1
  • 17
  • 30
18
votes
3 answers

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 few parameters and bitcoin-cli help datadir says…
ChiseledAbs
  • 385
  • 2
  • 3
  • 7
17
votes
5 answers

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
ManreeRist
  • 907
  • 2
  • 8
  • 12
14
votes
3 answers

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?
Patoshi パトシ
  • 11,056
  • 18
  • 84
  • 158
13
votes
2 answers

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 not rely on some third party provider, which could…
13
votes
1 answer

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 are the main similarities/differences between…
morsecoder
  • 14,168
  • 2
  • 42
  • 94
8
votes
1 answer

Whats the difference between "txid" and "hash" - getrawtransaction bitcoind

Sometimes the txid key is the same as the hash key in the return of getrawtransaction, sometimes different. I'm trying to understand more about these... What are the differences, and why are they sometimes identical and sometimes different? Example…
sizzlecookie
  • 466
  • 4
  • 9
8
votes
2 answers

Can I make and host bitcoin wallet in my own website to get rid of using 3rd party wallets

I searched a lot about it but didn't get a proper answer I want to build my own bitcoin wallet and host it on my website for my personal usage and other visitors use. If someone know that how to do that then please send me some links for reference…
Mohit Bumb
  • 193
  • 1
  • 2
  • 8
6
votes
1 answer

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?
BitWarrior
  • 167
  • 3
6
votes
2 answers

bitcoind daemon mode

When running bitcoind from a systemd service, as in https://github.com/bitcoin/bitcoin/blob/master/contrib/init/bitcoind.service, what is the role of the -daemon flag? Basically I'm asking what does -daemon do in a situation where bitcoind is run…
user2066480
  • 185
  • 1
  • 8
6
votes
1 answer

How do I empty the memory pool?

I have some transactions pending in the memory pool, how do I empty the memory pool without restarting bitcoind ? I would like the transactions to be cancelled also.
drcelus
  • 225
  • 2
  • 7
1
2 3
15 16