Skip to content

Commit

Permalink
Display block difficulty
Browse files Browse the repository at this point in the history
Added to the API in Blockstream/electrs@9aa3f75

Resolves #167
  • Loading branch information
shesek committed Mar 23, 2020
1 parent 373b589 commit 6b5b608
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions client/src/views/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ export default ({ t, block: b, blockStatus: status, blockTxs, openTx, spends, op
<div>{t`Bits`}</div>
<div className="mono">{formatHex(b.bits)}</div>
</div>
, <div>
<div>{t`Difficulty`}</div>
<div className="mono">{formatNumber(b.difficulty)}</div>
</div>
, <div>
<div>{t`Nonce`}</div>
<div className="mono">{formatHex(b.nonce)}</div>
Expand Down

0 comments on commit 6b5b608

Please sign in to comment.