Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomInstruction ¶
CustomInstruction represents a custom instruction how to unlock a UTXO.
type CustomInstructions ¶
type CustomInstructions []CustomInstruction
CustomInstructions is a slice of CustomInstruction.
type FeeUnit ¶
type FeeUnit struct { Satoshis Satoshis `json:"satoshis"` // Fee in satoshis of the amount of Bytes Bytes int `json:"bytes"` // Number of bytes that the Fee covers }
FeeUnit specifies how much satoshis will be paid per specific amount of bytes in a transaction see https://github.com/bitcoin-sv-specs/brfc-misc/tree/master/feespec
func (*FeeUnit) IsLowerThan ¶
IsLowerThan compare two fee units
type Outpoint ¶
Outpoint is a struct that represents a pair consisting of a transaction ID and an output index This represents a specific unspent transaction output (UTXO)
func OutpointFromString ¶
OutpointFromString creates an Outpoint from a string
Click to show internal directories.
Click to hide internal directories.