mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-12 21:00:36 +02:00
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:
parent
5b8fd7c3a6
commit
d3095ac35a
@ -5,7 +5,7 @@
|
|||||||
"""Tool to convert a compact-serialized UTXO set to a SQLite3 database.
|
"""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:
|
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:
|
The created database contains a table `utxos` with the following schema:
|
||||||
(txid TEXT, vout INT, value INT, coinbase INT, height INT, scriptpubkey TEXT)
|
(txid TEXT, vout INT, value INT, coinbase INT, height INT, scriptpubkey TEXT)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user