Versions in this module Expand all Collapse all v0 v0.0.8 Apr 4, 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 acmutil.Amount) error + func FeeForSerializeSize(relayFeePerKb acmutil.Amount, txSerializeSize int) acmutil.Amount + func GetDustThreshold(scriptSize int, relayFeePerKb acmutil.Amount) acmutil.Amount + func IsDustAmount(amount acmutil.Amount, scriptSize int, relayFeePerKb acmutil.Amount) bool + func IsDustOutput(output *wire.TxOut, relayFeePerKb acmutil.Amount) bool