Changeset View
Changeset View
Standalone View
Standalone View
src/test/fuzz/transaction.cpp
Show All 35 Lines | const CTransaction tx = [&] { | ||||
valid = false; | valid = false; | ||||
return CTransaction(); | return CTransaction(); | ||||
} | } | ||||
}(); | }(); | ||||
if (!valid) { | if (!valid) { | ||||
return; | return; | ||||
} | } | ||||
CValidationState state; | TxValidationState state; | ||||
(void)CheckRegularTransaction(tx, state); | (void)CheckRegularTransaction(tx, state); | ||||
const CFeeRate dust_relay_fee{DUST_RELAY_TX_FEE}; | const CFeeRate dust_relay_fee{DUST_RELAY_TX_FEE}; | ||||
std::string reason; | std::string reason; | ||||
const bool is_standard_with_permit_bare_multisig = IsStandardTx( | const bool is_standard_with_permit_bare_multisig = IsStandardTx( | ||||
tx, /* permit_bare_multisig= */ true, dust_relay_fee, reason); | tx, /* permit_bare_multisig= */ true, dust_relay_fee, reason); | ||||
const bool is_standard_without_permit_bare_multisig = IsStandardTx( | const bool is_standard_without_permit_bare_multisig = IsStandardTx( | ||||
tx, /* permit_bare_multisig= */ false, dust_relay_fee, reason); | tx, /* permit_bare_multisig= */ false, dust_relay_fee, reason); | ||||
Show All 22 Lines |