From 42b15dd24dbaa2294452dfc1357e694ed1cd10ed Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Thu, 4 Dec 2014 10:39:52 -0800 Subject: [PATCH] cleanup start_node_thread. --- src/bitcoindjs.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/bitcoindjs.cc b/src/bitcoindjs.cc index e9aed38d..65b6ec7e 100644 --- a/src/bitcoindjs.cc +++ b/src/bitcoindjs.cc @@ -822,19 +822,12 @@ start_node_thread(void) { return; } - // mapArgs["-datadir"] = g_data_dir; - // mapArgs["-server"] = g_rpc ? "1" : "0"; - // mapArgs["-testnet"] = g_testnet ? "1" : "0"; - if (!SelectParamsFromCommandLine()) { fprintf(stderr, "bitcoind.js: Invalid combination of -regtest and -testnet.\n"); return; } - // XXX Potentially add an option for this. - // This is probably a good idea if people try to start bitcoind while - // running a program which links to libbitcoind.so, but disable it for now. CreatePidFile(GetPidFile(), getpid()); detectShutdownThread = new boost::thread(