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.h | |
parent | Merge pull request #5390 (diff) | |
download | monero-089c7637a64652c8bcf6c437065237c23266d4a9.tar.xz |
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.h')
-rw-r--r-- | src/cryptonote_basic/cryptonote_basic_impl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cryptonote_basic/cryptonote_basic_impl.h b/src/cryptonote_basic/cryptonote_basic_impl.h index 036273f0e..c7198a16f 100644 --- a/src/cryptonote_basic/cryptonote_basic_impl.h +++ b/src/cryptonote_basic/cryptonote_basic_impl.h @@ -87,7 +87,6 @@ namespace cryptonote { /* Cryptonote helper functions */ /************************************************************************/ size_t get_min_block_weight(uint8_t version); - size_t get_max_block_size(); size_t get_max_tx_size(); bool get_block_reward(size_t median_weight, size_t current_block_weight, uint64_t already_generated_coins, uint64_t &reward, uint8_t version); uint8_t get_account_address_checksum(const public_address_outer_blob& bl); |