Documentation ¶
Index ¶
- Variables
- func CompressAmount(amt amount.Amount) uint64
- func DecompressAmount(x uint64) amount.Amount
- type TxOut
- func (txOut *TxOut) CheckValue() error
- func (txOut *TxOut) Decode(reader io.Reader) error
- func (txOut *TxOut) Encode(writer io.Writer) error
- func (txOut *TxOut) EncodeSize() uint32
- func (txOut *TxOut) GetDustThreshold(minRelayTxFee *util.FeeRate) int64
- func (txOut *TxOut) GetPubKeyType() (pubKeyType int, isStandard bool)
- func (txOut *TxOut) GetScriptPubKey() *script.Script
- func (txOut *TxOut) GetValue() amount.Amount
- func (txOut *TxOut) IsDust(minRelayTxFee *util.FeeRate) bool
- func (txOut *TxOut) IsEqual(out *TxOut) bool
- func (txOut *TxOut) IsNull() bool
- func (txOut *TxOut) IsSpendable() bool
- func (txOut *TxOut) IsStandard() (pubKeyType int, isStandard bool)
- func (txOut *TxOut) Serialize(writer io.Writer) error
- func (txOut *TxOut) SerializeSize() uint32
- func (txOut *TxOut) SetNull()
- func (txOut *TxOut) SetScriptPubKey(s *script.Script)
- func (txOut *TxOut) SetValue(v amount.Amount)
- func (txOut *TxOut) String() string
- func (txOut *TxOut) Unserialize(reader io.Reader) error
- type TxoutCompressor
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCompress = errors.New("nil TxoutCompressor receiver")
Functions ¶
func CompressAmount ¶
func DecompressAmount ¶
Types ¶
type TxOut ¶
type TxOut struct {
// contains filtered or unexported fields
}
func (*TxOut) CheckValue ¶
func (*TxOut) EncodeSize ¶
func (*TxOut) GetDustThreshold ¶
func (*TxOut) GetPubKeyType ¶
func (*TxOut) GetScriptPubKey ¶
func (*TxOut) IsSpendable ¶
func (*TxOut) IsStandard ¶ added in v0.0.3
func (*TxOut) SerializeSize ¶
func (*TxOut) SetScriptPubKey ¶
type TxoutCompressor ¶
type TxoutCompressor struct {
// contains filtered or unexported fields
}
func NewTxoutCompressor ¶
func NewTxoutCompressor(txout *TxOut) *TxoutCompressor
func (*TxoutCompressor) Unserialize ¶
func (tc *TxoutCompressor) Unserialize(r io.Reader) error
Click to show internal directories.
Click to hide internal directories.