We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad616b6 commit eb0724fCopy full SHA for eb0724f
src/banman.h
@@ -54,6 +54,11 @@ class CSubNet;
54
// transaction that fails a policy check and a future version changes the
55
// policy check so the transaction is accepted, then that transaction could
56
// cause the network to split between old nodes and new nodes.
57
+//
58
+// NOTE: previously a misbehaving peer would get banned instead of discouraged.
59
+// This meant a peer could unboundedly grow our in-memory map of banned ips. When
60
+// receiving an ADDR message we would also compare every address received to every
61
+// item in the map. See https://bitcoincore.org/en/2024/07/03/disclose-unbounded-banlist.
62
63
class BanMan
64
{
0 commit comments