mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 17:37:25 +00:00
explorer: add multi-algo support for ARG explorer (#254)
This commit is contained in:
parent
5b91a559f9
commit
e6a731cf19
1 changed files with 3 additions and 0 deletions
|
@ -180,6 +180,9 @@ function versionToAlgo($coin, $version)
|
|||
$algos['XVG'] = array(
|
||||
0=>'scrypt', 1=>'scrypt', 2=>'myr-gr', 3=>'x17', 4=>'blake2s', 10=>'lyra2v2',
|
||||
);
|
||||
$algos['ARG'] = array(
|
||||
0=>'sha256', 1=>'scrypt', 2=>'lyra2v2', 3=>'myr-gr', 4=>'argon2d', 5=>'yescrypt',
|
||||
);
|
||||
$symbol = $coin->symbol;
|
||||
if (!empty($coin->symbol2)) $symbol = $coin->symbol2;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue