diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -446,7 +446,6 @@ script/bitfield.cpp script/descriptor.cpp script/interpreter.cpp - script/ismine.cpp script/script.cpp script/script_error.cpp script/sigencoding.cpp diff --git a/src/Makefile.am b/src/Makefile.am --- a/src/Makefile.am +++ b/src/Makefile.am @@ -216,7 +216,6 @@ rwcollection.h \ scheduler.h \ script/descriptor.h \ - script/ismine.h \ script/scriptcache.h \ script/sigcache.h \ script/sign.h \ @@ -263,6 +262,7 @@ wallet/db.h \ wallet/rpcdump.h \ wallet/fees.h \ + wallet/ismine.h \ wallet/load.h \ wallet/psbtwallet.h \ wallet/rpcwallet.h \ @@ -378,6 +378,7 @@ wallet/coinselection.cpp \ wallet/db.cpp \ wallet/fees.cpp \ + wallet/ismine.cpp \ wallet/load.cpp \ wallet/psbtwallet.cpp \ wallet/rpcdump.cpp \ @@ -517,7 +518,6 @@ rpc/util.cpp \ scheduler.cpp \ script/descriptor.cpp \ - script/ismine.cpp \ script/sign.cpp \ script/standard.cpp \ versionbitsinfo.cpp \ diff --git a/src/Makefile.test.include b/src/Makefile.test.include --- a/src/Makefile.test.include +++ b/src/Makefile.test.include @@ -213,7 +213,8 @@ wallet/test/walletdb_tests.cpp \ wallet/test/wallet_crypto_tests.cpp \ wallet/test/coinselector_tests.cpp \ - wallet/test/init_tests.cpp + wallet/test/init_tests.cpp \ + wallet/test/ismine_tests.cpp BITCOIN_TEST_SUITE += \ wallet/test/wallet_test_fixture.cpp \ diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h --- a/src/interfaces/wallet.h +++ b/src/interfaces/wallet.h @@ -8,7 +8,6 @@ #include // For Amount #include // For CTxOut #include // For CKeyID and CScriptID (definitions needed in CTxDestination instantiation) -#include