From 1e9ebcc0d1be4483d1d01cb3b1c17d997aad94ba Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 23 Jan 2017 13:44:11 -0800 Subject: [PATCH] config: cleanup. --- lib/node/config.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/node/config.js b/lib/node/config.js index 22705c6f..3943a4cc 100644 --- a/lib/node/config.js +++ b/lib/node/config.js @@ -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; };