mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Disable -peerbloomfilters by default in sidechains
Removes Denial of Service risk on a network that will likely never have light wallets. User can enable it again if they reallly want it.
This commit is contained in:
parent
10249053d0
commit
baa3b0c5cc
2 changed files with 2 additions and 2 deletions
|
|
@ -5184,7 +5184,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv,
|
|||
LOCK(cs_main);
|
||||
Misbehaving(pfrom->GetId(), 100);
|
||||
return false;
|
||||
} else {
|
||||
} else if (GetBoolArg("-enforcenodebloom", true)) {
|
||||
pfrom->fDisconnect = true;
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue