As #18689 is labeled “Up for grabs” , this PR proposes a modified version of it.
The changes (from the original) are :
. RPC has been simplified. It now has only one additional parameter (human_readable=true/false
).
. The CreateUTXOSnapshot
signature has been simplified, with reduced number of parameters and coinascii_cb_t
data type has been removed.
. The functional test verifies the content of the human-readable file.
The generated file, however, is the same.
To test:
./src/bitcoin-cli dumptxoutset utxo.txt true