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
41k 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 avatar
  • 1,033
21 votes
4 answers
25k 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 ...
user avatar
  • 3,136
21 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 ...
user avatar
  • 491
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?
user avatar
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 ...
user avatar
36 votes
6 answers
45k 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. ...
user avatar
  • 11.4k
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 ...
user avatar
  • 11.4k
4 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 ...
user avatar
31 votes
5 answers
13k 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"=>"...
user avatar
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,"...
user avatar
  • 333
15 votes
3 answers
22k 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 ...
user avatar
  • 2,555
35 votes
6 answers
28k 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 ...
user avatar
  • 837
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 ...
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 ...
user avatar
  • 313
11 votes
2 answers
7k 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 cant find any information what this value is about. Request: getblock ...
user avatar
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 ...
user avatar
  • 14.3k
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 ...
user avatar
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 ...
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 ...
user avatar
  • 3,148
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>> ./...
user avatar
  • 171
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 ...
user avatar
  • 121
7 votes
3 answers
9k 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 ...
user avatar
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 ...
user avatar
5 votes
1 answer
2k views

What exactly are the rev00000.dat files?

I've been looking at the on disk structured generated by the standard bitcoin-qt client. It looks to me that the rev?????.dat files are reverse application for blocks? So I imagine every single spent ...
user avatar
  • 520
4 votes
2 answers
3k 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 ...
user avatar
14 votes
3 answers
21k 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 ...
user avatar
7 votes
1 answer
1k 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'...
user avatar
4 votes
3 answers
978 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. ...
user avatar
2 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/
user avatar
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 ...
user avatar
  • 457
10 votes
2 answers
8k 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 ...
user avatar
  • 632
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 ...
user avatar
  • 1,472
10 votes
1 answer
4k 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 ...
user avatar
6 votes
1 answer
3k 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 ...
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 ...
user avatar
  • 103
4 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 ...
user avatar
  • 143
4 votes
1 answer
4k views

How is a transaction's output signed?

In a transaction Tx, the hash pointer of the earlier transaction (say TxE) that serves as input to Tx must be signed by the sender S of Tx. This is to show that S was the recipient of TxE. It remains ...
user avatar
  • 651
3 votes
1 answer
4k 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?
user avatar
  • 1,660
1 vote
1 answer
418 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-...
user avatar
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?
user avatar
  • 603
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
user avatar
0 votes
1 answer
170 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.
user avatar
40 votes
2 answers
17k 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?
user avatar
  • 563
35 votes
1 answer
36k 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 ...
user avatar
19 votes
1 answer
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 ...
user avatar
12 votes
2 answers
5k 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 ...
user avatar
  • 11.4k
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 ...
user avatar
  • 1,660
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, ...
user avatar
  • 361
7 votes
3 answers
2k views

How to know when a payment has been received by bitcoind?

I want to create a website which involves the creation of a new single-use address that a user would send bitcoins to. I'd like to know programmatically when the user has sent bitcoins to the address ...
user avatar
  • 205
24 votes
3 answers
29k 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?
user avatar

1
2 3 4 5 6