We’re rewarding the question askers & reputations are being recalculated! Read more.

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
8
votes
1answer
4k views

How do I read peers.dat file to get a list of all peers seen or that bitcoind has connected to?

In version 0.8.6 of Bitcoin, I see that peers.dat file is a custom database format declared in db.h:317 (class CAddrDB) and defined in dh.cpp:485. Any ideas on how I could go about reading the data ...
7
votes
2answers
8k views

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 ...
6
votes
1answer
933 views

How to handle a ridiculous amount of receiving addresses?

By ridiculous I mean something absolutely absurd. 1 million+ addresses. Like say if Amazon had started to accept payments, how could they possibly keep up? Bitcoind probably can't keep up? How would I ...
6
votes
1answer
977 views

How to run bitcoind (command line client) without connecting to other nodes?

I'm running Abe to create a blockchain SQL database, so I don't want the Bitcoin client to touch my copy of the blockchain at the moment. But I would like to query the blockchain with the bitcoind ...
3
votes
1answer
2k views

Error -25 when bitcoind sendrawtransaction

I am trying to send a bitcoin raw transaction, but always got such an error. what's the possible explaination? bitcoind --testnet sendrawtransaction ...
3
votes
1answer
931 views

Why is a transaction with outputs of less than ฿0.00005460 rejected?

I'm trying to create a transaction via JSON-RPC API. It has low outputs, but not below "dust" threshold, yet it's still getting rejected by bitcoind with error code "-22". Transaction includes fee of ฿...
3
votes
2answers
1k views

How can I specify transaction fee size when creating a raw transaction?

Question: Am I able to specify the transaction size in a raw transaction without having to send "change" back to myself? I get some unspent bitcoins listunspent() I grab the txid, vout, and ...
2
votes
2answers
1k views

accept bitcoin payments for orders without 3rd party software

I've been searching for an open-source alternative to blockchain.info's Receive Payments API (https://blockchain.info/api/api_receive). I want to run bitcoind on my own server and have payments ...
1
vote
2answers
318 views

Bitcoind confirmations during fork

I'm using bitcoind's JSONRPC interface to get transaction information for my wallet, specifically, I'm running a little script every time a block gets broadcast (using -blocknotify) which calls the ...
6
votes
3answers
1k views

bitcoind — how can i get the number of peers to exceed eight?

Presently I am running bitcoin-qt 0.5.1 on ubuntu 11.04, and am running with seventeen peers. But if I run bitcoind (still 0.5.1 on ubuntu 11.04) I can't get more than eight, no matter how long I ...
5
votes
2answers
2k views

Add a Watch-only Wallet in Bitcoind

When running bitcoind under OSX/Linux, how can we add a watch-only wallet using the JSON RPC? Do we need the public key or is the bitcoin address sufficient?
5
votes
1answer
921 views

How to get BIP34Hash and nMinimumChainWork?

I'm interested in the technical question of how you got BIP34Hash and nMinimumChainWork. The changes were introduced here: nMinimumChainWork: https://github.com/bitcoin/bitcoin/commit/...
4
votes
1answer
5k views

rpcallowip=192.168.0.* ?? invalid configuration

I recently downloaded bitcoin from github and changed the settings to allow for rpc. This is how I have it: rpcallowip=192.168.0.* This does not work anymore. However when running bitcoind, it ...
4
votes
1answer
5k views

Can I import my wallet from my bitcoin core for electrum?

Bitcoin-qt, now bitcoin core is insane. It consumes 40GB hard disk space. It hogs network. I am thinking of using Electrum or something like that. I want to use another bitcoin client. Electrum is ...
4
votes
1answer
664 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 ...
4
votes
3answers
912 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. ...
3
votes
2answers
2k views

How to check if an output has been spent?

Using an rpc client (e.g. bitcoin-cli), for a given transaction and index of an output of it, how can I tell if the output is currently an utxo, or if it has already been spent? In the latter case, I'...
3
votes
1answer
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?
1
vote
1answer
1k views

regtest method not found

I have alredy looked at a lot of other similar questions here but they didn't involve my case or the solutions provided did not work for me. I'm trying to work in regtest mode and I'm using bitcoin ...
1
vote
2answers
1k views

How to get unique rpcpassword for bitcoind

I am on Linux Debian 8.4 and have one server running 24/7. I would like to help the Bitcoin network. On https://bitcoin.org/en/full-node#other-linux-distributions I got to the point where I should ...
-1
votes
2answers
345 views

Free bitcoins are real? [closed]

That's confusing the bitcoins used for marketing are real or not.. like some posted a code in facebook or in social media for free bitcoin so those bitcoin are real or a just marketing, hacking ...
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 ...
6
votes
1answer
3k views

Is it possible to create bitcoind regtest network on Ubuntu (which itself is on Virtualbox)?

I am getting into Bitcoin development and it seems that bitcoin regtest mode is perfect for testing our applications. I am trying to create a network, following Fred Tingey's answer but, ...
5
votes
4answers
7k views

What does Litecoin offer over Bitcoin?

Litecoin is different from Bitcoin in the following ways, however none of them are particularly useful and on the contrary are only less worthy. 84 million vs 21 millions: since Bitcoin is divisible ...
5
votes
3answers
5k views

How to find the change / sender address given a txid?

Suppose I'm making a service like SatoshiDice and when I receive a transaction I want to give some money back. Where can I find the sender address? If I run this, e.g.: bitcoin-cli gettransaction ...
5
votes
3answers
996 views

Would it be possible to provide a downloadable blockchain that is updated and verified by a mass of people?

As of November 2012, the blockchain is nearly 3 GB in size with a near-linear growth of about 500 MB/month (cut from exponential growth by the hard-coded block size limit, I guess). I want to install ...
5
votes
1answer
1k views

How to upgrade Bitcoin daemon in ubuntu 12.04?

I am currently having Bitcoin daemon version 0.9.0 and bitcoind getinfo shows error like "Upgrade required" { "version" : 90000, ... "errors" : "URGENT: Upgrade required: see https://www.bitcoin.org/...
4
votes
1answer
3k views

How to connect to a remote Bitcoin Core remotely

If I have 24/7 running bitcoind on a headless server, is there a graphical way to connect, maybe only temporarily to the server's Bitcoin Core daemon or its client to see if everything is going ...
3
votes
1answer
12k views

How much time in average does it take for an simple PC to create block?

Let's say I have simple computer (CPU- Intel i7 for example), and I start mining blocks in the bitcoin network. How much time in average does it take to create 1 block? (1 per week? 1 per month? 1 per ...
2
votes
1answer
754 views

Can't specify rpcport for testnet

Was there a recent change where it is no longer possible to specify rpcport? I noticed these two warnings: Warning: Config setting for -addnode only applied on test network when in [test] section. ...
1
vote
1answer
675 views

testnet server won't get any btc from TP's TestNet Faucet. what is the reason?

I have generate bitcoin address from testnet server. but I can't get any btc in those address. i tried many times and I failed. can anyone explain me that is the reason? whay i can't get btc on ...
1
vote
1answer
105 views

how is the value of crypto coin decided

Can any one help me with required information how a newly created coin value is assigned ? and how does the rate fluctuations occur
1
vote
1answer
239 views

About traditional Bitcoin mining

I'm curious about traditional bitcoin mining, before pooling. Did an older version of the bitcoin wallet found on sourceforge have a mining feature built in which worked on a simple macbook? if so ...
0
votes
1answer
149 views

Transaction still unspendable with CLTV

Previously I generated tx with CHECKLOCKTIMEVERIFY Here is the transaction https://tchain.btc.com/bb1415c166fd9f767c06d34d539f4b110ef4445f74a76c5ffad1ded33032e872 It lock funds before block 1442909. ...
0
votes
2answers
345 views

Can't reach remote bitcoin rpc server

I got vps with ubuntu 18.04 with ssh access and bitoind set up on it. This is my bitcoin.conf file: testnet=1 prune=35840 maxconnections=12 muxuploadtarget=20 daemon=1 server=1 rpcclienttimeout=5000 ...
0
votes
1answer
255 views

How is bitcoin sent into my bank account?

I've been trying to find a way to transfer bitcoins from my bitcoin wallet into my bank account, I've gone to a couple sites that kinda use a similar method, but I don't really understand how it works....
0
votes
2answers
247 views

How does bitcoind store blocks?

I want to parse blockchain manually and extract the UTXO set (for various reasons). Is there any way to understand how the blocks are stored without going through the C++ code? Some specs will be ...
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 ...
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 ...
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 ...
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 ...
19
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 ...
21
votes
3answers
18k 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?
13
votes
4answers
12k 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 ...
9
votes
2answers
2k views

Is there a list of mining pools' Bitcoin nodes IPs?

Is there a list containing the IPs of Bitcoin nodes owned by various mining pools?
9
votes
1answer
2k views

Push notification of incoming transaction

Is there a way to be notified by bitcoind via the CLI that some incoming transaction has been confirmed?
9
votes
1answer
994 views

Bitcoin “accounts” feature - Is it practical or scalable?

On the bitcoin wiki's "Accounts explained" page: https://en.bitcoin.it/wiki/Accounts_explained#Account_Weaknesses It clearly states: The accounts code does not scale up to thousands of accounts ...
7
votes
1answer
5k views

How to sign bitcoin transaction with 'bitcoind' and non-bitcoind-wallet private key?

I want to create and sign bitcoin transaction using only 'bitcoind' and 'bitcoin-cli'. I can create a transaction using createrawtransaction RPC API, but signing it using 'signrawtransaction' fails. ...
6
votes
3answers
7k views

Sending bitcoins programatically without running a node [duplicate]

How can I send bitcoins in my web app without running the daemon on my server? Is there a way to do it? Do third parties allow you to send through them?
5
votes
6answers
7k views

How to get unspents for a specified bitcoin address?

I want to access unspent data of a specific bitcoin address. I am trying this command bitcoin-cli -regtest listunspent "some bitcoin address" But I am always getting an empty list. I am using local ...