initial import of Salvium-specific details for Coin and WalletAddress information

This commit is contained in:
Some Random Crypto Guy 2024-06-26 22:30:43 +01:00
parent 7897f10c48
commit c8d9bc5653
3 changed files with 14 additions and 0 deletions

View file

@ -55,6 +55,7 @@ static const CoinInfo coinInfo[] = {
{ Algorithm::RX_WOW, "WOW", "Wownero", 300, 100000000000, MAGENTA_BG_BOLD(WHITE_BOLD_S " wownero ") },
{ Algorithm::RX_0, "ZEPH", "Zephyr", 120, 1000000000000, BLUE_BG_BOLD( WHITE_BOLD_S " zephyr ") },
{ Algorithm::RX_0, "Townforge","Townforge", 30, 100000000, MAGENTA_BG_BOLD(WHITE_BOLD_S " townforge ") },
{ Algorithm::RX_0, "SAL", "Salvium", 120, 100000000, BLUE_BG_BOLD( WHITE_BOLD_S " salvium ") },
};

View file

@ -41,6 +41,7 @@ public:
WOWNERO,
ZEPHYR,
TOWNFORGE,
SALVIUM,
MAX
};

View file

@ -261,6 +261,18 @@ const xmrig::WalletAddress::TagInfo &xmrig::WalletAddress::tagInfo(uint64_t tag)
{ 0x424220, { Coin::TOWNFORGE, STAGENET, PUBLIC, 38881, 38882 } },
{ 0x424221, { Coin::TOWNFORGE, STAGENET, SUBADDRESS, 38881, 38882 } },
{ 0x3ef318, { Coin::SALVIUM, MAINNET, PUBLIC, 19081, 19082 } },
{ 0x55ef318, { Coin::SALVIUM, MAINNET, INTEGRATED, 19081, 19082 } },
{ 0xf5ef318, { Coin::SALVIUM, MAINNET, SUBADDRESS, 19081, 19082 } },
{ 0x15beb318, { Coin::SALVIUM, TESTNET, PUBLIC, 29081, 29082 } },
{ 0xd055eb318, { Coin::SALVIUM, TESTNET, INTEGRATED, 29081, 29082 } },
{ 0xa59eb318, { Coin::SALVIUM, TESTNET, SUBADDRESS, 29081, 29082 } },
{ 0x149eb318, { Coin::SALVIUM, STAGENET, PUBLIC, 39081, 39082 } },
{ 0xf343eb318, { Coin::SALVIUM, STAGENET, INTEGRATED, 39081, 39082 } },
{ 0x2d47eb318, { Coin::SALVIUM, STAGENET, SUBADDRESS, 39081, 39082 } },
};
const auto it = tags.find(tag);