Skip to content

Commit

Permalink
use MAX_HEADERS_RESULTS*2
Browse files Browse the repository at this point in the history
  • Loading branch information
alex v committed Dec 26, 2019
1 parent a3b1a94 commit b98b4c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ class CNodeHeaders
CNodeHeaders():
maxSize(0)
{
maxSize = GetArg("-headerspamfiltermaxsize", MAX_HEADERS_RESULTS*4);
maxSize = GetArg("-headerspamfiltermaxsize", MAX_HEADERS_RESULTS*2);
}

bool addHeaders(std::vector<uint256> hashes)
Expand Down

0 comments on commit b98b4c5

Please sign in to comment.