Versions in this module Expand all Collapse all v1 v1.5.0 Jun 21, 2018 Changes in this version + const FillOwnerPrefix + const FillOwnerTtl + const MaxNoncePrefix + const MaxNonceTxSuccessPrefix + const NonceTtl + const TxEntityPrefix + const TxEntityTtl + func ExistFillOwnerCache(txhash common.Hash, owner common.Address) (bool, error) + func GetMaxNonceValue(owner common.Address) (*big.Int, error) + func GetTxMinedMaxNonceValue(owner common.Address) (*big.Int, error) + func Initialize(db *dao.RdsService) + func Invalid() bool + func RollbackEntityCache(from, to int64) error + func SetFillOwnerCache(txhash common.Hash, owner common.Address) error + func SetMaxNonceValue(owner common.Address, preNonce, currentNonce *big.Int) error + func SetTxMinedMaxNonceValue(owner common.Address, preNonce, currentNonce *big.Int) error + type TransactionEntityMap map[string]map[int64]dao.TransactionEntity + func GetEntityCache(views []dao.TransactionView) TransactionEntityMap + func (m TransactionEntityMap) GetEntity(txhash string, logindex int64) (dao.TransactionEntity, bool) + func (m TransactionEntityMap) SaveEntity(entity dao.TransactionEntity)