Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestAddressable ¶
type TestAddressable struct {
TestTransferable `serialize:"true"`
Addrs [][]byte `serialize:"true"`
}
func (*TestAddressable) Addresses ¶
func (a *TestAddressable) Addresses() [][]byte
type TestTransferable ¶
func (*TestTransferable) Amount ¶
func (t *TestTransferable) Amount() uint64
func (*TestTransferable) Cost ¶
func (*TestTransferable) Cost() (uint64, error)
func (*TestTransferable) InitCtx ¶
func (*TestTransferable) InitCtx(*snow.Context)
type UTXOID ¶
type UTXOID struct {
// Serialized:
TxID ids.ID `serialize:"true" json:"txID"`
OutputIndex uint32 `serialize:"true" json:"outputIndex"`
// Symbol is false if the UTXO should be part of the DB
Symbol bool `json:"-"`
// contains filtered or unexported fields
}
func UTXOIDFromString ¶
UTXOIDFromString attempts to parse a string into a UTXOID
func (*UTXOID) InputSource ¶
InputSource returns the source of the UTXO that this input is spending
Click to show internal directories.
Click to hide internal directories.