mirror of https://github.com/oxen-io/oxen-core.git
bump uptime proof checks on version
This commit is contained in:
parent
307e7b933a
commit
d941b581e6
|
@ -188,8 +188,8 @@ namespace service_nodes {
|
|||
// blocks out of sync and sending something that it thinks is legit.
|
||||
inline constexpr uint64_t VOTE_OR_TX_VERIFY_HEIGHT_BUFFER = 5;
|
||||
|
||||
inline constexpr std::array<uint16_t, 3> MIN_STORAGE_SERVER_VERSION{{2, 2, 0}};
|
||||
inline constexpr std::array<uint16_t, 3> MIN_LOKINET_VERSION{{0, 9, 5}};
|
||||
inline constexpr std::array<uint16_t, 3> MIN_STORAGE_SERVER_VERSION{{2, 3, 0}};
|
||||
inline constexpr std::array<uint16_t, 3> MIN_LOKINET_VERSION{{0, 9, 9}};
|
||||
|
||||
// The minimum accepted version number, broadcasted by Service Nodes via uptime proofs for each hardfork
|
||||
struct proof_version
|
||||
|
@ -201,6 +201,7 @@ namespace service_nodes {
|
|||
};
|
||||
|
||||
inline constexpr std::array MIN_UPTIME_PROOF_VERSIONS = {
|
||||
proof_version{{cryptonote::hf::hf19_reward_batching, 0}, {10,0,0}, {0,9,9}, {2,3,0}},
|
||||
proof_version{{cryptonote::hf::hf18, 1}, {9,2,0}, {0,9,5}, {2,2,0}},
|
||||
proof_version{{cryptonote::hf::hf18, 0}, {9,1,0}, {0,9,0}, {2,1,0}},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue