From c4481eb2453f2018f058bf10e3558822b33b5a1d Mon Sep 17 00:00:00 2001 From: vijikannan <vijayalakshmi.blaze@gmail.com> Date: Tue, 30 Jul 2019 13:39:27 +0530 Subject: [PATCH] Latest block and Block view - difficulty fix --- .../view/block-view/block-detail/block-detail.component.html | 2 +- src/app/view/home/latestblocks/latestblocks.component.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/view/block-view/block-detail/block-detail.component.html b/src/app/view/block-view/block-detail/block-detail.component.html index 879b12b..29d014d 100644 --- a/src/app/view/block-view/block-detail/block-detail.component.html +++ b/src/app/view/block-view/block-detail/block-detail.component.html @@ -69,8 +69,8 @@ </div> <div class="d-inline-block align-middle ml-2"> <span class="">{{'home.DIFFICULTY' | translate}}</span> - <h6 class="view_txt">{{ hashdata.BlockchainBlockFetchQuery.TotalDifficulty }}</h6> </div> + <h6 class="view_txt">Cuckaroo : {{ hashdata.BlockchainBlockFetchQuery.TotalDifficultyCuckaroo }} | Cuckatoo : {{ hashdata.BlockchainBlockFetchQuery.TotalDifficultyCuckatoo }} <br/> Progpow : {{ hashdata.BlockchainBlockFetchQuery.TotalDifficultyProgpow }} | Randomx : {{ hashdata.BlockchainBlockFetchQuery.TotalDifficultyRandomx }}</h6> </div> <div class="col-sm-6 col-md-4 mt-4 pt-2"> <div class="d-inline-block align-middle"> diff --git a/src/app/view/home/latestblocks/latestblocks.component.html b/src/app/view/home/latestblocks/latestblocks.component.html index 8ba90ab..fe61562 100644 --- a/src/app/view/home/latestblocks/latestblocks.component.html +++ b/src/app/view/home/latestblocks/latestblocks.component.html @@ -49,10 +49,10 @@ <div class="block_div"><h6 >Age</h6><span class="blck_value">{{ hashvalue.age }}</span></div> </div> <div class="col-6 col-md-3 tble_col"> - <div class="block_div"><h6>Difficulty</h6><span class="blck_value">{{ hashvalue.target_difficulty | number }}</span></div> + <div class="block_div"><h6>Difficulty</h6><span class="blck_value" title="Cuckaroo : {{ hashvalue.target_difficulty_cuckaroo | number }}, Cuckatoo : {{ hashvalue.target_difficulty_cuckatoo | number }}, Progpow : {{ hashvalue.target_difficulty_progpow | number }}, Randomx : {{ hashvalue.target_difficulty_randomx | number }}">{{ hashvalue.target_difficulty_cuckaroo | number }}, {{ hashvalue.target_difficulty_cuckatoo | number }}, {{ hashvalue.target_difficulty_progpow | number }}, {{ hashvalue.target_difficulty_randomx | number }}</span></div> </div> <div class="col-6 col-sm-6 col-md-3 tble_col"> - <div class="block_div"><h6 class="mb-0">Pow Algo</h6><span class="blck_value">{{ hashvalue.PoWAlgo }}</span></div> + <div class="block_div"><h6 class="mb-0">Pow Algo</h6><span class="blck_value">{{ hashvalue.powalgo }}</span></div> </div> <div class="col-6 col-sm-6 col-md-3 tble_col"> <div class="block_div"><h6>#{{'home.INPUTS' | translate}}</h6><span class="blck_value">{{ hashvalue.input_count }}</span></div>