monero/src/wallet/fee_algorithm.h

22 lines
381 B
C++

#pragma once
namespace tools
{
enum class fee_algorithm : int
{
Unset = -1,
PreHardforkV3, /* Original */
HardforkV3,
HardforkV5,
HardforkV8,
};
namespace fee_algorithm_utilities
{
static int as_integral(const fee_algorithm algorithm)
{
return static_cast<int>(algorithm);
}
}
}