mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-18 22:35:39 +01:00
Update tx-size-small comment with relevant CVE disclosure
This commit is contained in:
@@ -82,6 +82,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