mirror of
https://github.com/monero-project/monero.git
synced 2025-12-10 00:51:28 +09:00
22 lines
381 B
C++
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);
|
|
}
|
|
}
|
|
}
|