Update hardfork schedule for Salvium

- Replace Monero hardfork schedule with Salvium's
- v1-v10 transitions at correct block heights
- Fixes peer banning due to version mismatch (error 87)
This commit is contained in:
Matt Hess
2025-11-12 19:00:53 +00:00
parent 2a41ad9670
commit 78cbb8bc9f
3 changed files with 51 additions and 74 deletions

View File

@@ -117,7 +117,7 @@ extern "C" void __nss_module_disable_loading();
namespace p2pool {
constexpr size_t HASH_SIZE = 32;
constexpr uint8_t HARDFORK_SUPPORTED_VERSION = 16;
constexpr uint8_t HARDFORK_SUPPORTED_VERSION = 10;
constexpr uint8_t MINER_REWARD_UNLOCK_TIME = 60;
constexpr uint8_t NONCE_SIZE = 4;
constexpr uint8_t EXTRA_NONCE_SIZE = 4;

View File

@@ -48,7 +48,7 @@ LOG_CATEGORY(P2PServer)
static constexpr char saved_peer_list_file_name[] = "p2pool_peers.txt";
static constexpr char saved_onion_peer_list_file_name[] = "p2pool_onion_peers.txt";
static const char* seed_nodes[] = { "" };
static const char* seed_nodes[] = { "p2pool-seed01.whiskymine.io" };
static const char* seed_nodes_mini[] = { "" };
static const char* seed_nodes_nano[] = { "" };