Page MenuHomePhabricator

Add pubkeys and whether input was witness to SignatureData
ClosedPublic

Authored by deadalnix on Oct 23 2019, 16:46.

Details

Summary

Stores pubkeys in SignatureData and retrieves them when using GetPubKey().

Stores whether the signatures in a SignatureData are for a witness input.

This is a partial backport of Core PR13557 : https://github.com/bitcoin/bitcoin/pull/13557/commits/12bcc64f277f642ece03c25653e726f2276f0d51

Depends on D4258

Test Plan

Unfortunately, The PR dump all the tests at once at the end, so there are n test for the new code.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
pubkeypbst
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 7849
Build 13718: Bitcoin ABC Buildbot (legacy)
Build 13717: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Oct 23 2019, 18:18