Minor fixes

This commit is contained in:
everoddandeven 2024-11-12 00:52:31 +01:00
parent 3333beec5e
commit 51434182c9
2 changed files with 16 additions and 17 deletions

View file

@ -519,26 +519,25 @@
<small class="text-body-secondary">External port for p2p network protocol (if port forwarding used with NAT)</small> <small class="text-body-secondary">External port for p2p network protocol (if port forwarding used with NAT)</small>
</div> </div>
<hr class="my-4"> <hr class="my-4">
<div class="row g-3"> <div class="row g-3">
<h4 class="mb-3">IPv6</h4> <h4 class="mb-3">IPv6</h4>
<div class="col-md-6">
<label for="p2p-bind-ipv6-address" class="form-label">Bind IPv6 address</label>
<input type="text" class="form-control" id="p2p-bind-ipv6-address" placeholder="::1" [(ngModel)]="currentSettings.p2pBindIpv6Address" [ngModelOptions]="{standalone: true}">
<small class="text-body-secondary">Specify IPv6 address to bind RPC server</small>
</div>
<div class="col-md-6">
<label for="p2p-bind-port-ipv6" class="form-label">Bind IPv6 port</label>
<input type="number" min="0" class="form-control" id="p2p-bind-port-ipv6" placeholder="18080" [(ngModel)]="currentSettings.p2pBindPortIpv6" [ngModelOptions]="{standalone: true}">
<small class="text-body-secondary">18080 for mainnet, 28080 for testnet, 38080 for stagenet</small>
</div>
<div class="col-md-6">
<label for="p2p-bind-ipv6-address" class="form-label">Bind IPv6 address</label>
<input type="text" class="form-control" id="p2p-bind-ipv6-address" placeholder="::1" [(ngModel)]="currentSettings.p2pBindIpv6Address" [ngModelOptions]="{standalone: true}">
<small class="text-body-secondary">Specify IPv6 address to bind RPC server</small>
</div> </div>
<div class="col-md-6">
<label for="p2p-bind-port-ipv6" class="form-label">Bind IPv6 port</label>
<input type="number" min="0" class="form-control" id="p2p-bind-port-ipv6" placeholder="18080" [(ngModel)]="currentSettings.p2pBindPortIpv6" [ngModelOptions]="{standalone: true}">
<small class="text-body-secondary">18080 for mainnet, 28080 for testnet, 38080 for stagenet</small>
</div>
</div>
<hr class="my-4">
</div> </div>
</div> </div>
</div> </div>

View file

@ -60,7 +60,7 @@ export class DaemonInfo {
} }
public get gigaHashRate(): number { public get gigaHashRate(): number {
return this.hashRate / 1000; return this.megaHashRate / 1000;
} }
public get coreSynchronized(): boolean { public get coreSynchronized(): boolean {