wallet: Improve Fee Priority Code for Clarity

This commit is contained in:
tzadiko
2025-07-09 20:08:42 -05:00
parent f90a267fa3
commit 2f2a8c46bb
10 changed files with 304 additions and 101 deletions
+21
View File
@@ -0,0 +1,21 @@
#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);
}
}
}