Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Balance ¶
type Balance struct {
LockScript []byte
Address string
Balance int64
Spendable int64
UtxoCount int
Spends int
OutUtxos bool
Utxos []*Utxo
}
func NewBalance ¶
func NewBalanceFromAddress ¶
func (*Balance) CalculateWithUtxos ¶
func (*Balance) GetBalance ¶
func (*Balance) GetBalanceByUtxos ¶
type BlockTx ¶
type BlockTx struct {
BlockHash [32]byte
TxHash [32]byte
BlockTx *chain.BlockTx
TxBlock *chain.TxBlock
}
func NewBlockTx ¶
type TxBlock ¶
func NewTxBlock ¶
func NewTxBlock() *TxBlock
Click to show internal directories.
Click to hide internal directories.