Page MenuHomePhabricator

Implicitly know about P2WPKH redeemscripts
ClosedPublic

Authored by deadalnix on May 27 2019, 16:25.

Details

Summary

Make CKeyStore automatically known about the redeemscripts necessary for P2SH-P2WPKH
(and due to the extra checks in IsMine, also P2WPKH) spending.

This is a partial backport of Core PR11403 : https://github.com/bitcoin/bitcoin/pull/11403/commits/f37c64e477d679853a4076f2f7888568bb034e90

Test Plan
make check
./test/functional/test_runner.py

Diff Detail

Repository
rABC Bitcoin ABC
Branch
implicitsw
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6018
Build 10095: Bitcoin ABC Buildbot (legacy)
Build 10094: arc lint + arc unit

Event Timeline

markblundeberg added a subscriber: markblundeberg.
markblundeberg added inline comments.
src/keystore.cpp
29

fix typo: riht -> right

This revision now requires changes to proceed.May 27 2019, 22:31
This revision is now accepted and ready to land.May 27 2019, 23:13