mempool

package
v1.36.139 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2026 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mempool added in v1.1.11

type Mempool struct {
	txmempool.Mempool[*txs.Tx]
	// contains filtered or unexported fields
}

func New

func New(namespace string, registerer metric.Registerer) (*Mempool, error)

func (*Mempool) Add added in v1.24.12

func (m *Mempool) Add(tx *txs.Tx) error

func (*Mempool) HasTxs added in v1.24.12

func (m *Mempool) HasTxs() bool

func (*Mempool) SetAuthPolicy added in v1.26.11

func (m *Mempool) SetAuthPolicy(profile *config.ChainSecurityProfile, registry auth.ClassicalCompatRegistry)

SetAuthPolicy installs the chain's credential-admission policy. See platformvm/txs/mempool.SetAuthPolicy for the contract; X-chain wraps every credential in fxs.FxCredential, so the policy gate runs over the unwrapped inner credentials.

Directories

Path Synopsis
Package mempoolmock is a generated GoMock package.
Package mempoolmock is a generated GoMock package.

Jump to

Keyboard shortcuts

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