Changeset View
Changeset View
Standalone View
Standalone View
src/policy/policy.h
Show First 20 Lines • Show All 107 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
static constexpr uint32_t STANDARD_LOCKTIME_VERIFY_FLAGS = | static constexpr uint32_t STANDARD_LOCKTIME_VERIFY_FLAGS = | ||||
LOCKTIME_VERIFY_SEQUENCE | LOCKTIME_MEDIAN_TIME_PAST; | LOCKTIME_VERIFY_SEQUENCE | LOCKTIME_MEDIAN_TIME_PAST; | ||||
Amount GetDustThreshold(const CTxOut &txout, const CFeeRate &dustRelayFee); | Amount GetDustThreshold(const CTxOut &txout, const CFeeRate &dustRelayFee); | ||||
bool IsDust(const CTxOut &txout, const CFeeRate &dustRelayFee); | bool IsDust(const CTxOut &txout, const CFeeRate &dustRelayFee); | ||||
bool IsStandard(const CScript &scriptPubKey, txnouttype &whichType); | bool IsStandard(const CScript &scriptPubKey, TxoutType &whichType); | ||||
/** | /** | ||||
* Check for standard transaction types | * Check for standard transaction types | ||||
* @return True if all outputs (scriptPubKeys) use only standard transaction | * @return True if all outputs (scriptPubKeys) use only standard transaction | ||||
* forms | * forms | ||||
*/ | */ | ||||
bool IsStandardTx(const CTransaction &tx, bool permit_bare_multisig, | bool IsStandardTx(const CTransaction &tx, bool permit_bare_multisig, | ||||
const CFeeRate &dust_relay_fee, std::string &reason); | const CFeeRate &dust_relay_fee, std::string &reason); | ||||
Show All 30 Lines |