mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-18 22:35:39 +01:00
Merge #16885: doc: Update tx-size-small comment with relevant CVE disclosure
c4b0c08f7cUpdate tx-size-small comment with relevant CVE disclosure (Gregory Sanders) Pull request description: Code first introduced under https://github.com/bitcoin/bitcoin/pull/11423 with essentially no description and no discussion. ACKs for top commit: MarcoFalke: ACKc4b0c08f7cfanquake: ACKc4b0c08f7cTree-SHA512: 95d5c92998b8b1e944c477dbaee265b62612b6e815099ab31d9ff580b4dff777abaf7f326a284644709f918aa1510412d62310689b1250ef6e64de7b19ca9f71
This commit is contained in:
@@ -99,6 +99,8 @@ class InputMissing(BadTxTemplate):
|
||||
return tx
|
||||
|
||||
|
||||
# The following check prevents exploit of lack of merkle
|
||||
# tree depth commitment (CVE-2017-12842)
|
||||
class SizeTooSmall(BadTxTemplate):
|
||||
reject_reason = "tx-size-small"
|
||||
expect_disconnect = False
|
||||
|
||||
Reference in New Issue
Block a user