Page MenuHomePhabricator

[policy] limit package sizes
ClosedPublic

Authored by PiRK on Oct 3 2022, 16:34.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC8ce587f87653: [policy] limit package sizes
Summary

Maximum number of transactions allowed in a package is 25, equal to the
default mempool descendant limit: if a package has more transactions
than this, either it would fail default mempool descendant limit or the
transactions don't all have a dependency relationship (but then they
shouldn't be in a package together). Same rationale for 101KvB virtual
size package limit.

Note that these policies are only used in test accepts so far.

This is a backport of core#20833 [8/13] and core#22084 [1/4]
https://github.com/bitcoin/bitcoin/pull/20833/commits/ae8e6df709ff3d52b8e9918e09cacb64f83ae379
https://github.com/bitcoin/bitcoin/pull/22084/commits/6c5f19d9c4d267c54f4dbc4f9d65370ff1e0625b

Depends on D12123

Test Plan

ninja all check-all

Diff Detail

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

Event Timeline

PiRK requested review of this revision.Oct 3 2022, 16:34
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
This revision is now accepted and ready to land.Oct 4 2022, 13:03
This revision was automatically updated to reflect the committed changes.