poolsCleaner

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2022 License: GPL-3.0 Imports: 16 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL