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.

2300 questions
51
votes
3 answers

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 will make that possible But I can't find details of…
user
  • 1,093
  • 2
  • 8
  • 15
42
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
  • 887
  • 2
  • 8
  • 12
41
votes
2 answers

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?
amanusk
  • 583
  • 1
  • 4
  • 10
39
votes
1 answer

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 default, and it has one username & password. On the…
makerofthings7
  • 12,656
  • 11
  • 60
  • 129
38
votes
10 answers

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 time stamp of the last generated block, but the…
Steven Roose
  • 11,473
  • 8
  • 44
  • 71
36
votes
6 answers

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. getreceivedbyaddress doesn't work with addresses…
Steven Roose
  • 11,473
  • 8
  • 44
  • 71
35
votes
6 answers

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 bitcoind client still only shows ~60 connections…
user3145
  • 867
  • 1
  • 8
  • 17
31
votes
5 answers

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…
Kyle Drake
  • 311
  • 1
  • 3
  • 3
24
votes
3 answers

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?
Sathish Manohar
  • 341
  • 1
  • 2
  • 6
22
votes
3 answers

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. Here's a quote from their site: The SatoshiDice…
Max Min
  • 561
  • 4
  • 10
22
votes
2 answers

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 that sh file, to make walletnotify work for more than…
M.R
  • 501
  • 1
  • 4
  • 11
22
votes
2 answers

What are the benefits of using btcd instead of bitcoind?

btcd 1.0 was released October 3, 2013. Why use it instead of bitcoind?
Colin Dean
  • 7,014
  • 3
  • 30
  • 58
22
votes
1 answer

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 was the original 'client' or 'node'. Is it true that…
xil3
  • 275
  • 1
  • 3
  • 11
21
votes
4 answers

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 privacy to be partially undermined, by an…
Willtech
  • 3,186
  • 2
  • 13
  • 42
21
votes
7 answers

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 ./chainstate 30G . How to know if it synced or…
Igor Barinov
  • 546
  • 1
  • 4
  • 17
1
2 3
99 100