package
0.0.0-20210916100932-d192fcfaa9da
Repository: https://github.com/liubaninc/m0.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
NewMsgServerImpl returns an implementation of the MsgServer interface for the provided Keeper.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewXModelCache new an instance of XModel Cache.
NewXModelCacheWithInputs make new XModelCache with Inputs.
No description provided by the author
preExec the contract model uses previous execution to generate RWSets.
No description provided by the author
# Constants
DefaultMemDBSize 默认内存db大小.
# Variables
ErrHasDel is returned when key was marked as del.
ErrNotFound is returned when key is not found.
# Structs
Env data structure for read/write sets environment.
Iterator data structure for XModel Iterator.
No description provided by the author
UtxoCache 合约内资产转移缓存.
UtxoReader utxos interface for reader.
XMCache data structure for XModel Cache.
XMCacheIterator 返回XModelCache的迭代器, 需要对inputsCache、outputsCache和model中的iter进行merge 当XMCache可以穿透时需要进行3路merge,当XModelCache不可以穿透时需要进行2路merge 当3路迭代时从model中取出的key需要存入inputCache.
XMReader xmodel interface for reader.