poolsCleaner

package
v1.8.5 Latest Latest
Warning

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

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

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