Page MenuHomePhabricator

[backport#16658] validation: Rename CheckInputs to CheckInputScripts
ClosedPublic

Authored by majcosta on Dec 29 2020, 19:54.

Details

Summary

3bd8db80d8d335ab63ece4f110b0fadd562e80b7 [validation] fix comments in CheckInputScripts() (John Newbery)
6f6465cefcd599c89c00f7b51f42a4b87a5ffb0b scripted-diff: [validation] Rename CheckInputs to CheckInputScripts (John Newbery)

Pull request description:

CheckInputs() used to check no double spends, scripts & sigs and amounts. Since
832e074, the double spend and amount checks
have been moved to CheckTxInputs(), and CheckInputs() now just validates
input scripts. Rename the function to CheckInputScripts().

Also fix incorrect comments.

Backport of Core PR16658

Test Plan
ninja all check check-functional

Diff Detail

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

Event Timeline

deadalnix requested changes to this revision.Dec 29 2020, 23:26
deadalnix added a subscriber: deadalnix.

What about the integration tests?

This revision now requires changes to proceed.Dec 29 2020, 23:26

it looks like D3878 and D3875 diverged from Core so that the tests don't rely on whether "CheckInputs" or "CheckInputScripts" gets printed to the debug log

This revision is now accepted and ready to land.Jan 13 2021, 14:21