seek

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package seek builds the SeekInfo messages the fxadmin commands use to pull blocks from the orderer: the newest block, a specific block number, or a block named by a CLI reference.

Index

Constants

View Source
const LatestReference = "latest"

LatestReference is the block reference that selects the newest block.

Variables

This section is empty.

Functions

func ByNumber

func ByNumber(number uint64) *ab.SeekInfo

ByNumber builds a SeekInfo that delivers exactly the block at number.

func ForReference

func ForReference(reference string) (*ab.SeekInfo, error)

ForReference maps a block reference ("latest" or a block number) to a SeekInfo.

func Newest

func Newest() *ab.SeekInfo

Newest builds a SeekInfo that delivers the current newest block.

Types

This section is empty.

Jump to

Keyboard shortcuts

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