Перейти к публикации

ArtKosh

Новички
  • Публикации

    2
  • Зарегистрирован

  • Посещение

Репутация

2 Обычный

О ArtKosh

  • Звание
    Новичок
  1. . WTM не доверяй !!! 'BEAM1' => { wtmname => 'Beam1', minerdir => '', minerexe => '', hrlimit => '', hrurl => 'https://www.coincalculators.io/api.aspx?name=beam&hashrate=40000000&power=230&poolfee=0&powercost=0.1&difficultytime=6', hrregexp => '"currentNethash": (.*?),', eval => ' $CStat{$c}{algo} = "Equihash(150,5)"; $CStat{$c}{br} = 80; $CStat{$c}{bt} = 60; #$CStat{$c}{hr} = $CStat{$c}{hr}/$CStat{$c}{bt}; my $RATE = &GetContentFromURL("https://api.bitforex.com/api/v1/market/ticker/?symbol=coin-btc-beam"); $CStat{$c}{rate} = $1 if $RATE =~ /\{"data":\{"buy":(.+?),.+?\},.+?\}/; #print" -$c: = $CStat{$c}{hr} - $CStat{$c}{br} - $CStat{$c}{bt} - $CStat{$c}{rate}\n"; ', skip => 'monitor' , }, %ALGSHR = ( 'Equihash(150,5)' => 10*12/1000000, ); 1; ИЛИ второй вариант 'BEAM2' => { wtmname => 'Beam2', minerdir => '', minerexe => '', hrlimit => '', hrurl => 'https://www.coincalculators.io/api.aspx?name=beam&hashrate=40000000&power=230&poolfee=0&powercost=0.1&difficultytime=6', hrregexp => '"currentDifficulty": (.*?),', eval => ' $CStat{$c}{algo} = "Equihash(150,5)"; my $br = &GetContentFromURL("https://www.coincalculators.io/api.aspx?name=beam&hashrate=7&power=0&poolfee=1&powercost=0"); $CStat{$c}{br} = $1 if $br =~ /\{.+?"blockReward":(.+?),.+?\}/; my $bt = &GetContentFromURL("https://www.coincalculators.io/api.aspx?name=beam&hashrate=7&power=0&poolfee=1&powercost=0"); $CStat{$c}{bt} = $1 if $bt =~ /\{.+?"blockTime":(.+?),.+?\}/; $CStat{$c}{hr} = $CStat{$c}{hr}/($CStat{$c}{bt}); my $RATE = &GetContentFromURL("https://api.bitforex.com/api/v1/market/ticker/?symbol=coin-btc-beam"); $CStat{$c}{rate} = $1 if $RATE =~ /\{"data":\{"buy":(.+?),.+?\},.+?\}/; print" -$c: = $CStat{$c}{hr} - $CStat{$c}{br} - $CStat{$c}{bt} - $CStat{$c}{rate}\n"; ', skip => 'monitor' , }, %ALGSHR = ( 'Equihash(150,5)' => 10*12/1000000, ); 1;
  • Сейчас на странице   0 пользователей

    Нет пользователей, просматривающих эту страницу.

×
×
  • Создать...