config: cleanup.
This commit is contained in:
parent
c44fc3bcef
commit
1e9ebcc0d1
@ -179,9 +179,6 @@ config.parseData = function parseData(data, prefix, dirname) {
|
||||
options.indexTX = bool(data.indextx);
|
||||
options.indexAddress = bool(data.indexaddress);
|
||||
|
||||
if (data.usecheckpoints != null)
|
||||
options.checkpoints = bool(data.usecheckpoints);
|
||||
|
||||
// Mempool
|
||||
options.limitFree = bool(data.limitfree);
|
||||
options.limitFreeRelay = bool(data.limitfreerelay);
|
||||
@ -191,7 +188,6 @@ config.parseData = function parseData(data, prefix, dirname) {
|
||||
|
||||
// Pool
|
||||
options.selfish = bool(data.selfish);
|
||||
options.headers = bool(data.headers);
|
||||
options.compact = bool(data.compact);
|
||||
options.bip151 = bool(data.bip151);
|
||||
options.bip150 = bool(data.bip150);
|
||||
@ -235,14 +231,6 @@ config.parseData = function parseData(data, prefix, dirname) {
|
||||
if (options.authPeers != null)
|
||||
options.authPeers = config.parseAuth(options.authPeers);
|
||||
|
||||
// Alias
|
||||
if (options.fast) {
|
||||
options.headers = true;
|
||||
options.checkpoints = true;
|
||||
options.cacheSize = 200 << 20;
|
||||
options.coinCache = 65 << 20;
|
||||
}
|
||||
|
||||
return options;
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user