Versions in this module Expand all Collapse all v3 v3.0.1 Dec 28, 2023 v3.0.0 Dec 23, 2022 Changes in this version + const BlockHeightIndexTableName + const BlockHeightWithTopicTableName + const CreateBlockHeightIndexTableDdl + const CreateBlockHeightWithTopicTableDdl + const InitBlockHeightIndexTableDdl + type ContractEventSqlDB struct + Logger protocol.Logger + func NewContractEventDB(dbName string, db protocol.SqlDBHandle, logger protocol.Logger, ...) (*ContractEventSqlDB, error) + func (c *ContractEventSqlDB) Close() + func (c *ContractEventSqlDB) CommitBlock(blockInfo *serialization.BlockWithSerializedInfo, _ bool) error + func (c *ContractEventSqlDB) GetDumpDir() string + func (c *ContractEventSqlDB) GetLastSavepoint() (uint64, error) + func (c *ContractEventSqlDB) GetSnapshotFile() (string, error) + func (c *ContractEventSqlDB) InitGenesis(genesisBlock *serialization.BlockWithSerializedInfo) error