Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TypeDefault NORMAL TypeDefault = normal.TxPoolType )
Variables ¶
This section is empty.
Functions ¶
func RegisterTxPoolProvider ¶
RegisterTxPoolProvider register tx pool provider @param t @param f
Types ¶
type Provider ¶
type Provider func( nodeId string, chainId string, txFilter protocol.TxFilter, chainStore protocol.BlockchainStore, msgBus msgbus.MessageBus, chainConf protocol.ChainConf, singer protocol.SigningParticipant, ac protocol.AccessControlProvider, netService protocol.NetService, log protocol.Logger, monitorEnabled bool, poolConfig map[string]interface{}) (protocol.TxPool, error)
Provider provide protocol.TxPool implement
func GetTxPoolProvider ¶
GetTxPoolProvider get provider by name @param t @return Provider
Click to show internal directories.
Click to hide internal directories.