Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeMaster = 0 TypeSub = 1 << 1 TypeMulti = 1 << 2 TypeNotify = 1 << 3 )
Variables ¶
This section is empty.
Functions ¶
func NewEmptyHeader ¶
func NewEmptyHeader() util.BlockHeader
Types ¶
type Header ¶
func (*Header) MerkleRoot ¶
type STXO ¶
type SortByValueASC ¶
type SortByValueASC []*UTXO
func (SortByValueASC) Len ¶
func (utxos SortByValueASC) Len() int
func (SortByValueASC) Less ¶
func (utxos SortByValueASC) Less(i, j int) bool
func (SortByValueASC) Swap ¶
func (utxos SortByValueASC) Swap(i, j int)
type UTXO ¶
type UTXO struct { // Previous txid and output index Op *util.OutPoint // The higher the better Value common.Fixed64 // The utxo locked height LockTime uint32 // Block height where this tx was confirmed, 0 for unconfirmed AtHeight uint32 // Address where this UTXO belongs to. Address common.Uint168 }
func SortByValue ¶
Click to show internal directories.
Click to hide internal directories.