Page MenuHomePhabricator

[script_tests] add tests for pubkey encoding with strictenc + nullfail
ClosedPublic

Authored by markblundeberg on Jul 9 2019, 16:19.

Details

Summary

During discussion of D3473 an optimization for the NULLFAIL check was
proposed. If implemented naively with bail-early mechanics, it could
lead to an inadvertent consensus change due to interaction with
STRICTENC. From what I can tell this was not covered by test vectors.

Depends on D3612.

Test Plan

make check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
multisigtests_consolidate
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6762
Build 11571: Bitcoin ABC Buildbot (legacy)
Build 11570: arc lint + arc unit

Event Timeline

Accepting, but this probably needs to be shuffled around based on change in the parent's diff.

This revision is now accepted and ready to land.Jul 9 2019, 20:30

Accepting, but this probably needs to be shuffled around based on change in the parent's diff.

Should the valid/invalid separation be kept?