mirror of
https://github.com/everoddandeven/monerod-gui.git
synced 2025-01-08 03:49:28 +00:00
Fixed difficulty setting implementation
This commit is contained in:
parent
4d8487bbcb
commit
b8dceec47d
1 changed files with 9 additions and 3 deletions
|
@ -800,24 +800,30 @@
|
|||
<small class="text-body-secondary">Sync when node is connected to Wi-Fi</small>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-3">
|
||||
<label for="prep-block-threads" class="form-label">Prep blocks threads</label>
|
||||
<input type="number" min="0" class="form-control" id="prep-block-threds" placeholder="4" [(ngModel)]="currentSettings.prepBlocksThreads" [ngModelOptions]="{standalone: true}">
|
||||
<small class="text-body-secondary">Max number of threads to use when preparing block hashes in groups</small>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-3">
|
||||
<label for="block-sync-size" class="form-label">Block sync size</label>
|
||||
<input type="number" min="0" class="form-control" id="block-sync-size" placeholder="" [(ngModel)]="currentSettings.blockSyncSize" [ngModelOptions]="{standalone: true}">
|
||||
<small class="text-body-secondary">How many blocks to sync at once during chain synchronization (0 = adaptive)</small>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-3">
|
||||
<label for="block-download-max-size" class="form-label">Block download max size</label>
|
||||
<input type="number" min="0" class="form-control" id="block-download-max-size" placeholder="" [(ngModel)]="currentSettings.blockDownloadMaxSize" [ngModelOptions]="{standalone: true}">
|
||||
<small class="text-body-secondary">Set maximum size of block download queue in bytes (0 for default)</small>
|
||||
</div>
|
||||
|
||||
<div class="col-md-3">
|
||||
<label for="fixed-difficulty" class="form-label">Fixed difficulty</label>
|
||||
<input type="number" min="0" class="form-control" id="fixed-difficulty" placeholder="" [(ngModel)]="currentSettings.fixedDifficulty" [ngModelOptions]="{standalone: true}">
|
||||
<small class="text-body-secondary">Fixed difficulty used for testing (0 for default)</small>
|
||||
</div>
|
||||
|
||||
<div class="form-check form-switch col-md-12">
|
||||
<label for="sync-period-enabled" class="form-check-label">Sync Period Enabled</label>
|
||||
<input class="form-control form-check-input" type="checkbox" role="switch" id="sync-period-enabled" [checked]="currentSettings.syncPeriodEnabled" [(ngModel)]="currentSettings.syncPeriodEnabled" [ngModelOptions]="{standalone: true}" [disabled]="currentSettings.noSync">
|
||||
|
|
Loading…
Reference in a new issue