poolsCleaner

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2025 License: GPL-3.0 Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

Jump to

Keyboard shortcuts

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