Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewShardedTxPool ¶
func NewShardedTxPool(args ArgShardedTxPool) (dataRetriever.ShardedDataCacherNotifier, error)
NewShardedTxPool creates a new sharded tx pool Implements "dataRetriever.TxPool"
Types ¶
type ArgShardedTxPool ¶
type ArgShardedTxPool struct {
Config storageUnit.CacheConfig
MinGasPrice uint64
NumberOfShards uint32
SelfShardID uint32
}
ArgShardedTxPool is the argument for ShardedTxPool's constructor
Click to show internal directories.
Click to hide internal directories.