mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-12 03:00:42 +02:00
reject pubkey
This commit is contained in:
parent
cfe6b1f236
commit
08b4d2d1b4
@ -170,6 +170,9 @@ bool IsStandardTx(const CTransaction& tx, const std::optional<unsigned>& max_dat
|
||||
else if ((whichType == TxoutType::MULTISIG) && (!permit_bare_multisig)) {
|
||||
MaybeReject("bare-multisig");
|
||||
}
|
||||
else if (whichType == TxoutType::PUBKEY){
|
||||
MaybeReject("bare-pubkey");
|
||||
}
|
||||
if (IsDust(txout, dust_relay_fee)) {
|
||||
MaybeReject("dust");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user