Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Benjamin-Loison opened this issue Apr 21, 2023 · 0 comments

Comments

@Benjamin-Loison
Copy link
Owner

Benjamin-Loison commented Apr 21, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant