modification

This commit is contained in:
shunmugam 2020-01-08 15:12:36 +05:30
parent 6f58eaeb5f
commit f7b7c630ae
2 changed files with 7 additions and 4 deletions

View File

@ -284,9 +284,12 @@ let currentReward = 16;
} }
} }
let cuckoohashrate = await network_hashrate(block_height,31,targetdifficultycuckatoo); let cuckoohashrate = await network_hashrate(block_height,31,targetdifficultycuckatoo+targetdifficultycuckaroo);
let progpowhashrate = await network_hashrate(block_height,16,targetdifficultyprogpow); let progpowhashrate = await network_hashrate(block_height,16,targetdifficultyprogpow);
let randomxhashrate = await network_hashrate(block_height,16,targetdifficultyrandomx); let randomxhashrate = await network_hashrate(block_height,16,targetdifficultyrandomx);
cuckoohashrate = Math.round(cuckoohashrate)
progpowhashrate = Math.round(progpowhashrate)
randomxhashrate = Math.round(randomxhashrate)
return { return {
block_height, block_height,
letest_block, letest_block,

View File

@ -167,18 +167,18 @@
</p> </p>
<div class="difficulty_datas"> <div class="difficulty_datas">
<span class="day60_txt">Cuckoo &nbsp;&nbsp;&nbsp;&nbsp;: </span> <span class="day60_txt">Cuckoo &nbsp;&nbsp;&nbsp;&nbsp;: </span>
<span> {{ latestblockdetail.cuckoohashrate }} </span> <span> {{ latestblockdetail.cuckoohashrate }} Gps </span>
</div> </div>
<div class="difficulty_datas"> <div class="difficulty_datas">
<span class="day60_txt">ProgPoW &nbsp;&nbsp;&nbsp;&nbsp;: </span> <span class="day60_txt">ProgPoW &nbsp;&nbsp;&nbsp;&nbsp;: </span>
<span> {{ latestblockdetail.progpowhashrate }}</span> <span> {{ latestblockdetail.progpowhashrate }} Hps</span>
</div> </div>
<div class="difficulty_datas"> <div class="difficulty_datas">
<span class="day60_txt">RandomX &nbsp;&nbsp;&nbsp;&nbsp;: </span> <span class="day60_txt">RandomX &nbsp;&nbsp;&nbsp;&nbsp;: </span>
<span> <span>
{{ latestblockdetail.randomxhashrate }} {{ latestblockdetail.randomxhashrate }} Hps
</span> </span>
</div> </div>