Commit e6d2bd6
committed
net_processing: Remove duplicate, and wrong, peer misbehaving due an invalid arriving block.
1) The actual peer misbehaving check is being performed inside PeerLogicValidation::BlockChecked.
2) The CValidationState inputted to ProcessNewBlock does not return the error nor invalidity reason if the block is marked as invalid during the activate best chain process (thus why BlockChecked exists).1 parent 6a5df01 commit e6d2bd6
1 file changed
+0
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1703 | 1703 | | |
1704 | 1704 | | |
1705 | 1705 | | |
1706 | | - | |
1707 | | - | |
1708 | | - | |
1709 | | - | |
1710 | | - | |
1711 | | - | |
1712 | | - | |
1713 | | - | |
1714 | 1706 | | |
1715 | 1707 | | |
1716 | 1708 | | |
| |||
0 commit comments