request

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watermark

type Watermark struct {
	Level int32                          `json:"level"`
	Round int32                          `json:"round"`
	Hash  tz.Option[tz.BlockPayloadHash] `json:"hash"`
}

func NewWatermark added in v1.1.1

func NewWatermark(req WithWatermark, hash *crypt.Digest) *Watermark

func (*Watermark) Validate

func (l *Watermark) Validate(stored *Watermark) bool

type WithWatermark

type WithWatermark interface {
	protocol.SignRequest
	GetChainID() *tz.ChainID
	GetLevel() int32
	GetRound() int32
}

Jump to

Keyboard shortcuts

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