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
11
votes
1answer
2k views

What is the difference between time, blocktime and timereceived?

What is exactly the difference between time, blocktime and timereceived in transaction information returned by Bitcoind JSON RPC API? For example: { "amount": 0.02, "blockindex": 45, "...
6
votes
1answer
996 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
995 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
2answers
2k 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 ...
3
votes
1answer
963 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
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 ...
1
vote
2answers
328 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 ...
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
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, ...
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 ...
6
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
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'...
5
votes
1answer
985 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
3answers
927 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. ...
4
votes
2answers
863 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
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 ...
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
2k 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
2k 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
vote
1answer
714 views

testnet3 node sync process is very slow

My config file is similar to this: testnet=1 blocksonly=1 rpcport=5000 server=1 listen=0 prune=1000 dbcache=16000 rpcallowip=0.0.0.0/0 rpcuser=someuser rpcpassword=somepass I have started the ...
-1
votes
2answers
358 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 ...
15
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 ...
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
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/...
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
1k 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 ...
4
votes
0answers
5k views

Can I import my wallet from my bitcoin core for electrum? [duplicate]

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
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
1k 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. ...
2
votes
1answer
132 views

Running multiple bitcoin instances on same server system

I wish to run multiple instances of bitcoind on my server to support highly read intensive RPC applications. Following links: how to run multiple bitcoind node on one server? Running Multiple Full ...
2
votes
4answers
67 views

How does bitcoind choose its data directory?

Sorry, noob question I am new to anything linux related. I managed to set up bitcoin core just fine on my raspberry pi 4 and I have an external HDD that I want to use as my data directory for the 250 ...
1
vote
1answer
761 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
247 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 ...
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
0
votes
2answers
279 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 ...
0
votes
1answer
287 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
1answer
203 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
1k 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 ...
21
votes
1answer
20k 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 ...
12
votes
2answers
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 ...
13
votes
1answer
7k 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 ...
20
votes
6answers
26k 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 ...
13
votes
4answers
14k 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 ...
21
votes
3answers
21k 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?
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
1k 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 ...
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
3answers
887 views

How to receive payments online to single address per user in scalable way?

Suppose we are building online casino/market and want to receive payments. To be scalable, safe and have good user experience, we: cannot generate new address for every single payment. Having single ...