Construct the index over a given chain interface.
Synopsis
Declared in <index/base.h>
BaseIndex(
std::unique_ptr<interfaces::Chain> chain,
std::string name,
std::string thread_name);
Parameters
Name |
Description |
chain |
Interface used to query the blockchain. |
name |
Human‐readable name of the index. |
thread_name |
Name given to the background sync thread. |
Created with MrDocs