diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-08 19:17:20 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-06-14 08:47:08 +0000 |
| commit | 1cc61018e52893382ae110430b38d1e0bf6e5870 (patch) | |
| tree | 2f5663ddb7a315acb9e4239b3d3eaf7c641563dd /src/cryptonote_protocol/cryptonote_protocol_handler.h | |
| parent | 8f66b7053a8e4521fdd68c1d74718e73345fb158 (diff) | |
| download | monzero-core-1cc61018e52893382ae110430b38d1e0bf6e5870.tar.gz monzero-core-1cc61018e52893382ae110430b38d1e0bf6e5870.tar.xz monzero-core-1cc61018e52893382ae110430b38d1e0bf6e5870.zip | |
cryptonote_protocol: expand basic DoS protection
Count transactions as well
Diffstat (limited to 'src/cryptonote_protocol/cryptonote_protocol_handler.h')
| -rw-r--r-- | src/cryptonote_protocol/cryptonote_protocol_handler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_handler.h b/src/cryptonote_protocol/cryptonote_protocol_handler.h index f1fd69960..dcc5ec6ed 100644 --- a/src/cryptonote_protocol/cryptonote_protocol_handler.h +++ b/src/cryptonote_protocol/cryptonote_protocol_handler.h @@ -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 { |
