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

Can't make successful call via remote JSON RPC

I can verify that my node is up and that the port is up via the above method, however no amount of effort has allowed me to successfully make a remote RPC call. I am booting my node via $ bitcoind -...
2
votes
2answers
2k views

How to retrieve all transactions from bitcoind?

I am working on a project that need to parse all transactions from bitcoind. I have been using bitcoind which the option txindex=1 and pulling transactions using RPC call getRawTransaction. It work, ...
1
vote
1answer
475 views

Howto scale thousands of bitcoin accounts properly with bitcoind deamon?

It is said in the bitcoin wiki that: The accounts code does not scale up to thousands of accounts with tens of thousands of transactions, because by-account (and by-account-by-time) indices are not ...
1
vote
0answers
422 views

getblocktemplate not returning coinbasetxn

In a simple 3 node regtest mode setup getblocktemplate does not return 'coinbasetxn' even when passing in the capabilities string with coinbasetxn set. I do get a coinbasevalue and coinbaseaux field. ...
1
vote
1answer
612 views

bitcoind and bitcoin-cli and bitcoin-qt

following the hackernoon for full node btc, https://hackernoon.com/a-complete-beginners-guide-to-installing-a-bitcoin-full-node-on-linux-2018-edition-cb8e384479ea i have some small questions, is there'...
1
vote
2answers
2k views

How to get balance by any address using rpc bitcoind?

How to get balance of any address using rpc bitcoind? I mean getting by address the list of his unspent outputs in view something like this: TxHash;Value;Noutput.
0
votes
1answer
696 views

Bitcoin RawTransaction Json - what do all the variables mean

The below is the response we get. could someone please explain what each element is. type RawTransaction struct { Blockhash string BlockTS uint32 json:"blocktime" Confirmations int ...
0
votes
1answer
416 views

DashCoin insight setup in ubuntu system

I have tried to installed dash insight ui & api in my local machine (ubuntu OS) and it is completed all the steps but I m facing issue while start services in frontground. Let me share with you ...
0
votes
1answer
901 views

createrawtransaction and fundrawtransaction

I use createrawtransaction for create a rawtransaction with [] "zero inputs" and one output. I use fundrawtransaction for populate rawtrasaction with inputs. {"method":"createrawtransaction","params"...
9
votes
1answer
2k views

Passing a JSON argument to bitcoind in Windows command prompt

I've been trying to use sendmany on my local installation of Bitcoin-qt (version 0.7.0) from the Windows command prompt. I've seen examples but when I try them all I get is a JSON parsing error. I ...
9
votes
1answer
838 views

How is the size of a block calculated?

How is the blocksize currently calculated in Bitcoin Core? I'm specifically asking about how it's done for the purposes of enforcing the 1MB limit. If it's done by calculating the serialization length,...
6
votes
1answer
1k views

How to broadcast a transaction anonymously

Is it possible to broadcast a transaction to the network without revealing my personal IP address? My first guess is to connect bitcoind over Tor with proxy=127.0.0.1:9050. Is it the good way to do it ...
6
votes
2answers
6k views

16: mandatory-script-verify-flag-failed (Non-canonical DER signature) (code -26)

I try to send transaction via sendrawtransaction in console of bitcoind. Sig is: ...
6
votes
1answer
2k views

listsinceblock parameter: target-confirmations

listsinceblock help returns: listsinceblock ( "blockhash" target-confirmations ) Get all transactions in blocks since block [blockhash], or all transactions if omitted Arguments: 1. "blockhash" (...
5
votes
2answers
4k views

How to get the immature balance of an account?

I have run bitcoind and have several accounts. How do I get the immature balance of one account using RPC calls (if possible) ?
5
votes
1answer
3k views

Running full node over Tor

I am attempting to run a full bitcoin-core (v0.13.1) node over the Tor network for the first time. I have set up my /etc/tor/torrc file with the following two lines: HiddenServiceDir /var/lib/tor/...
5
votes
1answer
3k views

What does UpdateTip mean?

Example the debug log: 2014-06-27 12:59:10 UpdateTip: new best=00000000000000002a03b175f183c3bbc440f5c2a171e958bfd504582f711f70 height=308004 log2_work=79.405055 tx=41447698 date=2014-06-27 00:04:...
4
votes
1answer
436 views

Is there a way to know the Bitcoin Network transaction fee BEFORE actually submitting the transaction?

I am using the RPC API to submit automated transactions to my Bitcond, the user introduces the Amount and I check it against its balance before submitting the transaction. I would like to also check ...
4
votes
3answers
500 views

Running two bitcoind instances for different nets

Is it possible to run two separate bitcoind instances on one system at the same time, one for mainnet, other for testnet?
4
votes
1answer
2k views

Blockchain over 36GB and causing disk space issues

I want to install the bitcoind daemon on a computer with relatively little free space (about 35GB available). I thought that the blockchain was some 20 GB in size and figured that would be no problem, ...
4
votes
2answers
648 views

bitcoind getrawmempool without downloading the full blockchain

I'm running bitcoind from a small virtual machine on digitialocean. I'm interested only in looking at the new transactions in bitcoind getrawmempool Is there a way to get these transactions without ...
4
votes
3answers
1k views

Ubuntu - Show active connections?

How can I see how many active connections there are on Linux?
4
votes
1answer
73 views

What are the downsides of integrating accumulators like utreexo to bitcoind?

Inspired by the discussion in this question I wonder what would be the downsides of adding accumulators like utreexo (paper at: https://eprint.iacr.org/2019/611.pdf) to bitcoind? On the positive ...
4
votes
2answers
2k views

How to interact with bitcoind using C++?

I know that bitcoind is written in C++, but I cannot figure out how to use its API within my program. I have been using a Python wrapper effectively, but I need another process running that is as ...
4
votes
2answers
594 views

Multisig doesn't work unless all keys were generated from the current wallet?

I tried to create a multisig in both the Bitcoin network and the Bitcoin testnet. It seems to work only when all public keys are from the current wallet. That means when I call listunspent after I ...
3
votes
1answer
706 views

bitcoind not using correct directory inspite of datadir argument

I configured a non-pruned bitcoin full node on a RaspberryPi 3 using this tutorial - http://raspnode.com/diyBitcoin.html I am using a 1TB external HDD to store the blockchain. I synced the full ...
3
votes
2answers
570 views

How do I compile Core 0.8.6 on Ubuntu (EC2)?

I'm trying to compile v0.8.6 of the core client from source, in order to compare IDB (Initial Blockchain Download) performance between versions. I created a fresh Ubuntu Xenial 16.04 machine on ...
3
votes
1answer
2k views

Receiving `error: {“code”:-25,“message”:“”}` on sendrawtransaction with v0.9.3

I'm running a bitcoind regtest node. When trying to relay a transaction (created using bitcoin-ruby) I receive error: {"code":-25,"message":""} When I restart the node and relay the exact same ...
3
votes
1answer
469 views

Does the mempool size equal roughly the unconfirmed transactions?

My bitcoind (v0.13.0) mempool size is currently 12k transactions as can be seen from: tail -f ~/.bitcoin/debug.log I find this number very surprising as I naively expected it to keep in line with ...
3
votes
1answer
2k views

How can I get logging information on incoming transactions with bitcoind?

Im running two Bitcoind Nodes. Is there anyway to log the incoming transactions and the output?
3
votes
2answers
2k views

How to calculate low/medium/high fee transaction fee?

I have a website where the users can send and withdraw funds using Bitcoin, I'd like to give them the chance of set their own custom fee (Low, medium and high) instead of the site to choose a fixed ...
3
votes
1answer
877 views

getrawtransaction in Bitcoin-Qt (0.8.5)

I am getting an error {"code"=>-5, "message"=>"No information available about transaction"} when issuing getrawtransaction. I am aware that since bitcoind/Bitcoin-qt 0.8, no transaction index is ...
3
votes
1answer
2k views

paytxfee vs maxtxfee which one overrides the other

In wallet options section it shows these two settings -paytxfee=<amt> Fee (in BTC/kB) to add to transactions you send (default: 0.00) -maxtxfee=<amt> Maximum total fees to use in a ...
3
votes
2answers
1k views

How to make genesis block transaction spendable?

I read this question Why can’t the genesis block coinbase be spent? . It says because of some quirk (the genesis block coinbase transaction is not added to the global transaction database) genesis ...
3
votes
1answer
223 views

Bitcoind daemon get received notifications by public address

For my project I need to check the balance of a public address using bitcoind. Can I do that without importing the private key, only by public address? Need solution no dependence, because I tried ...
3
votes
2answers
355 views

Get Latest blocks with bitcoind on Ubuntu

The total blockcount on my machine is not increasing. I have tried doing a bitcoind -reindex -daemon, but it didn't ultimately increase the number of blocks. Attaching machine and bitciond ...
3
votes
1answer
2k views

How can I tell what input address sent me coin? [duplicate]

Rather - how does SatoshiDice do it? I know it's not proper format and people advise against it, but how is it technically possible?
3
votes
2answers
2k views

Pool getwork “target”?

In a getwork request, bitcoind sends a target corresponding to the current block's bits value. Do the major pools send the same target as one would expect from bitcoind, difficulty of "1" target, or ...
3
votes
1answer
1k views

How do I find out what block a transaction is in?

I'm trying to do research on the age of transaction outputs at the time they are spent. I'm running bitcoind on my computer. I have transactions indexed with txindex=1. I want to take a given TXIN and ...
3
votes
1answer
1k views

Thin command line-capable client for Linux

I need to set up linux server for web service that could generate bitcoin addresses and check the balance on them, etc (basically, receive payments in BTC). And I do not want to use third-party online ...
3
votes
1answer
1k views

Bitcoind returning “Invalid JSON-RPC 2.0 response”?

I am starting to use a basic implementation of Bitcoin JSON RPC (dzhuvinov library), and I am getting a strange result. Here is my code: public static void main(String[] args) { URL serverURL = ...
3
votes
2answers
2k views

What does the listaddressgroupings rpc method do?

Can anyone please explain the listaddressgroupings rpc method? Its documentation isn't clear in Bitcoin Core Lists groups of addresses which have had their common ownership made public by common use ...
3
votes
1answer
237 views

What do I have to do after Segwit activates if I'm running Bitcoin Core 0.14.1?

I have my bitcoins on a Linux Server. It runs Bitcoin Core 0.14.1. What do I have to do after Segwit activates?
3
votes
1answer
2k 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 ...
2
votes
0answers
231 views

Is there a robust way to test for a corrupted blockchain?

While running bitcoind I once had the blockchain get corrupted and it manifested as a non-obvious error message which unfortunately I can't remember. I would like to know if there is a robust way to ...
2
votes
0answers
2k views

Why isn't bitcoind listening on its rpc port?

I run sudo netstat --ip -lpa | grep bitcoin After starting the bitcoin daemon and all I get is the 8333 port and the connections with other peers. But when I do the same but with | grep namecoin, I ...
2
votes
1answer
467 views

Bitcoin Cash sendrawtransaction error?

I am trying to send a raw transaction from my Bitcoin ABC node. It is not fully synced, but I have at least passed the point where I can see some of my transactions. In trying to send a tx after ...
2
votes
1answer
196 views

Bitcoind suspend when Synchronizing blocks

My bitcoind started synchronising blocks. The bitcoind version is 0.93. When the bitcoind found an orphan blocks in the synchronising process, it seems stop and did not work. the message from the log ...
2
votes
1answer
884 views

Bitcoind Node crashes after using -dbcache option

I've been trying to speed up my node sync by increasing the dbcache. However my node tends to crash overnight. My system is running ubuntu 18.04, 4GM of ram bitcoin core v0.18. I've tried bitcoind -...
2
votes
1answer
72 views

While using Open Transaction as a Decentralized Exchange, how can one guarantee sanctity of the trade carried out by the parties?

Lets assume Alice holds 100 shares of Twitter and wants to sell those shares on Open Transactions. Bob decides to purchase those shares. They decide the terms of the transaction, price etc and sign a ...