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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.