Versions in this module Expand all Collapse all v1 v1.2.0-rc1 Apr 3, 2018 v1.1.0 Sep 22, 2017 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 dcrutil.Amount) error + func FeeForSerializeSize(relayFeePerKb dcrutil.Amount, txSerializeSize int) dcrutil.Amount + func IsDustAmount(amount dcrutil.Amount, scriptSize int, relayFeePerKb dcrutil.Amount) bool + func IsDustOutput(output *wire.TxOut, relayFeePerKb dcrutil.Amount) bool + func IsValidPoolFeeRate(feeRate float64) error + func StakePoolTicketFee(stakeDiff dcrutil.Amount, relayFee dcrutil.Amount, height int32, ...) dcrutil.Amount