114 lines
4.4 KiB
HTML
114 lines
4.4 KiB
HTML
<div class="py-4 px-4 lg:px-8 mx-0 lg:mx-8 main">
|
|
<div class="grid justify-content-center">
|
|
|
|
<div class="col-12">
|
|
|
|
<div class="card text-center">
|
|
|
|
<div>
|
|
<img style="height: 200px;" src="assets/layout/images/logo.svg" alt="logo">
|
|
|
|
</div>
|
|
|
|
<div class="col-12 text-center">
|
|
<h1 class="text-900 font-normal">Public Pool</h1>
|
|
</div>
|
|
<div class="mb-4">
|
|
<a class="mr-4" href="https://github.com/benjamin-wilson/public-pool" target="_blank">
|
|
<i class="pi pi-github" style="font-size: 30pt; color: white;"></i>
|
|
</a>
|
|
<a href="https://discord.gg/pF9smpe3yE" target="_blank">
|
|
<i class="pi pi-discord" style="font-size: 30pt; color: white;"></i>
|
|
</a>
|
|
</div>
|
|
|
|
<div>
|
|
<code>Fully Open Source Solo Bitcoin Mining Pool</code>
|
|
<br>
|
|
<br>
|
|
<div class="info">
|
|
<code>stratum+tcp://public-pool.airdns.org:21496</code>
|
|
<br>
|
|
<code>username: <your BTC address>.<worker name>, password: x</code>
|
|
<br>
|
|
<br>
|
|
</div>
|
|
<code>Pleb mining (under 50TH/s miners) mine with <b>NO FEES*</b></code>
|
|
<br>
|
|
<code>Miners with > 50TH/s will incur a 1.5% fee, a portion of which will go back into <a href="https://discord.gg/pF9smpe3yE" target="_blank">open source Bitcoin mining</a>*</code>
|
|
<br>
|
|
<br>
|
|
<code>No second best.</code>
|
|
</div>
|
|
|
|
<div class="field mt-8 mb-8">
|
|
|
|
<input [formControl]="address" placeholder="Address (bc1...)" pInputText id="address" type="text"
|
|
class="p-inputtext p-component p-element">
|
|
<button [disabled]="address.invalid" class="ml-3" pButton label="My Workers"
|
|
[routerLink]="['app',address.value]"></button>
|
|
</div>
|
|
|
|
<code><small>* Based on a machine-by-machine basis</small></code>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-12">
|
|
|
|
<div *ngIf="chartData$ | async as chartData">
|
|
<div class="card">
|
|
<h1>Coming Back Soon</h1>
|
|
<!-- <p-chart type="line" [data]="chartData" [options]="chartOptions"></p-chart> -->
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="col-12" *ngIf="userAgents$ | async as userAgents">
|
|
<div class="card">
|
|
<h4 style="text-align: center;">Devices</h4>
|
|
<p-table [value]="userAgents">
|
|
<ng-template pTemplate="header">
|
|
<tr>
|
|
<th>Device</th>
|
|
<th>Currently Working</th>
|
|
</tr>
|
|
</ng-template>
|
|
<ng-template pTemplate="body" let-userAgent>
|
|
<tr>
|
|
<td>{{ userAgent.userAgent | userAgent }}</td>
|
|
<td>{{ userAgent.count }}</td>
|
|
</tr>
|
|
</ng-template>
|
|
</p-table>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-12" *ngIf="blockData$ | async as blockData">
|
|
<div class="card">
|
|
<h4 style="text-align: center;"> Found Blocks</h4>
|
|
<p-table [value]="blockData">
|
|
<ng-template pTemplate="header">
|
|
<tr>
|
|
<th>Height</th>
|
|
<th>Address</th>
|
|
<th>Worker</th>
|
|
<th>Session</th>
|
|
</tr>
|
|
</ng-template>
|
|
<ng-template pTemplate="body" let-block>
|
|
<tr>
|
|
<td>{{ block.height }}</td>
|
|
<td>{{ block.minerAddress }}</td>
|
|
<td>{{ block.worker }}</td>
|
|
<td>{{ block.sessionId }}</td>
|
|
</tr>
|
|
</ng-template>
|
|
</p-table>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |