From 6dd2ad47922694d2ab84bad4dac9dd442c5df617 Mon Sep 17 00:00:00 2001 From: Ryan Ofsky Date: Wed, 6 Dec 2023 15:37:49 -0500 Subject: [PATCH] util: move spanparsing.h Split functions to string.h This will help move the miniscript / descriptor parsing functions out of the util library in an upcoming commit, so they are not exposed to libbitcoinkernel applications. Moving the Split functions should also make them more discoverable since they now close to related functions like Join. The functions are moved verbatim without any changes. --- src/test/descriptor_tests.cpp | 2 +- src/util/spanparsing.h | 41 ++++----------------------------- src/util/string.h | 43 ++++++++++++++++++++++++++++++++--- 3 files changed, 46 insertions(+), 40 deletions(-) diff --git a/src/test/descriptor_tests.cpp b/src/test/descriptor_tests.cpp index c779bf6f739..8556d4e2182 100644 --- a/src/test/descriptor_tests.cpp +++ b/src/test/descriptor_tests.cpp @@ -7,6 +7,7 @@ #include