mirror of
https://github.com/everoddandeven/monerod-gui.git
synced 2024-12-22 19:49:27 +00:00
Fix prep blocks thread settng and app name
This commit is contained in:
parent
c281283725
commit
0f760e21aa
2 changed files with 2 additions and 1 deletions
|
@ -49,6 +49,7 @@ interface Stats {
|
||||||
//import * as bz2 from 'unbzip2-stream';
|
//import * as bz2 from 'unbzip2-stream';
|
||||||
const bz2 = require('unbzip2-stream');
|
const bz2 = require('unbzip2-stream');
|
||||||
|
|
||||||
|
app.setName('Monero Daemon');
|
||||||
const gotInstanceLock = app.requestSingleInstanceLock();
|
const gotInstanceLock = app.requestSingleInstanceLock();
|
||||||
|
|
||||||
if (!gotInstanceLock) {
|
if (!gotInstanceLock) {
|
||||||
|
|
|
@ -213,7 +213,7 @@ export class DaemonSettings {
|
||||||
if (this.keepFakeChain) options.push(`--keep-fakechain`);
|
if (this.keepFakeChain) options.push(`--keep-fakechain`);
|
||||||
if (this.fixedDifficulty) options.push(`--fixed-difficulty`, `${this.fixedDifficulty}`);
|
if (this.fixedDifficulty) options.push(`--fixed-difficulty`, `${this.fixedDifficulty}`);
|
||||||
if (this.enforceDnsCheckpoint) options.push(`--enforce-dns-checkpoint`);
|
if (this.enforceDnsCheckpoint) options.push(`--enforce-dns-checkpoint`);
|
||||||
if (this.prepBlocksThreads) options.push(`--prep-block-threads`, `${this.prepBlocksThreads}`);
|
if (this.prepBlocksThreads) options.push(`--prep-blocks-threads`, `${this.prepBlocksThreads}`);
|
||||||
if (!this.noSync && this.fastBlockSync) options.push(`--fast-block-sync`, `1`);
|
if (!this.noSync && this.fastBlockSync) options.push(`--fast-block-sync`, `1`);
|
||||||
if (this.showTimeStats) options.push(`--show-time-stats`);
|
if (this.showTimeStats) options.push(`--show-time-stats`);
|
||||||
if (!this.noSync && this.blockSyncSize) options.push(`--block-sync-size`, `${this.blockSyncSize}`);
|
if (!this.noSync && this.blockSyncSize) options.push(`--block-sync-size`, `${this.blockSyncSize}`);
|
||||||
|
|
Loading…
Reference in a new issue