From 9bcce2608dd2515dc35a0f0866abc9d43903c795 Mon Sep 17 00:00:00 2001 From: Ryan Ofsky Date: Wed, 6 Dec 2023 15:58:47 -0500 Subject: util: move spanparsing.h to script/parsing.h Move miniscript / descriptor script parsing functions out of util library so they are not a dependency of the kernel. There are no changes to code or behavior. --- src/script/parsing.cpp | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 src/script/parsing.cpp (limited to 'src/script/parsing.cpp') diff --git a/src/script/parsing.cpp b/src/script/parsing.cpp new file mode 100644 index 0000000000..3528ac9bfa --- /dev/null +++ b/src/script/parsing.cpp @@ -0,0 +1,52 @@ +// Copyright (c) 2018-2022 The Bitcoin Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + +#include