From ef22fe8c1f331b4f13f21a54d12030b92e83fbe7 Mon Sep 17 00:00:00 2001 From: Glenn Willen Date: Fri, 1 Mar 2019 00:25:10 -0800 Subject: Refactor analyzepsbt for use outside RPC code Refactor the analyzepsbt RPC into (1) an AnalyzePSBT function, which returns its output as a new strongly-typed PSBTAnalysis struct, and (2) a thin wrapper which converts the struct into a UniValue for RPC use. --- src/psbt.h | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) (limited to 'src/psbt.h') diff --git a/src/psbt.h b/src/psbt.h index d89fd68c21..0f17a71a44 100644 --- a/src/psbt.h +++ b/src/psbt.h @@ -7,6 +7,8 @@ #include #include +#include +#include #include #include #include