Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMiniBlocksPoolsCleaner ¶
func NewMiniBlocksPoolsCleaner(args ArgMiniBlocksPoolsCleaner) (*miniBlocksPoolsCleaner, error)
NewMiniBlocksPoolsCleaner will return a new miniblocks pools cleaner
func NewTxsPoolsCleaner ¶
func NewTxsPoolsCleaner(args ArgTxsPoolsCleaner) (*txsPoolsCleaner, error)
NewTxsPoolsCleaner will return a new txs pools cleaner
Types ¶
type ArgBasePoolsCleaner ¶
type ArgBasePoolsCleaner struct { RoundHandler process.RoundHandler ShardCoordinator sharding.Coordinator MaxRoundsToKeepUnprocessedData int64 }
ArgBasePoolsCleaner is the base argument structure used to create pools cleaners
type ArgMiniBlocksPoolsCleaner ¶
type ArgMiniBlocksPoolsCleaner struct { ArgBasePoolsCleaner MiniblocksPool storage.Cacher }
ArgMiniBlocksPoolsCleaner represents the argument structure used to create a new miniBlocksPoolsCleaner instance
type ArgTxsPoolsCleaner ¶
type ArgTxsPoolsCleaner struct { ArgBasePoolsCleaner AddressPubkeyConverter core.PubkeyConverter DataPool dataRetriever.PoolsHolder }
ArgTxsPoolsCleaner represents the argument structure used to create a new txsPoolsCleaner instance
Click to show internal directories.
Click to hide internal directories.