stakeable

package
v1.4.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LockIn

type LockIn struct {
	Locktime           uint64 `serialize:"true" json:"locktime"`
	lux.TransferableIn `serialize:"true" json:"input"`
}

func (*LockIn) Verify

func (s *LockIn) Verify() error

type LockOut

type LockOut struct {
	Locktime            uint64 `serialize:"true" json:"locktime"`
	lux.TransferableOut `serialize:"true" json:"output"`
}

func (*LockOut) Addresses

func (s *LockOut) Addresses() [][]byte

func (*LockOut) Bytes added in v1.2.0

func (s *LockOut) Bytes() []byte

Bytes returns the ZAP wire envelope for this LockOut: the shared wire.LockedOutput schema (TypeKindReserved, ShapeKindLockedOutput), carrying the locktime and the inner output's own envelope.

The canonical output sort compares exactly these bytes, and the chain re-serializes a parsed LockOut through the SAME wire.NewLockedOutput. Any second encoding here is a fork: the two sides then disagree on output ORDER and the chain rejects the tx as "outputs not sorted".

func (*LockOut) InitRuntime

func (s *LockOut) InitRuntime(rt *runtime.Runtime)

func (*LockOut) Verify

func (s *LockOut) Verify() error

Jump to

Keyboard shortcuts

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