diff options
author | MacroFake <falke.marco@gmail.com> | 2022-07-21 16:52:14 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-08-02 15:27:20 +0200 |
commit | fa477d32eefcc3dd2f06b452066290d9936d8c5d (patch) | |
tree | 4cffc18bae9b48a17213ec50b0f9ef631e1d6cbb /src/policy | |
parent | fa2f6c1a611dffe5a3f63fe1b453f1dd420371b1 (diff) |
Remove ::GetVirtualTransactionSize() alias
Each alias is only used in one place.
Diffstat (limited to 'src/policy')
-rw-r--r-- | src/policy/settings.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/policy/settings.h b/src/policy/settings.h index 22af063b4c..f0d6f779ae 100644 --- a/src/policy/settings.h +++ b/src/policy/settings.h @@ -6,22 +6,6 @@ #ifndef BITCOIN_POLICY_SETTINGS_H #define BITCOIN_POLICY_SETTINGS_H -#include <policy/policy.h> - -#include <cstdint> - -class CTransaction; - extern unsigned int nBytesPerSigOp; -static inline int64_t GetVirtualTransactionSize(int64_t weight, int64_t sigop_cost) -{ - return GetVirtualTransactionSize(weight, sigop_cost, ::nBytesPerSigOp); -} - -static inline int64_t GetVirtualTransactionSize(const CTransaction& tx, int64_t sigop_cost) -{ - return GetVirtualTransactionSize(tx, sigop_cost, ::nBytesPerSigOp); -} - #endif // BITCOIN_POLICY_SETTINGS_H |