You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
101 lines
3.4 KiB
Plaintext
101 lines
3.4 KiB
Plaintext
{% extends "base" %}
|
|
|
|
{% block content %}
|
|
|
|
<section id="main">
|
|
<div class="container">
|
|
<section id="slim-header">
|
|
<a href="/" class="button">Go Back</a>
|
|
<!-- <nav id="nav">
|
|
<img src="//files.lzahq.tech/wow/WOW-Laptop-720x515.png"/ width=200>
|
|
<div class="search">
|
|
<form action="/search" method="get">
|
|
<input type="text" name="value" placeholder="Enter a transaction hash, block hash, block height, or wallet address.">
|
|
<input type="submit" value="Search">
|
|
</form>
|
|
</div>
|
|
</nav> -->
|
|
</section>
|
|
<div class="col-12">
|
|
<section>
|
|
<header class="major">
|
|
<h2>Block {{ block_header.height }}</h2>
|
|
<p class="subheader"><strong>Hash</strong>: {{ block_header.hash }}</p>
|
|
<p class="subheader"><strong>Timestamp</strong>: {{ block_header.timestamp }}</p>
|
|
</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>
|
|
<p><a href="/transaction/{{ block_header.miner_tx_hash }}">{{ block_header.miner_tx_hash | truncate(length=12) }}</a></p>
|
|
</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>
|
|
<caption><h2>Transactions ({% if tx_hashes %}{{ tx_hashes | length - 1 }}{% else %}?{% endif %})</h2></caption>
|
|
<tr>
|
|
<th>Hash</th>
|
|
</tr>
|
|
{% if tx_hashes %}
|
|
{% for hash in tx_hashes %}
|
|
<tr>
|
|
<td><a href="/transaction/{{ hash }}">{{ hash | truncate(length=12) }}</a></td>
|
|
</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 %}
|