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-15 12:40:29 -08:00
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="bs-sidebar hidden-print affix col-gray">
|
|
|
|
<div class="block-id">
|
|
|
|
<div class="icon-block text-center">
|
|
|
|
<span class="glyphicon glyphicon-list-alt"></span>
|
|
|
|
</div>
|
|
|
|
<h1 data-ng-if="block">Block #{{ block.height }}</h1>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div data-ng-show="!tx.isCoinBase">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<h3>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> <p class="address"> {{block.merkleroot}} </p> </td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2014-01-10 05:03:48 -08:00
|
|
|
</div>
|
2014-01-15 12:40:29 -08:00
|
|
|
|
|
|
|
</div>
|
|
|
|
</div> <!-- END OF COL-GRAY -->
|
|
|
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
<h3>Summary</h3>
|
|
|
|
<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> Output Total</strong></td>
|
|
|
|
<td class="text-right text-muted">--</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td> <strong> Estimated Transaction Volume </strong></td>
|
|
|
|
<td class="text-right text-muted">--</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td> <strong> Transaction Fees </strong></td>
|
|
|
|
<td class="text-right text-muted">--</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
|
|
|
<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>
|
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> Relayed By </strong></td>
|
|
|
|
<td class="text-right text-muted">--</td>
|
|
|
|
</tr>
|
|
|
|
<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>
|
|
|
|
<td> <strong> Size </strong></td>
|
|
|
|
<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 -->
|
|
|
|
|
|
|
|
<h2>Transactions <small>Transactions contained within this block</small></h2>
|
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Hash</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr data-ng-repeat="tx in block.tx track by $index">
|
|
|
|
<td><a href="/#!/tx/{{tx}}">{{tx}}</a></td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2014-01-10 05:03:48 -08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-01-14 15:34:01 -08:00
|
|
|
<div data-ng-controller="transactionsController" data-ng-init="byBlock(params.blockHash)">
|
|
|
|
<h2>Transactions <small>Transactions contained within this block</small></h2>
|
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>Transaction Hash</th>
|
|
|
|
<th>Datetime</th>
|
|
|
|
<th>Fee</th>
|
|
|
|
<th>Transacted Amount</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2014-01-15 05:34:25 -08:00
|
|
|
<tr data-ng-show="!txs.length">
|
|
|
|
<td colspan="4" class="text-center">Loading...</td>
|
|
|
|
</tr>
|
2014-01-14 15:34:01 -08:00
|
|
|
<tr data-ng-repeat="tx in txs">
|
|
|
|
<td><a href="/#!/tx/{{tx.txid}}">{{tx.txid}}</a></td>
|
|
|
|
<td>{{tx.time * 1000 | date:'medium'}}</td>
|
|
|
|
<td>{{tx.feeds}}</td>
|
|
|
|
<td>{{tx.valueOut}}</td>
|
2014-01-13 16:01:22 -08:00
|
|
|
</tr>
|
2014-01-14 15:34:01 -08:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2014-01-09 10:13:26 -08:00
|
|
|
</section>
|