config

package
v0.2400.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package config implements the txpool configuration options.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Maximum size of the scheduling transaction pool.
	MaxPoolSize uint64 `yaml:"schedule_max_tx_pool_size"`
	// Maximum cache size of recently scheduled transactions to prevent re-scheduling.
	MaxLastSeenCacheSize uint64 `yaml:"schedule_tx_cache_size"`
	// Maximum check tx batch size.
	MaxCheckTxBatchSize uint64 `yaml:"check_tx_max_batch_size"`
	// Transaction recheck interval (in rounds).
	RecheckInterval uint64 `yaml:"recheck_interval"`
	// Republish interval.
	RepublishInterval time.Duration
}

Config is the runtime transaction pool configuration structure.

Jump to

Keyboard shortcuts

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