Documentation ¶
Index ¶
Constants ¶
View Source
const ( // IndexDuration is the interval time of index scan IndexDuration = 10 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index struct {
// contains filtered or unexported fields
}
Index is the main type of this module
func New ¶
func New(cs modules.ConsensusSet, tpool modules.TransactionPool, gw modules.Gateway, wallet modules.Wallet, persistDir string, initConfig config.IndexConfig) (*Index, error)
New returns an initialized Index.
Click to show internal directories.
Click to hide internal directories.