2014-01-31 11:35:51 -08:00
|
|
|
<div data-ng-include src="'/views/includes/connection.html'"></div>
|
2014-01-08 06:05:19 -08:00
|
|
|
<section data-ng-controller="BlocksController" data-ng-init="findOne()">
|
2014-01-10 05:03:48 -08:00
|
|
|
<div class="row">
|
2014-01-27 13:13:32 -08:00
|
|
|
<div class="col-xs-12 col-gray col-gray-fixed">
|
|
|
|
<div class="block-id">
|
|
|
|
<div class="icon-block text-center">
|
|
|
|
<span class="glyphicon glyphicon-list-alt"></span>
|
2014-01-15 12:40:29 -08:00
|
|
|
</div>
|
2014-01-29 12:17:16 -08:00
|
|
|
<h1 data-ng-if="block">Block #{{ block.height }}</h1>
|
2014-01-15 12:40:29 -08:00
|
|
|
</div>
|
2014-01-30 13:33:33 -08:00
|
|
|
<div class="m10v">
|
|
|
|
<button class="pull-right btn-copy" clip-copy="block.hash"><span class="glyphicon glyphicon-paperclip"></span></button>
|
|
|
|
<a class="ellipsis block_hash" href="/address/{{block.hash}}">{{block.hash}}</a>
|
|
|
|
</div>
|
|
|
|
<div class="m20v" data-ng-show="!tx.isCoinBase">
|
2014-01-27 13:13:32 -08:00
|
|
|
<h4>Hashes</h4>
|
|
|
|
<table class="table" style="table-layout: fixed">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="small"> Previous Block</td>
|
|
|
|
<td><a class="address ellipsis" href="/block/{{block.previousblockhash}}">{{block.previousblockhash}}</a></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="small"> Next Block</td>
|
|
|
|
<td><a class="address ellipsis" href="/block/{{block.nextblockhash}}">{{block.nextblockhash}}</a></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="small">Merkle Root</td>
|
|
|
|
<td> <p class="address ellipsis"> {{block.merkleroot}} </p> </td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div> <!-- END OF TRANSACTIONS TABLE -->
|
2014-01-21 08:01:35 -08:00
|
|
|
</div> <!-- END OF COL-GRAY -->
|
2014-01-15 12:40:29 -08:00
|
|
|
|
2014-01-27 13:13:32 -08:00
|
|
|
<div class="col-xs-12 col-md-9 col-md-offset-3">
|
|
|
|
<h2>Summary</h2>
|
2014-01-15 12:40:29 -08:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<table class="table">
|
2014-01-10 05:03:48 -08:00
|
|
|
<tbody>
|
2014-01-15 12:40:29 -08:00
|
|
|
<tr>
|
|
|
|
<td> <strong> Number Of Transactions </strong> </td>
|
|
|
|
<td class="text-right text-muted">{{block.tx.length}}<td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td> <strong> Height </strong></td>
|
|
|
|
<td class="text-right text-muted">{{block.height}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td> <strong> Timestamp </strong></td>
|
|
|
|
<td class="text-right text-muted">{{block.time * 1000 | date:'medium'}}</td>
|
|
|
|
</tr>
|
2014-01-10 05:03:48 -08:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2014-01-15 12:40:29 -08:00
|
|
|
<div class="col-md-6">
|
|
|
|
<table class="table">
|
2014-01-10 05:03:48 -08:00
|
|
|
<tbody>
|
2014-01-15 12:40:29 -08:00
|
|
|
<tr>
|
|
|
|
<td> <strong> Difficulty </strong></td>
|
|
|
|
<td class="text-right text-muted">{{block.difficulty}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td> <strong> Bits </strong></td>
|
|
|
|
<td class="text-right text-muted">{{block.bits}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
2014-01-21 11:19:48 -08:00
|
|
|
<td> <strong> Size (bytes) </strong></td>
|
2014-01-15 12:40:29 -08:00
|
|
|
<td class="text-right text-muted">{{block.size}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td> <strong> Version </strong></td>
|
|
|
|
<td class="text-right text-muted">{{block.version}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td> <strong> Nonce </strong></td>
|
|
|
|
<td class="text-right text-muted">{{block.nonce}}</td>
|
|
|
|
</tr>
|
2014-01-10 05:03:48 -08:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2014-01-15 12:40:29 -08:00
|
|
|
</div><!-- END OF ROW -->
|
|
|
|
|
2014-01-21 08:01:35 -08:00
|
|
|
<div data-ng-controller="transactionsController" data-ng-init="load('block')">
|
2014-01-16 09:16:01 -08:00
|
|
|
<h2>Transactions <small >Transactions contained within this block</small></h2>
|
2014-01-21 08:01:35 -08:00
|
|
|
<div data-ng-include src="'/views/transaction/list.html'" when-scrolled="loadMore()"></div>
|
2014-01-16 09:16:01 -08:00
|
|
|
</div>
|
2014-01-10 05:03:48 -08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-01-09 10:13:26 -08:00
|
|
|
</section>
|