aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-04-13 20:44:46 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-04-25 12:28:44 +0300
commit30e44482152488a78f2c495798a75e6f553dc0c8 (patch)
tree3a23901c0ed8c22ebad5cf8451be272f72fd2989 /src/txmempool.cpp
parenta1f0b8b62eb851c837a3618583b7c2fd4d12006c (diff)
downloadbitcoin-30e44482152488a78f2c495798a75e6f553dc0c8.tar.xz
refactor: Make TraceThread a non-template free function
Also it is moved into its own module.
Diffstat (limited to 'src/txmempool.cpp')
-rw-r--r--src/txmempool.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/txmempool.cpp b/src/txmempool.cpp
index 67549fc13d..5957637e81 100644
--- a/src/txmempool.cpp
+++ b/src/txmempool.cpp
@@ -18,6 +18,7 @@
#include <validation.h>
#include <validationinterface.h>
+#include <cmath>
#include <optional>
CTxMemPoolEntry::CTxMemPoolEntry(const CTransactionRef& _tx, const CAmount& _nFee,