Versions in this module Expand all Collapse all v1 v1.0.2 Jan 16, 2026 Changes in this version + const DefaultRelayFeePerKb + var ErrAmountExceedsMax = errors.New("transaction output amount exceeds maximum value") + var ErrAmountNegative = errors.New("transaction output amount is negative") + var ErrOutputIsDust = errors.New("transaction output is dust") + func CheckOutput(output *wire.TxOut, relayFeePerKb bchutil.Amount) error + func FeeForSerializeSize(relayFeePerKb bchutil.Amount, txSerializeSize int) bchutil.Amount + func GetDustThreshold(scriptSize int, relayFeePerKb bchutil.Amount) bchutil.Amount + func IsDustAmount(amount bchutil.Amount, scriptSize int, relayFeePerKb bchutil.Amount) bool + func IsDustOutput(output *wire.TxOut, relayFeePerKb bchutil.Amount) bool