package
0.0.0-20191113032148-3606b63ab30f
Repository: https://github.com/phenixchain/devchain.git
Documentation: pkg.go.dev
# Functions
Load 加载一个create.
NewAccountTxIndex 创建一个新的索引.
NewLastTxCache 创建最后交易的cache.
NewMempool 新建mempool 实例.
NewSHashTxCache 创建通过短hash交易的cache.
NewSimpleQueue 创建队列.
Reg 注册一个create.
# Structs
AccountTxIndex 账户和交易索引.
Item 为Mempool中包装交易的数据结构.
LastTxCache 最后放入cache的交易.
Mempool mempool 基础类.
SHashTxCache 通过shorthash缓存交易.
SimpleQueue 简单队列模式(默认提供一个队列,便于测试).
SubConfig 配置信息.
# Interfaces
QueueCache 排队交易处理.
# Type aliases
Create 创建一个mempool模块.