HomePhabricator

Accept network messages for 32MB blocks and larger.

Description

Accept network messages for 32MB blocks and larger.

Summary: This patch ensure that all message are capped to 1MB, except for message that can possibly containt the block content. In this case, the size of the accepted message is scaled with the accepted block size.

Test Plan: Upated intergation tests to check it is now possible to accept blocks of 32MB.

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: jasonbcox, kyuupichan, teamcity

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

Details

Provenance
deadalnixAuthored on Feb 25 2018, 10:54
deadalnixPushed on Feb 26 2018, 16:52
Reviewer
Restricted Project
Differential Revision
D1133: Accept network messages for 32MB blocks and larger.
Parents
rABCd3922e32044c: Modernize compact block code
Branches
Unknown
Tags
Unknown