diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -532,7 +532,9 @@ noui.cpp policy/fees.cpp policy/settings.cpp - pow.cpp + pow/daa.cpp + pow/eda.cpp + pow/pow.cpp rest.cpp rpc/abc.cpp rpc/avalanche.cpp @@ -588,6 +590,7 @@ # Test suites. add_subdirectory(test) add_subdirectory(avalanche/test) +add_subdirectory(pow/test) # Benchmark suite. add_subdirectory(bench) diff --git a/src/Makefile.am b/src/Makefile.am --- a/src/Makefile.am +++ b/src/Makefile.am @@ -198,7 +198,9 @@ policy/mempool.h \ policy/policy.h \ policy/settings.h \ - pow.h \ + pow/daa.h \ + pow/eda.h \ + pow/pow.h \ protocol.h \ psbt.h \ radix.h \ @@ -333,7 +335,9 @@ noui.cpp \ policy/fees.cpp \ policy/settings.cpp \ - pow.cpp \ + pow/daa.cpp \ + pow/eda.cpp \ + pow/pow.cpp \ rest.cpp \ rpc/abc.cpp \ rpc/avalanche.cpp \ diff --git a/src/Makefile.test.include b/src/Makefile.test.include --- a/src/Makefile.test.include +++ b/src/Makefile.test.include @@ -90,6 +90,8 @@ avalanche/test/peermanager_tests.cpp \ avalanche/test/processor_tests.cpp \ avalanche/test/proof_tests.cpp \ + pow/test/daa_tests.cpp \ + pow/test/eda_tests.cpp \ test/scriptnum10.h \ test/activation_tests.cpp \ test/addrman_tests.cpp \ @@ -150,7 +152,6 @@ test/op_reversebytes_tests.cpp \ test/pmt_tests.cpp \ test/policyestimator_tests.cpp \ - test/pow_tests.cpp \ test/prevector_tests.cpp \ test/radix_tests.cpp \ test/raii_event_tests.cpp \ diff --git a/src/bench/duplicate_inputs.cpp b/src/bench/duplicate_inputs.cpp --- a/src/bench/duplicate_inputs.cpp +++ b/src/bench/duplicate_inputs.cpp @@ -8,7 +8,7 @@ #include #include #include -#include +#include #include #include