Documentation ¶
Index ¶
- func GetAttributes(t Transaction) []attribute.Attribute
- func GetHash(t Transaction) []byte
- func GetInputs(t Transaction) []input.Input
- func GetOutputs(t Transaction) []output.Output
- func GetReferences(t Transaction) []interface{}
- func GetType(t Transaction) byte
- func GetUnspentCoins(t Transaction) interface{}
- type Transaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAttributes ¶
func GetAttributes(t Transaction) []attribute.Attribute
GetAttributes returns a slice of attributes for the given transaction.
func GetHash ¶
func GetHash(t Transaction) []byte
GetHash returns the hash of the given transaction.
func GetInputs ¶
func GetInputs(t Transaction) []input.Input
GetInputs returns the inputs of the given transaction.
func GetOutputs ¶
func GetOutputs(t Transaction) []output.Output
GetOutputs returns the outputs of the given transaction.
func GetReferences ¶
func GetReferences(t Transaction) []interface{}
GetReferences returns a slice of references for the given transaction. FIXME: What is the correct return type for this?
func GetUnspentCoins ¶
func GetUnspentCoins(t Transaction) interface{}
GetUnspentCoins returns the unspent coins for the given transaction. FIXME: What is the correct return type for this?
Types ¶
Click to show internal directories.
Click to hide internal directories.