Skip to content

Commit d3095ac

Browse files
committed
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"`
1 parent 5b8fd7c commit d3095ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/utxo-tools/utxo_to_sqlite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"""Tool to convert a compact-serialized UTXO set to a SQLite3 database.
66
77
The input UTXO set can be generated by Bitcoin Core with the `dumptxoutset` RPC:
8-
$ bitcoin-cli dumptxoutset ~/utxos.dat
8+
$ bitcoin-cli dumptxoutset ~/utxos.dat latest
99
1010
The created database contains a table `utxos` with the following schema:
1111
(txid TEXT, vout INT, value INT, coinbase INT, height INT, scriptpubkey TEXT)

0 commit comments

Comments
 (0)