18 }
catch (
const std::ios_base::failure&) {
Fee rate in satoshis per virtualbyte: CAmount / vB the feerate is represented internally as FeeFrac.
std::string ToString(FeeRateFormat fee_rate_format=FeeRateFormat::BTC_KVB) const
An output of a transaction.
Minimal stream for reading from an existing byte array by std::span.
static size_t RecursiveDynamicUsage(const CScript &script)
CAmount GetDustThreshold(const CTxOut &txout, const CFeeRate &dustRelayFeeIn)
bool IsDust(const CTxOut &txout, const CFeeRate &dustRelayFeeIn)
static constexpr unsigned int DUST_RELAY_TX_FEE
Min feerate for defining dust.
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.