Page MenuHomePhabricator

track nSigChecks in CheckInputs
ClosedPublic

Authored by markblundeberg on Feb 1 2020, 15:42.

Details

Summary

This makes CheckInputs do the following:

  • If sigchecks are found in cache, return them.
  • If cache miss and checks are not deferred, then accumulate the total of inputs' sigchecks, store them in cache if requested, and then finally return those.
  • If cache miss and checks are deferred, return 0 sigchecks.

Depends on D4940 and D4834

Test Plan

ninja check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
sigchecks_checkinputs
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9225
Build 16395: Default Diff Build & Tests
Build 16394: arc lint + arc unit