diff --git a/server/utils/common.ts b/server/utils/common.ts index f6c7d25..5bce8bb 100644 --- a/server/utils/common.ts +++ b/server/utils/common.ts @@ -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 }; } diff --git a/src/app/view/home/block-detail-list/block-detail-list.component.html b/src/app/view/home/block-detail-list/block-detail-list.component.html index cd4e889..49711b9 100644 --- a/src/app/view/home/block-detail-list/block-detail-list.component.html +++ b/src/app/view/home/block-detail-list/block-detail-list.component.html @@ -153,4 +153,40 @@
+ + +{{ "home.Hashrate" | translate }}
++
+