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 a stable byte representation of this LockOut for use in canonical sort comparisons (see lux.IsSortedTransferableOutputs).
Layout: stakeableLockMarker || big-endian Locktime || inner-output Bytes() (empty if the inner output does not expose Bytes).
The leading 0xFF marker ensures LockOut sorts AFTER any unlocked fxs primitive (whose first byte is a dense TypeKind << 0xFF), preserving the legacy "unlocked first, then locked" ordering that downstream tx SyntacticVerify code expects.
func (*LockOut) InitRuntime ¶
Click to show internal directories.
Click to hide internal directories.