New answers tagged

1

You can use the command bitcoin-cli getrawmempool to get a JSON array of all transactions that are stored locally in your mempool. Since v0.9 release you can also pass a verbose boolean to get more info related to the transactions in your mempool like size, fees, or ancestor/dependent transaction within the mempool. Do note that there is no one global ...


2

There’s functionally no distinction between an output which doesn’t exist, and one which hasn’t existed from the perspective of validation. The node never needs to consider this so by default it stores no information about it.


2

Trying to enumerate all private keys using Bitcoin Core's wallet is extremely inefficient. Furthermore, any address that you generate in Bitcoin Core will inherently come from a HD seed because Bitcoin Core is a HD wallet and uses a HD seed. You also aren't going to get any information for a HD address that is not part of your wallet. However, I am not ...


0

It turns out that the reason was because the blockchain (Bitcoin Cash) had hardforked, after updating to the latest version my issue was resolved


0

This is not bug of bitcoind, but java lib I was using. Bitcoind works fine


2

It is supported according to the LND installation guide NOTE: The auth parameters rpcuser and rpcpass parameters can typically be determined by lnd for a bitcoind instance running under the same user, including when using cookie auth. In this case, you can exclude them from the lnd options entirely.


0

NULL and an empty string are interpreted differently. An empty string has no values. It’s an empty char array, one that hasn’t been assigned any elements. The string exists in memory, so it’s not NULL. Therefore we have two different labels and two different balances associated with those labels.


1

getbalance returns the balance that your node currently considers spendable. According to your console output, the transaction that sent you the output was flagged as "bip125-replaceable"=>"yes". Since a transaction flagged as replaceable can be amended or retracted by the sender until it gets confirmed, an output from such a transaction will not be ...


3

Use getblock with verbosity level 2. e.g. getblock 0000000000000000000cedb96c93635edfb2755a3357e7febe5929fb6db1658d 2 This will return the block with all of the transactions already decoded. Since you mentioned that you are doing getrawtransaction and then decoderawtransaction, getrawtransaction has another parameter to decode a transaction for you so you ...


2

Coming from this question, is there any comprehensive collection of what errors can each RPC command return? For example. Let's say I want to run getbestblockhash or getblockcount. I'm unsure about what errors to expect. I don't think that such documentation exists. You would have to read the source code for a particular RPC. Additionally, since some ...


Top 50 recent answers are included