[0.13 backport] Fix handling of invalid compact blocks #9048
pull sdaftuar wants to merge 3 commits into bitcoin:0.13 from sdaftuar:fix-invalid-cb-ban-0.13 changing 9 files +81 −22-
sdaftuar commented at 2:46 pm on October 31, 2016: memberBackport of #9026 to 0.13.
-
[qa] Test that invalid compactblocks don't result in ban 82905069bf
-
fanquake added this to the milestone 0.13.2 on Nov 1, 2016
-
fanquake added the label Backport on Nov 1, 2016
-
sdaftuar commented at 4:52 pm on November 1, 2016: memberUpdated this to match the latest changes in #9026 (see #9026 (comment)).
-
Fix compact block handling to not ban if block is invalid 015865ee9e
-
sdaftuar force-pushed on Nov 1, 2016
-
Bump the protocol version to distinguish new banning behavior.
This allows future software that would relay compact blocks before full validation to announce only to peers that will not ban if the block turns out to be invalid.
-
sdaftuar force-pushed on Nov 1, 2016
-
in src/main.cpp: in e8ef50ba51
4718@@ -4717,7 +4719,6 @@ std::string GetWarnings(const std::string& strFor) 4719 4720 4721 ////////////////////////////////////////////////////////////////////////////// 4722-//
TheBlueMatt commented at 2:48 pm on November 2, 2016:Wut?
sdaftuar commented at 12:56 pm on November 3, 2016:Oops, fixed.TheBlueMatt commented at 3:05 pm on November 2, 2016: memberutACK e8ef50ba51968da67a36c9fae6938d868b434da2, minus random line removal. Looks equivalent to #9026.laanwj merged this on Nov 9, 2016laanwj closed this on Nov 9, 2016
laanwj referenced this in commit 9460771a60 on Nov 9, 2016DrahtBot locked this on Sep 8, 2021
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-19 00:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-19 00:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me