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"`
}
type LockOut ¶
type LockOut struct {
Locktime uint64 `serialize:"true" json:"locktime"`
lux.TransferableOut `serialize:"true" json:"output"`
}
func (*LockOut) Bytes ¶ added in v1.2.0
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 ¶
Click to show internal directories.
Click to hide internal directories.