Documentation ¶
Overview ¶
Package contracteventdb package
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContractEventDB ¶
type ContractEventDB interface { // CommitBlock // @Description: commits the event in an atomic operation // @param blockInfo // @param isCache // @return error CommitBlock(blockInfo *serialization.BlockWithSerializedInfo, isCache bool) error // InitGenesis // @Description: init contract event db // @param genesis // @return error InitGenesis(genesis *serialization.BlockWithSerializedInfo) error // GetLastSavepoint // @Description: returns the last block height // @return uint64 // @return error GetLastSavepoint() (uint64, error) // Close // @Description: Close is used to close database Close() }
ContractEventDB provides handle to contract event
@Description:
This implementation provides a mysql based data model
Click to show internal directories.
Click to hide internal directories.