From 2f80fae1ed8144ea096f4f0b427542285bde9d40 Mon Sep 17 00:00:00 2001 From: timemarkovqtum Date: Mon, 10 Jun 2024 16:36:53 +0200 Subject: [PATCH] Port solver --- src/Makefile.test.include | 3 + src/addresstype.cpp | 114 ++++++++++++++++++- src/addresstype.h | 39 ++++++- src/key.cpp | 58 +++++++++- src/key.h | 3 + src/script/solver.cpp | 232 ++++++++++++++++++++++++++++++++++++++ src/uint256.cpp | 39 +++++++ src/uint256.h | 15 +++ 8 files changed, 499 insertions(+), 4 deletions(-) diff --git a/src/Makefile.test.include b/src/Makefile.test.include index 5e3c752e6c..73e4ac22ce 100644 --- a/src/Makefile.test.include +++ b/src/Makefile.test.include @@ -47,6 +47,9 @@ FUZZ_SUITE_LD_COMMON = \ $(LIBBITCOIN_CLI) \ $(LIBUNIVALUE) \ $(LIBLEVELDB) \ + $(BOOST_LIBS) \ + $(SSL_LIBS) \ + $(CRYPTO_LIBS) \ $(LIBMEMENV) \ $(LIBSECP256K1) \ $(MINISKETCH_LIBS) \ diff --git a/src/addresstype.cpp b/src/addresstype.cpp index f199d1b479..684bc6eb35 100644 --- a/src/addresstype.cpp +++ b/src/addresstype.cpp @@ -11,11 +11,11 @@ #include