Versions in this module Expand all Collapse all v0 v0.2.17 Dec 28, 2019 v0.2.15 Dec 28, 2019 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 util.Amount) error + func FeeForSerializeSize(relayFeePerKb util.Amount, txSerializeSize int) util.Amount + func GetDustThreshold(scriptSize int, relayFeePerKb util.Amount) util.Amount + func IsDustAmount(amount util.Amount, scriptSize int, relayFeePerKb util.Amount) bool + func IsDustOutput(output *wire.TxOut, relayFeePerKb util.Amount) bool