Page MenuHomePhabricator

[sigcheck] Add per tx limit
ClosedPublic

Authored by deadalnix on Feb 16 2020, 02:38.

Details

Summary

As per title.

Test Plan

Added integration tests

Diff Detail

Repository
rABC Bitcoin ABC
Branch
pertxlimit
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9515
Build 16942: Default Diff Build & Tests
Build 16941: arc lint + arc unit

Event Timeline

jasonbcox requested changes to this revision.Feb 16 2020, 03:42
jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
src/validation.cpp
1225

Won't this short circuit so pBlockLimitSigChecks->consume_and_check(metrics.nSigChecks) may not be evaluated?

1273

ditto

src/validation.h
524

Nit: s/for to/to

test/functional/abc-block-sigchecks-activation.py
298

s/may/many ?

This revision now requires changes to proceed.Feb 16 2020, 03:42
jasonbcox added inline comments.
src/validation.cpp
1225

nvm, the tx limit check failing is the only case where this does not short circuit, so it doesn't matter.

This revision is now accepted and ready to land.Feb 16 2020, 03:48
This revision was landed with ongoing or failed builds.Feb 16 2020, 03:56
This revision was automatically updated to reflect the committed changes.