contrib: update dumptxoutset command in utxo_to_sqlite doc

Running the `dumptxoutset` command without a `type` parameter leads
to the following error. Update the tool documentation to make it
easier to follow.

`Invalid snapshot type "" specified. Please specify "rollback" or "latest"`
This commit is contained in:
rkrux 2025-02-21 16:30:09 +05:30
parent 5b8fd7c3a6
commit d3095ac35a
No known key found for this signature in database
GPG key ID: 8614B8BD2E144C6D

View file

@ -5,7 +5,7 @@
"""Tool to convert a compact-serialized UTXO set to a SQLite3 database.
The input UTXO set can be generated by Bitcoin Core with the `dumptxoutset` RPC:
$ bitcoin-cli dumptxoutset ~/utxos.dat
$ bitcoin-cli dumptxoutset ~/utxos.dat latest
The created database contains a table `utxos` with the following schema:
(txid TEXT, vout INT, value INT, coinbase INT, height INT, scriptpubkey TEXT)