Page MenuHomePhabricator

Add support for inferring descriptors from scripts
ClosedPublic

Authored by deadalnix on May 18 2020, 20:58.

Details

Summary

This is a partial backport of Core PR14477 : https://github.com/bitcoin/bitcoin/pull/14477/commits/4d78bd93b5bdf886e743022e80f4edb8a982cf0d

I made InferPubkey static because it is only called from there.

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.

majcosta requested changes to this revision.May 18 2020, 21:22
majcosta added a subscriber: majcosta.
majcosta added inline comments.
src/script/descriptor.cpp
833 ↗(On Diff #20233)

Wmissing-braces

This revision now requires changes to proceed.May 18 2020, 21:22
src/script/descriptor.cpp
833 ↗(On Diff #20233)

I got owned by the formating :)

This revision is now accepted and ready to land.May 18 2020, 21:29