Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheDB ¶
type CacheDB struct {
// contains filtered or unexported fields
}
CacheDB is smart contract execute cache, it contain transaction cache and block cache When smart contract execute finish, need to commit transaction cache to block cache
func NewCacheDB ¶
NewCacheDB return a new contract cache
func (*CacheDB) Commit ¶
func (self *CacheDB) Commit()
Commit current transaction cache to block cache
func (*CacheDB) NewIterator ¶
func (self *CacheDB) NewIterator(key []byte) common.StoreIterator
Click to show internal directories.
Click to hide internal directories.