Page MenuHomePhabricator

Stop always storing blocks from whitelisted peers
ClosedPublic

Authored by jasonbcox on Jan 1 2019, 01:41.

Details

Summary

There is no reason to wish to store blocks on disk always just
because a peer is whitelisted. This appears to be a historical
quirk to avoid breaking things when the accept limits were added.

Partial backport of Core PR 11531 (3d9c70ca0f):
https://github.com/bitcoin/bitcoin/pull/11531/commits/3d9c70ca0fd5d42f31114b689714af1825f0ed30

Test Plan

test_runner.py p2p-acceptblock

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jan 1 2019, 14:59
This revision was automatically updated to reflect the committed changes.