monitor

package
v2.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Heads

func Heads(ctx context.Context, cl *client.Client, r *HeadsRequest) (<-chan *Head, <-chan error, error)

Types

type Head struct {
	Hash *gotez.BlockHash `json:"hash"`
	core.ShellHeader
	ProtocolData []byte `json:"protocol_data"` // not dyn, takes the rest
}

type HeadsRequest

type HeadsRequest struct {
	Chain        string
	Protocol     *gotez.ProtocolHash
	NextProtocol *gotez.ProtocolHash
}

Jump to

Keyboard shortcuts

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