env: minor.
This commit is contained in:
parent
23f9e543be
commit
581e4e3ce5
@ -170,19 +170,20 @@ function Environment() {
|
||||
this.account = this.wallet.Account;
|
||||
this.walletdb = require('./walletdb');
|
||||
this.path = this.walletdb.Path;
|
||||
this.provider = this.walletdb.Provider;
|
||||
this.peer = require('./peer');
|
||||
this.pool = require('./pool');
|
||||
this.miner = require('./miner');
|
||||
this.minerblock = this.miner.MinerBlock;
|
||||
this.http = require('./http');
|
||||
this.workers = require('./workers');
|
||||
this.sc = require('./sigcache');
|
||||
|
||||
this.sigcache = require('./sigcache')(0);
|
||||
this.sigcache = new this.sc(0);
|
||||
this.time = new this.timedata();
|
||||
this.defaultLogger = new this.logger('none');
|
||||
this.useWorkers = false;
|
||||
this.workerPool = new this.workers();
|
||||
|
||||
this.useWorkers = false;
|
||||
this.master = null;
|
||||
|
||||
this.set({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user