2014-01-08 06:05:19 -08:00
|
|
|
<section data-ng-controller="BlocksController" data-ng-init="findOne()">
|
|
|
|
<div class="page-header">
|
2014-01-09 10:13:26 -08:00
|
|
|
<h1 data-ng-if="block">Block #{{ block.height }}</h1>
|
2014-01-08 06:05:19 -08:00
|
|
|
</div>
|
2014-01-10 05:03:48 -08:00
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="panel panel-default">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title">Summary</h3>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<table class="table table-striped">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>Number Of Transactions</td>
|
2014-01-13 06:45:09 -08:00
|
|
|
<td>{{block.tx.length}}<td>
|
2014-01-10 05:03:48 -08:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Output Total</td>
|
|
|
|
<td>--</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Estimated Transaction Volume</td>
|
|
|
|
<td>--</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Transaction Fees</td>
|
|
|
|
<td>--</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Height</td>
|
|
|
|
<td>{{block.height}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Timestamp</td>
|
|
|
|
<td>{{block.time * 1000 | date:'medium'}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Relayed By</td>
|
|
|
|
<td>--</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Difficulty</td>
|
|
|
|
<td>{{block.difficulty}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Bits</td>
|
|
|
|
<td>{{block.bits}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Size</td>
|
|
|
|
<td>{{block.size}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Version</td>
|
|
|
|
<td>{{block.version}}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Nonce</td>
|
|
|
|
<td>{{block.nonce}}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="panel panel-default" data-ng-show="!tx.isCoinBase">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h3 class="panel-title">Hashes</h3>
|
|
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
<table class="table table-striped">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td>Hash</td>
|
|
|
|
<td><a class="address" href="/#!/block/{{block.hash}}">{{block.hash}}</a></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Previous Block</td>
|
|
|
|
<td><a class="address" href="/#!/block/{{block.previousblockhash}}">{{block.previousblockhash}}</a></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Next Block</td>
|
|
|
|
<td><a class="address" href="/#!/block/{{block.nextblockhash}}">{{block.nextblockhash}}</a></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>Merkle Root</td>
|
|
|
|
<td class="address">{{block.merkleroot}}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-01-10 05:25:16 -08:00
|
|
|
<h2>Transactions <small>Transactions contained within this block</small></h2>
|
2014-01-09 10:13:26 -08:00
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<th>Hash</th>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2014-01-10 05:03:48 -08:00
|
|
|
<tr data-ng-repeat="tx in block.tx">
|
|
|
|
<td><a href="/#!/tx/{{tx}}">{{tx}}</a></td>
|
|
|
|
</tr>
|
2014-01-08 06:05:19 -08:00
|
|
|
</tbody>
|
|
|
|
</table>
|
2014-01-09 10:13:26 -08:00
|
|
|
</section>
|