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

Filter by
Sorted by
Tagged with
51 votes
3 answers
44k 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 ...
user's user avatar
  • 1,093
23 votes
4 answers
32k 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 ...
Willtech's user avatar
  • 3,259
22 votes
2 answers
19k 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 ...
M.R's user avatar
  • 501
21 votes
4 answers
16k 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?
Andrew Vorobyov's user avatar
13 votes
2 answers
7k 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 ...
Frederick Behrends's user avatar
39 votes
11 answers
38k 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 ...
Steven Roose's user avatar
  • 11.8k
36 votes
6 answers
49k 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. ...
Steven Roose's user avatar
  • 11.8k
3 votes
3 answers
1k views

Why does Bitcoin uses a Script language?

From what I heard is that Bitcoin use Script to verify transactions (I'm probably wrong). Wouldn't be sufficient just signing the transaction with the private key and append the signature to the ...
Vladislav Zhdanov's user avatar
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"=>"...
Kyle Drake's user avatar
16 votes
3 answers
25k 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 ...
Karel Bílek's user avatar
  • 2,685
14 votes
3 answers
8k 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,"...
wizgot's user avatar
  • 333
36 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 ...
user3145's user avatar
  • 877
12 votes
2 answers
8k views

What is chainwork?

If I run the RPC call getBlock on the bitcoin-qt client it gives me field called chainwork containing a hash. I can't find any information what this value is about. Request: getblock ...
Dennis Kriechel's user avatar
16 votes
2 answers
9k 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 ...
Derek Hans's user avatar
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 ...
Sai's user avatar
  • 313
9 votes
2 answers
4k views

Is there a way to change the wallet.dat location without changing the entire data directory?

I know that Bitcoin supports the -datadir command line option which specifies that the wallet.dat and blockchain should be stored in a custom location rather than %appdata%\roaming\bitcoin but is ...
David Perry's user avatar
  • 14.4k
6 votes
1 answer
2k views

Get notified of incoming Bitcoin transaction, as soon as it broadcasted

After a few weeks of searching for an answer, I decided to ask here. I want to accept a Bitcoin payment, to a specific wallet, and immediately, when the user approved the payment, to receive an ...
Ohad Levi's user avatar
3 votes
1 answer
3k views

How to get xpub or mpk(bip32) for my bitcoin core wallet?

I m not getting any such option in bitcoin-core Ui and documentation http://bitcoindaily.org/bitcoin-guides/bitcoin-core-tutorial/
Priyanka Agrawal's user avatar
44 votes
2 answers
22k 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?
amanusk's user avatar
  • 623
19 votes
9 answers
14k 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 ...
Stephen Paulraj's user avatar
18 votes
2 answers
10k 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 ...
Monty Carlo's user avatar
16 votes
3 answers
24k 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 ...
Benedikt Bünz's user avatar
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 ...
Emre K.'s user avatar
  • 3,178
12 votes
2 answers
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 ...
sad_mac's user avatar
  • 121
11 votes
4 answers
10k views

Bitcoin is not connected in regtest mode

I am having trouble using regtest mode on Linux. Using pre-compiled version 0.9.2.1 for linux and starting regtest mode as instructed on bitcoin.org: <bitcoin-ver>-linux/bin/64>> ./...
Joe M's user avatar
  • 171
7 votes
3 answers
10k views

How can I export all my private keys using bitcoind?

I know that PyWallet has a -dumpwallet but without using pywallet, how can I export all the addresses and privatekeys with the stock bitcoind? Is there an API command that lists all addresses held by ...
Stephen Gornick's user avatar
7 votes
1 answer
2k views

How can I find the "real" difficulty on testnet?

As is well known, testnet has a "20-minute rule": if no block is found within 20 minutes, the mining difficulty drops to 1 until a block is found. From some experimentation, it appears that bitcoind'...
Nate Eldredge's user avatar
5 votes
3 answers
1k views

Format of a block key's contents in bitcoind's LevelDB?

I am trying to use bitcoind's LevelDB block index files (that are stored in blocks/index) to find the file (e.g. blk00029.dat) and byte position of specfic blocks. Thanks to questions What is the ...
Arjen's user avatar
  • 153
4 votes
2 answers
4k views

Insert data to transaction with OP_RETURN

This might be a possible duplicate with this. I want to know a proper way to insert additional string with OP_RETURN and retrieve the transaction from block chain and decode it accordingly. Thank ...
Rasela Don's user avatar
4 votes
3 answers
1k views

How can we access all transactions, including spent transactions, through bitcoind?

We are running bitcoind version v0.8.2-332-gf19eda1-beta. Our goal is to parse all transactions in a given block. To begin we call "bitcoind getblock ", which gives us a list of associated txid's. ...
IHateBitcoin's user avatar
22 votes
1 answer
23k 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 ...
xil3's user avatar
  • 275
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 ...
somesh's user avatar
  • 457
10 votes
2 answers
9k views

Is there a light (SPV) version of bitcoin core (bitcoind)?

I'm trying to develop an SPV Bitcoin client which makes use of a library requiring bitcoin core (a running bitcoind service). However, from what I understand, Bitcoin Core is full node, meaning that ...
FedFranz's user avatar
  • 652
10 votes
1 answer
5k views

How does the bitcoin network recover in case of a hash collision in the block hash?

A Bitcoin client has to download the whole blockchain from the P2P network in order to become a full node. A full node is able to determine, if a transaction in the network is valid or not. To ...
user1861174's user avatar
8 votes
3 answers
2k views

What's the best way for a website to detect payments from green addresses?

Does any proven third party code exist for this? Edit* To be more specific, what I haven't been able to find out is how to get the sender's bitcoin address when receiving a transaction. As far as ...
Amin's user avatar
  • 1,482
8 votes
2 answers
2k views

Does assumevalid lower the security of Bitcoin?

Bitcoin's assumption was to download the blocks and verify it in order to prevent getting fooled. But by default, the assumevalid option is enabled in the software, which, as I understand it, makes ...
fervi's user avatar
  • 103
7 votes
1 answer
5k views

Is there a way to find how many nodes are there?

As a single bitcoind node I can only detect how many connected peers I have. Is there a way to have a vision of the whole bitcoin network?
moshaholo's user avatar
  • 633
7 votes
1 answer
4k views

What are the debug categories?

In the bitcoin configuration you can set debug logging for the following categories. I can't seem to find an explanation of what each of these categories does. Can someone explain them or point me in ...
Edward Kerstein's user avatar
6 votes
1 answer
2k views

How do I get the private key of an address in descriptor wallets? How to dumpprivkey?

When I run dumpprivkey from Bitcoin Core 0.21.1. I get the following error message: error code: -4 error message: This type of wallet does not support this command I came across achow's explanation ...
U2F0b3NoaVNhdHVyZGF5's user avatar
5 votes
1 answer
4k views

Transaction fees and transactions with bitcoin-cli. Wallet address balance negative

I'm trying to make a bitcoin website and I tried to implement a sort of 'withdraw' button which would allow you to send your money in the wallet address to some other address. The problem I am facing ...
Sanchit's user avatar
  • 103
4 votes
1 answer
4k views

What are some commonly used commands for Bitcoind shell command line?

I just installed the bitcoind daemon on my ubuntu, but i was wondering what are some of the most commonly used commands for bitcoind? Also is there a cheatsheet for this? thanks
Patoshi パトシ's user avatar
3 votes
1 answer
5k views

What is the maximum of receive addresses the default wallet can handle?

I guess there is no limit. But on tests, what is the maximum before the bitcoind start to slow down in a specific machine?
Felipe's user avatar
  • 1,738
2 votes
1 answer
640 views

How to getheaders from blockchain?

I have run a full node on linux now I can run commands with bitcoin-cli like: bitcoin-cli getbestblockhash it returns: 0000000000344240308f54ded700542571b3df9efe05fab92e669099e20e0d92 or bitcoin-...
Hamid Naghipour's user avatar
1 vote
1 answer
1k 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 "[\"...
Saim Neftci's user avatar
0 votes
1 answer
229 views

Please i need help about BitlyCore.com [closed]

Please I need help. I want to know if anyone knows about BitlyCore.com I have been running the full block for days now and it's just stuck at 87% please I need help.
Linux87's user avatar
41 votes
1 answer
40k 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 ...
makerofthings7's user avatar
24 votes
3 answers
32k 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?
Sathish Manohar's user avatar
21 votes
6 answers
34k 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 ...
Christopher Steffen's user avatar
21 votes
7 answers
24k 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 ...
sektor's user avatar
  • 313
21 votes
7 answers
19k 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 ./...
Igor Barinov's user avatar

1
2 3 4 5 6