loadtxoutset
Summary
Load the serialized UTXO set from a file.
Description
Load the serialized UTXO set from a file. Once this snapshot is loaded, its contents will be deserialized into a second chainstate data structure, which is then used to sync to the network's tip. Meanwhile, the original chainstate will complete the initial block download process in the background, eventually validating up to the block that the snapshot is based upon.
The result is a usable qbitd instance that is current with the network tip in a matter of minutes rather than hours. UTXO snapshot are typically obtained from third-party sources (HTTP, torrent, etc.) which is reasonable since their contents are always checked by hash.
You can find more information on this process in the assumeutxo design document (https://github.com/bitcoin/bitcoin/blob/master/doc/design/assumeutxo.md).
Arguments
path(STR, required): path to the snapshot file. If relative, will be prefixed by datadir.
Results
value(OBJ): No description.coins_loaded(NUM): the number of coins loaded from the snapshottip_hash(STR_HEX): the hash of the base of the snapshotbase_height(NUM): the height of the base of the snapshotpath(STR): the absolute path that the snapshot was loaded from
Examples
qbit-cli -rpcclienttimeout=0 loadtxoutset utxo.dat