Skip to content

Commit 30620da

Browse files
committed
[BIP 152] Bump p2p protocol for proper banning behavior
1 parent 78c3b0a commit 30620da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bip-0152.mediawiki

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ Compact blocks version 2 is almost identical to version 1, but supports segregat
183183
184184
# Any undefined behavior in this spec may cause failure to transfer block to, peer disconnection by, or self-destruction by the receiving node. A node receiving non-minimally-encoded CompactSize encodings should make a best-effort to eat the sender's cat.
185185
186+
# As high-bandwidth mode permits relaying of CMPCTBLOCK messages prior to full validation (requiring only that the block header is valid before relay), nodes SHOULD NOT ban a peer for announcing a new block with a CMPCTBLOCK message that is invalid, but has a valid header. For avoidance of doubt, nodes SHOULD bump their peer-to-peer protocol version to 70015 or higher to signal that they will not ban or punish a peer for announcing compact blocks prior to full validation, and nodes SHOULD NOT announce a CMPCTBLOCK to a peer with a version number below 70015 before fully validating the block.
187+
186188
==Justification==
187189

188190
====Protocol design====

0 commit comments

Comments
 (0)