insight-ui-zcash/public/views/status.html

199 lines
5.9 KiB
HTML
Raw Normal View History

<section data-ng-controller="StatusController">
<div class="page-header">
<h1>
2014-01-21 10:35:05 -08:00
Application Status
</h1>
</div>
<div class="row">
<div class="col-md-8 col-md-offset-2">
2014-01-21 10:35:05 -08:00
<h2>Bitcoin node information</h2>
2014-01-20 06:45:01 -08:00
<table class="table table-striped" data-ng-init="getStatus('Info')">
<tbody>
2014-01-20 11:40:20 -08:00
<tr data-ng-show="!info &amp;&amp; !infoError">
<td colspan="2" class="text-center">Loading...
<tr data-ng-show="infoError">
<td colspan="2" class="text-danger">{{infoError}}
<tr>
<td>Version</td>
<td>{{info.version}}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Protocol version</td>
<td>{{info.protocolversion}}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Wallet version</td>
<td>{{info.walletversion}}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Balance (BTC)</td>
<td>{{info.balance}}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Blocks</td>
<td><a href="/#!/block-index/{{info.blocks}}">{{info.blocks}}</a></td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Time Offset</td>
<td>{{info.timeoffset}}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Connections to other nodes</td>
<td>{{info.connections}}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Proxy setting</td>
<td>{{info.proxy}}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Mining Difficulty</td>
<td>{{info.difficulty}}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Testnet</td>
<td>{{info.testnet}}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Keypool Oldest Date</td>
<td>{{info.keypoololdest*1000 | date:'medium' }}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Keypool Size</td>
<td>{{info.keypoolsize}}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Default Transaction Fee (BTC)</td>
<td>{{info.paytxfee}}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Info Errors</td>
2014-01-20 11:40:20 -08:00
<td>{{info.infoErrors}}</td>
</tr>
</tbody>
</table>
<h2>Sync Status</h2>
2014-01-20 06:45:01 -08:00
<table class="table table-striped" data-ng-init="getSync()">
<tbody>
2014-01-20 11:40:20 -08:00
<tr data-ng-show="syncError">
<td colspan="2"> <span class="text-danger"> {{ syncError }} </span>
2014-01-20 07:10:49 -08:00
<tr data-ng-show="sync.error">
<td colspan="2"> <span class="text-danger"> {{ sync.err }} </span>
</tr>
2014-01-20 06:45:01 -08:00
<tr>
<td>Sync Progress</td>
<td> {{(100 * sync.syncedBlocks/sync.blocksToSync)| number:2}}%
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Blocks to Sync</td>
2014-01-20 06:45:01 -08:00
<td>{{sync.blocksToSync}}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Synced Blocks</td>
2014-01-20 06:45:01 -08:00
<td>{{sync.syncedBlocks}}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Start</td>
<td>
<a href="/#!/block/{{sync.start}}">{{sync.start}}</a>
<span data-ng-show="sync.isStartGenesis"> (genesisBlock)</span>
2014-01-20 06:45:01 -08:00
</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>End</td>
<td>
<a href="/#!/block/{{sync.end}}">{{sync.end}}</a>
<span data-ng-show="sync.isEndGenesis"> (genesisBlock)</span>
2014-01-20 06:45:01 -08:00
</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Sync properties</td>
2014-01-20 06:45:01 -08:00
<td>
<ul>
<li data-ng-show="sync.upToExisting"> <span> Stops at existing block </span>
<li>
2014-01-21 10:35:05 -08:00
<span data-ng-show="sync.scanningBackward"> Backward Scan</span>
<span data-ng-hide="sync.scanningBackward"> Forward Scan</span>
2014-01-20 06:45:01 -08:00
</ul>
</td>
</tr>
</tbody>
</table>
2014-01-21 10:35:05 -08:00
<h2>Transaction Output Set Information</h2>
2014-01-20 06:45:01 -08:00
<table class="table table-striped" data-ng-init="getStatus('TxOutSetInfo')">
<tbody>
2014-01-20 11:40:20 -08:00
<tr data-ng-show="!txoutsetinfo &amp;&amp; !infoError">
<td colspan="2" class="text-center">Loading...</td>
</tr>
2014-01-20 11:40:20 -08:00
<tr data-ng-show="infoError">
<td colspan="2" class="text-danger">{{infoError}}</td>
</tr>
<tr>
<td>Height</td>
<td><a href="/#!/block-index/{{txoutsetinfo.height}}">{{txoutsetinfo.height}}</a></td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Best Block</td>
<td><a href="/#!/block/{{txoutsetinfo.bestblock}}">{{txoutsetinfo.bestblock}}</a></td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Transactions</td>
<td>{{txoutsetinfo.transactions}}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Transaction Outputs</td>
<td>{{txoutsetinfo.txouts}}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Bytes Serialized</td>
<td>{{txoutsetinfo.bytes_serialized}}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Hash Serialized</td>
<td>{{txoutsetinfo.hash_serialized}}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Total Amount</td>
<td>{{txoutsetinfo.total_amount}}</td>
</tr>
</tbody>
</table>
2014-01-21 10:35:05 -08:00
<h2>Difficulty</h2>
2014-01-20 06:45:01 -08:00
<table class="table table-striped" data-ng-init="getStatus('Difficulty')">
<tbody>
2014-01-20 11:40:20 -08:00
<tr data-ng-show="!difficulty &amp;&amp; !infoError">
<td colspan="2" class="text-center">Loading...</td>
</tr>
2014-01-20 11:40:20 -08:00
<tr data-ng-show="infoError">
<td colspan="2" class="text-danger">{{infoError}}</td>
</tr>
<tr>
2014-01-21 10:35:05 -08:00
<td>Mining Difficulty</td>
<td>{{difficulty}}</td>
</tr>
</tbody>
</table>
2014-01-21 10:35:05 -08:00
<h2>Last Block</h2>
2014-01-20 06:45:01 -08:00
<table class="table table-striped" data-ng-init="getStatus('LastBlockHash')">
<tbody>
2014-01-20 11:40:20 -08:00
<tr data-ng-show="!lastblockhash &amp;&amp; !infoError">
<td colspan="2" class="text-center">Loading...</td>
</tr>
<tr data-ng-show="infoError">
<td colspan="2" class="text-danger">{{infoError}}</td>
</tr>
<tr>
2014-01-20 11:40:20 -08:00
<td>Last block hash</td>
2014-01-21 10:35:05 -08:00
<td><a href="/#!/block/{{lastblockhash}}">{{lastblockhash}}</a></td>
</tr>
</tbody>
</table>
</div>
</div>
</section>