Commit for network hashrate
This commit is contained in:
parent
2495f4250f
commit
9e812aa6f6
@ -284,7 +284,9 @@ let currentReward = 16;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
let cuckoohashrate = await network_hashrate(block_height,31,targetdifficultycuckatoo);
|
||||
let progpowhashrate = await network_hashrate(block_height,16,targetdifficultyprogpow);
|
||||
let randomxashrate = await network_hashrate(block_height,16,targetdifficultyrandomx);
|
||||
|
||||
return {
|
||||
block_height,
|
||||
@ -304,7 +306,10 @@ let currentReward = 16;
|
||||
TotalDifficultyRandomx:BlockchainLatestBlockQuery[0].total_difficulty_randomx,
|
||||
currentReward,
|
||||
foundationReward,
|
||||
userReward
|
||||
userReward,
|
||||
cuckoohashrate,
|
||||
progpowhashrate,
|
||||
randomxashrate
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -153,4 +153,40 @@
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-3">
|
||||
<div
|
||||
class="text-center detail_div"
|
||||
>
|
||||
<p class="mb-0 desc">{{ "home.Hashrate" | translate }}</p>
|
||||
<p
|
||||
class="count mb-0"
|
||||
[ngClass]="latestblockdetail.blink == true ? 'item-highlight' : ''"
|
||||
>
|
||||
</p>
|
||||
<div class="difficulty_datas">
|
||||
<span class="day60_txt">Cuckoo : </span>
|
||||
<span> {{ latestblockdetail.cuckoohashrate }} </span>
|
||||
</div>
|
||||
|
||||
<div class="difficulty_datas">
|
||||
<span class="day60_txt">ProgPoW : </span>
|
||||
<span> {{ latestblockdetail.progpowhashrate }}</span>
|
||||
</div>
|
||||
|
||||
<div class="difficulty_datas">
|
||||
<span class="day60_txt">RandomX : </span>
|
||||
<span>
|
||||
{{ latestblockdetail.randomxhashrate }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user