mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
Merge 3d223712d3 into merged_master (Bitcoin PR bitcoin/bitcoin#16795)
This commit is contained in:
commit
62697be8d9
28 changed files with 47 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#include <consensus/validation.h>
|
||||
#include <issuance.h>
|
||||
#include <key_io.h>
|
||||
#include <script/descriptor.h>
|
||||
#include <script/script.h>
|
||||
#include <script/sign.h>
|
||||
#include <script/standard.h>
|
||||
|
|
@ -191,6 +192,7 @@ static void SidechainScriptPubKeyToJSON(const CScript& scriptPubKey, UniValue& o
|
|||
CTxDestination address;
|
||||
|
||||
out.pushKV(prefix + "asm", ScriptToAsmStr(scriptPubKey));
|
||||
out.pushKV(prefix + "desc", InferDescriptor(scriptPubKey, DUMMY_SIGNING_PROVIDER)->ToString());
|
||||
if (include_hex) out.pushKV(prefix + "hex", HexStr(scriptPubKey));
|
||||
|
||||
std::vector<std::vector<unsigned char>> solns;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue