19 }
catch (
const std::ios_base::failure&) {
An input of a transaction.
Minimal stream for reading from an existing byte array by std::span.
static int64_t GetTransactionInputWeight(const CTxIn &txin)
static size_t RecursiveDynamicUsage(const CScript &script)
int64_t GetVirtualTransactionInputSize(const CTxIn &txin, int64_t nSigOpCost, unsigned int bytes_per_sigop)
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.