diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-04 00:15:57 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-05 09:35:19 +0000 |
| commit | 089c7637a64652c8bcf6c437065237c23266d4a9 (patch) | |
| tree | 1edb32e38080ab18184c0809ce0607c060682d05 /src/cryptonote_basic/cryptonote_basic_impl.cpp | |
| parent | fe3403c8f01e1b8207b4cb8f085c809c7a8e1a1d (diff) | |
| download | monzero-core-089c7637a64652c8bcf6c437065237c23266d4a9.tar.gz monzero-core-089c7637a64652c8bcf6c437065237c23266d4a9.tar.xz monzero-core-089c7637a64652c8bcf6c437065237c23266d4a9.zip | |
cryptonote: rework block blob size sanity check
Use the actual block weight limit, assuming that weight is always
greater or equal to size
Diffstat (limited to 'src/cryptonote_basic/cryptonote_basic_impl.cpp')
| -rw-r--r-- | src/cryptonote_basic/cryptonote_basic_impl.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cryptonote_basic/cryptonote_basic_impl.cpp b/src/cryptonote_basic/cryptonote_basic_impl.cpp index e336cc1d1..d8de65b81 100644 --- a/src/cryptonote_basic/cryptonote_basic_impl.cpp +++ b/src/cryptonote_basic/cryptonote_basic_impl.cpp @@ -76,11 +76,6 @@ namespace cryptonote { return CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE_V5; } //----------------------------------------------------------------------------------------------- - size_t get_max_block_size() - { - return CRYPTONOTE_MAX_BLOCK_SIZE; - } - //----------------------------------------------------------------------------------------------- size_t get_max_tx_size() { return CRYPTONOTE_MAX_TX_SIZE; |
