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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markblundeberg added a subscriber: markblundeberg.
markblundeberg added inline comments.
src/keystore.cpp
29 ↗(On Diff #8931)

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