HomePhabricator

Use ONE_MEGABYTE where historic limit is needed, extend some tests

Description

Use ONE_MEGABYTE where historic limit is needed, extend some tests

Summary:
Some preparatory work to make the code easier to understand:

  • Use ONE_MEGABYTE in place of DEFAULT_MAX_BLOCK_SIZE where the old 1MB limit is definitely needed
  • extend some tests where ONE_MEGABYTE should be tested distinct from DEFAULT_MAX_BLOCK_SIZE and some other missing cases

Test Plan:

make check

Reviewers: #bitcoin_abc, deadalnix, sickpig, kyuupichan

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D137

Details

Provenance
freetraderAuthored on Jun 9 2017, 16:20
freetraderPushed on Jun 9 2017, 16:37
Reviewer
Restricted Project
Differential Revision
Restricted Differential Revision
Parents
rABCe05e211af270: Remove non formating changes from D134
Branches
Unknown
Tags
Unknown