HashSuffixPipe

This commit is contained in:
Ben Wilson
2023-07-11 17:38:00 -04:00
parent a6623a539e
commit b359f24dbe
7 changed files with 367 additions and 32 deletions
+1 -1
View File
@@ -16,8 +16,8 @@ import { WorkerGroupComponent } from './components/worker-group/worker-group.com
import { WorkerComponent } from './components/worker/worker.component';
import { AppLayoutModule } from './layout/app.layout.module';
import { DateAgoPipe } from './pipes/date-ago.pipe';
import { NumberSuffixPipe } from './pipes/number-suffix.pipe';
import { HashSuffixPipe } from './pipes/hash-suffix.pipe';
import { NumberSuffixPipe } from './pipes/number-suffix.pipe';
@@ -1,4 +1,4 @@
<div class="py-4 px-4 lg:px-8 mt-5 mx-0 lg:mx-8">
<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">
@@ -13,14 +13,21 @@
</div>
<div>
<code>Solo Bitcoin mining pool</code>
<br>
<br>
<div class="info">
<code>stratum+tcp://public-pool-web.airdns.org:21496</code>
<br>
<code>username: &lt;your BTC address&gt;.&lt;worker name&gt;, password: x</code>
<br>
<br>
</div>
<code>1.8% fee includes donations to <a href="https://discord.gg/pF9smpe3yE" target="_blank">open source Bitcoin mining</a></code>
<code>Pleb mining (under 10TH/s miners) mine with <b>NO FEES*</b></code>
<br>
<code>Miners with > 10TH/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>
@@ -32,6 +39,8 @@
<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>
@@ -2,6 +2,15 @@
min-width: 325px;
}
.main {
margin-top: 60px;
}
.info {
font-weight: bold;
}
.card {
max-width: 1000px;
margin: 0 auto;
}
@@ -61,9 +61,7 @@ export class WorkerGroupComponent {
x: {
type: 'time',
time: {
unit: 'minute', // Set the unit to 'minute'
stepSize: 10, // Set the desired interval between labels in minutes
unit: 'hour'
},
ticks: {
color: textColorSecondary
@@ -61,9 +61,7 @@ export class WorkerComponent {
x: {
type: 'time',
time: {
unit: 'minute', // Set the unit to 'minute'
stepSize: 10, // Set the desired interval between labels in minutes
unit: 'hour'
},
ticks: {
color: textColorSecondary