stateconf

package
v1.21.49 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: GPL-3.0, LGPL-3.0, LGPL-3.0 Imports: 0 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 ExtractSnapshotUpdatePayload

func ExtractSnapshotUpdatePayload(opts ...SnapshotUpdateOption) interface{}

ExtractSnapshotUpdatePayload extracts the payload from snapshot update options

func ExtractTrieDBUpdatePayload

func ExtractTrieDBUpdatePayload(opts ...TrieDBUpdateOption) (interface{}, interface{}, bool)

ExtractTrieDBUpdatePayload extracts the payload from trie DB update options

Types

type SnapshotUpdateOption

type SnapshotUpdateOption interface{}

SnapshotUpdateOption is a placeholder for snapshot update options This is implemented as an empty interface for now, but can be expanded to carry payloads as needed.

func WithSnapshotUpdatePayload

func WithSnapshotUpdatePayload(p interface{}) SnapshotUpdateOption

WithSnapshotUpdatePayload returns a SnapshotUpdateOption carrying an arbitrary payload

type TrieDBUpdateOption

type TrieDBUpdateOption interface{}

TrieDBUpdateOption is a placeholder for trie database update options This is implemented as an empty interface for now, but can be expanded to carry payloads as needed.

func WithTrieDBUpdatePayload

func WithTrieDBUpdatePayload(parent interface{}, current interface{}) TrieDBUpdateOption

WithTrieDBUpdatePayload returns a TrieDBUpdateOption carrying two block hashes

Jump to

Keyboard shortcuts

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