Constructs the index, which becomes available to be queried.
Synopsis
Declared in <index/txospenderindex.h>
explicit
TxoSpenderIndex(
std::unique_ptr<interfaces::Chain> chain,
size_t n_cache_size,
bool f_memory = false,
bool f_wipe = false);
Parameters
Name |
Description |
chain |
Interface used to query the blockchain. |
n_cache_size |
Size of the database cache, in bytes. |
f_memory |
Keep the database in memory instead of on disk. |
f_wipe |
Erase any existing database before opening. |
Created with MrDocs