mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +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
|
|
@ -979,7 +979,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
|
|||
// Option to startup with mocktime set (used for regression testing):
|
||||
SetMockTime(GetArg("-mocktime", 0)); // SetMockTime(0) is a no-op
|
||||
|
||||
if (GetBoolArg("-peerbloomfilters", DEFAULT_PEERBLOOMFILTERS))
|
||||
if (GetBoolArg("-peerbloomfilters", false))
|
||||
nLocalServices = ServiceFlags(nLocalServices | NODE_BLOOM);
|
||||
|
||||
nMaxTipAge = GetArg("-maxtipage", DEFAULT_MAX_TIP_AGE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue