2020-07-01 08:12:09 +00:00
|
|
|
{% extends "base" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<section id="main">
|
|
|
|
<div class="container">
|
2020-07-03 01:56:40 +00:00
|
|
|
<section id="slim-header">
|
|
|
|
<a href="/" class="button">Go Back</a>
|
|
|
|
</section>
|
2020-07-01 08:12:09 +00:00
|
|
|
<div class="col-12">
|
|
|
|
<section>
|
|
|
|
<header class="major">
|
|
|
|
<h2>Block {{ block_header.height }}</h2>
|
|
|
|
<p class="subheader"><strong>Hash</strong>: {{ block_header.hash }}</p>
|
2020-07-03 04:52:21 +00:00
|
|
|
<p class="subheader"><strong>Timestamp</strong>: {{ block_header.timestamp | date(format="%Y-%m-%d %H:%M") }}</p>
|
2020-07-01 08:12:09 +00:00
|
|
|
</header>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-4 col-6-medium col-12-small">
|
|
|
|
<section class="box">
|
|
|
|
<header>
|
|
|
|
<h3>Size</h3>
|
|
|
|
</header>
|
|
|
|
<p>{{ block_header.block_size }} bytes</p>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<div class="col-4 col-6-medium col-12-small">
|
|
|
|
<section class="box">
|
|
|
|
<header>
|
|
|
|
<h3>Depth</h3>
|
|
|
|
</header>
|
|
|
|
<p>{{ block_header.depth }}</p>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<div class="col-4 col-6-medium col-12-small">
|
|
|
|
<section class="box">
|
|
|
|
<header>
|
|
|
|
<h3>Difficulty</h3>
|
|
|
|
</header>
|
|
|
|
<p>{{ block_header.difficulty }}</p>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<div class="col-4 col-6-medium col-12-small">
|
|
|
|
<section class="box">
|
|
|
|
<header>
|
|
|
|
<h3>Coinbase Transaction</h3>
|
|
|
|
</header>
|
2020-07-03 04:52:21 +00:00
|
|
|
<p><a href="/transaction/{{ block_header.miner_tx_hash }}">{{ block_header.miner_tx_hash | truncate(length=8) }}</a></p>
|
2020-07-01 08:12:09 +00:00
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<div class="col-4 col-6-medium col-12-small">
|
|
|
|
<section class="box">
|
|
|
|
<header>
|
|
|
|
<h3>Reward</h3>
|
|
|
|
</header>
|
|
|
|
<p>{{ block_header.reward / 1000000000000 }} WOW</p>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<div class="col-4 col-6-medium col-12-small">
|
|
|
|
<section class="box">
|
|
|
|
<header>
|
|
|
|
<h3>Nonce</h3>
|
|
|
|
</header>
|
|
|
|
<p>{{ block_header.nonce }}</p>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<br><br>
|
|
|
|
<div class="tx-table">
|
|
|
|
<table>
|
2020-07-03 03:52:50 +00:00
|
|
|
<caption><h2>Transactions ({% if tx_hashes %}{{ tx_hashes | length }}{% else %}0{% endif %})</h2></caption>
|
|
|
|
{% if tx_hashes %}
|
2020-07-01 08:12:09 +00:00
|
|
|
<tr>
|
|
|
|
<th>Hash</th>
|
|
|
|
</tr>
|
|
|
|
{% for hash in tx_hashes %}
|
|
|
|
<tr>
|
2020-07-03 04:52:21 +00:00
|
|
|
<td><a href="/transaction/{{ hash }}">{{ hash }}</a></td>
|
2020-07-01 08:12:09 +00:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<header class="major">
|
|
|
|
<h2><a href="/block/hash/{{ block_header.prev_hash }}">Previous Block</a></h2>
|
|
|
|
</header>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{% endblock content %}
|