Documentation ¶
Index ¶
- func FilterChainOutputs(outs []*ledger.OutputWithID) ([]*ledger.OutputWithChainID, error)
- func FilterOutputsSortByAmount(outs []*ledger.OutputWithID, filter func(o *ledger.Output) bool, desc ...bool) []*ledger.OutputWithID
- func ParseAndSortOutputData(outs []*ledger.OutputDataWithID, ...) ([]*ledger.OutputWithID, error)
- func ParseAndSortOutputDataUpToAmount(outs []*ledger.OutputDataWithID, amount uint64, ...) ([]*ledger.OutputWithID, uint64, ledger.Time, error)
- func ParseChainConstraintsFromData(outs []*ledger.OutputDataWithID) ([]*ledger.OutputWithChainID, error)
- func ParseOutputDataAndFilter(outs []*ledger.OutputDataWithID, ...) ([]*ledger.OutputWithID, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterChainOutputs ¶
func FilterChainOutputs(outs []*ledger.OutputWithID) ([]*ledger.OutputWithChainID, error)
func FilterOutputsSortByAmount ¶
func FilterOutputsSortByAmount(outs []*ledger.OutputWithID, filter func(o *ledger.Output) bool, desc ...bool) []*ledger.OutputWithID
func ParseAndSortOutputData ¶
func ParseChainConstraintsFromData ¶
func ParseChainConstraintsFromData(outs []*ledger.OutputDataWithID) ([]*ledger.OutputWithChainID, error)
func ParseOutputDataAndFilter ¶
func ParseOutputDataAndFilter(outs []*ledger.OutputDataWithID, filter func(oid *ledger.OutputID, o *ledger.Output) bool) ([]*ledger.OutputWithID, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.