Page MenuHomePhabricator

Have importprivkey use CWallet's ImportPrivKeys, ImportScripts, and ImportScriptPubKeys
ClosedPublic

Authored by deadalnix on Jun 6 2020, 17:25.

Details

Summary

Behavior changes:

  • If we already have the key, it's wpkh script will still be added, although it should already be there

Tis is a partial backport of Core PR16301 : https://github.com/bitcoin/bitcoin/pull/16301/commits/c6a827424711333f6f66cf5f9d79e0e6884769de

Test Plan
ninja all check-all

Diff Detail

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

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Jun 7 2020, 20:58