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

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 ...


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.


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 ...


1

If an address appears in the vout list, it is incoming for that address. If the address is in the vin list, it is an outgoing transaction for that address. Addresses may appear in both the vin and the vout.


1

It seems that bitcoin-iterate implements your second suggestion: This is some fast code to iterate over bitcoind's block files to extract blockchain data from the main blockchain. But as far as I know it doesn't allow your to filter by script. That would be a nice addition to the project, I think. Or you could write something similar that did that.


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 ...


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 ...


Only top voted, non community-wiki answers of a minimum length are eligible