mirror of
https://github.com/monero-project/monero.git
synced 2025-08-16 23:40:25 -04:00
cryptonote_protocol: expand basic DoS protection
Count transactions as well
This commit is contained in:
parent
8f66b7053a
commit
1cc61018e5
2 changed files with 4 additions and 4 deletions
|
@ -52,7 +52,7 @@ PUSH_WARNINGS
|
|||
DISABLE_VS_WARNINGS(4355)
|
||||
|
||||
#define LOCALHOST_INT 2130706433
|
||||
#define CURRENCY_PROTOCOL_MAX_BLOCKS_REQUEST_COUNT 500
|
||||
#define CURRENCY_PROTOCOL_MAX_OBJECT_REQUEST_COUNT 500
|
||||
|
||||
namespace cryptonote
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue