Skip to content

Is Bitcoin RPC gettxoutsetinfo disk_size measuring compressed UTXO set or not? #5

@Benjamin-Loison

Description

@Benjamin-Loison
bitcoin-cli gettxoutsetinfo

Note that thanks to arguments we can precise a height (cf documentation).

Does disk_size also count unspendable UTXOs?

The estimated size of the chainstate on disk

Source: https://developer.bitcoin.org/reference/rpc/gettxoutsetinfo.html

at least the Bitcoin Core software notices this as a special case, and will avoid storing such outputs in its database

Source: https://bitcoin.stackexchange.com/a/109748

Otherwise have to really on: https://statoshi.info/d/000000009/unspent-transaction-output-set

In fact this website seems to use this command, as it returns:
dbSizeBytes:
6543459980
while the command returns:
6542039022
(when being synchronized at the same block height).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions