Page MenuHomePhabricator

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

Authored by deadalnix on Sat, Jun 6, 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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

deadalnix created this revision.Sat, Jun 6, 17:25
Herald added a reviewer: Restricted Project. · View Herald TranscriptSat, Jun 6, 17:25
deadalnix requested review of this revision.Sat, Jun 6, 17:25
teamcity edited the summary of this revision. (Show Details)Sat, Jun 6, 17:25

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

deadalnix edited the summary of this revision. (Show Details)Sat, Jun 6, 17:27
majcosta accepted this revision.Sun, Jun 7, 20:58
This revision is now accepted and ready to land.Sun, Jun 7, 20:58