diff --git a/src/Makefile.am b/src/Makefile.am index 1ccb5332c4408..b38937a48971f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -243,6 +243,7 @@ BITCOIN_CORE_H = \ node/warnings.h \ noui.h \ outputtype.h \ + policy/ephemeral_policy.h \ policy/feerate.h \ policy/fees.h \ policy/fees_args.h \ @@ -445,6 +446,7 @@ libbitcoin_node_a_SOURCES = \ node/utxo_snapshot.cpp \ node/warnings.cpp \ noui.cpp \ + policy/ephemeral_policy.cpp \ policy/fees.cpp \ policy/fees_args.cpp \ policy/packages.cpp \ @@ -951,6 +953,7 @@ libbitcoinkernel_la_SOURCES = \ node/blockstorage.cpp \ node/chainstate.cpp \ node/utxo_snapshot.cpp \ + policy/ephemeral_policy.cpp \ policy/feerate.cpp \ policy/packages.cpp \ policy/policy.cpp \ diff --git a/src/Makefile.bench.include b/src/Makefile.bench.include index fe6333d8c0b58..5945e649d829d 100644 --- a/src/Makefile.bench.include +++ b/src/Makefile.bench.include @@ -40,6 +40,7 @@ bench_bench_bitcoin_SOURCES = \ bench/load_external.cpp \ bench/lockedpool.cpp \ bench/logging.cpp \ + bench/mempool_ephemeral_spends.cpp \ bench/mempool_eviction.cpp \ bench/mempool_stress.cpp \ bench/merkle_root.cpp \ diff --git a/src/bench/mempool_ephemeral_spends.cpp b/src/bench/mempool_ephemeral_spends.cpp new file mode 100644 index 0000000000000..e867c61752c1e --- /dev/null +++ b/src/bench/mempool_ephemeral_spends.cpp @@ -0,0 +1,83 @@ +// Copyright (c) 2011-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 +#include +#include +#include +#include +#include +#include