[#BaseIndex-2constructor] = xref:BaseIndex.adoc[BaseIndex]::BaseIndex :relfileprefix: ../ :mrdocs: Construct the index over a given chain interface. == Synopsis Declared in `<index/base.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- BaseIndex( std::unique_ptr<interfaces::Chain> chain, std::string name, std::string thread_name); ---- == Parameters [cols="1,4"] |=== | 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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#