| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- <!--
- This file is part of DarkFi (https://dark.fi)
- Copyright (C) 2020-2026 Dyne.org foundation
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as
- published by the Free Software Foundation, either version 3 of the
- License, or (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>.
- -->
- {% extends "base.html" %}
- {% block title %}Block {{ block[0] }}{% endblock %}
- {% block content %}
- <div class="content-container">
- <!-- Block Details Header -->
- <div class="content-header" style="padding-bottom: 8px">
- <h2 class="content-section-header">Block Details</h2>
- <div class="">{{ block[0] }}</div>
- </div>
- <!-- Block Details -->
- <ul>
- <li><strong>Version:</strong> {{ block[1] }}</li>
- <li><strong>Previous:</strong> <a href="../block/{{ block[2] }}">{{ block[2] }}</a></li>
- <li><strong>Height:</strong> {{ block[3] }}</li>
- <li><strong>Timestamp:</strong> {{ block[4] }}</li>
- <li><strong>Nonce:</strong> {{ block[5] }}</li>
- <li><strong>Transactions Root:</strong> {{ block[6] }}</li>
- <li><strong>State Root:</strong> {{ block[7] }}</li>
- <li><strong>Proof of Work type:</strong> {{ block[8] }}</li>
- <li><strong>Signature:</strong> {{ block[9] }}</li>
- </ul>
- <!-- Page Content Divider -->
- <hr class="content-divider"/>
- <!-- Block Transactions -->
- <div class="content-section" style="padding-top: 12px">
- <h2 class="content-section-header">Block Transactions</h2>
- <ul>
- {% for transaction in transactions %}
- <li><a href="../tx/{{ transaction[0] }}">{{ transaction[0] }}</a></li>
- {% endfor %}
- </ul>
- </div>
- </div>
- {% endblock %}
|