Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMiniBlocksPoolsCleaner ¶ added in v0.0.5
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 ¶ added in v1.4.0
type ArgBasePoolsCleaner struct {
RoundHandler process.RoundHandler
ShardCoordinator sharding.Coordinator
MaxRoundsToKeepUnprocessedData int64
}
ArgBasePoolsCleaner is the base argument structure used to create pools cleaners
type ArgMiniBlocksPoolsCleaner ¶ added in v1.4.0
type ArgMiniBlocksPoolsCleaner struct {
ArgBasePoolsCleaner
MiniblocksPool storage.Cacher
}
ArgMiniBlocksPoolsCleaner represents the argument structure used to create a new miniBlocksPoolsCleaner instance
type ArgTxsPoolsCleaner ¶ added in v1.4.0
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.