cleanup start_node_thread.
This commit is contained in:
parent
d265cdbd3f
commit
42b15dd24d
@ -822,19 +822,12 @@ start_node_thread(void) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// mapArgs["-datadir"] = g_data_dir;
|
|
||||||
// mapArgs["-server"] = g_rpc ? "1" : "0";
|
|
||||||
// mapArgs["-testnet"] = g_testnet ? "1" : "0";
|
|
||||||
|
|
||||||
if (!SelectParamsFromCommandLine()) {
|
if (!SelectParamsFromCommandLine()) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"bitcoind.js: Invalid combination of -regtest and -testnet.\n");
|
"bitcoind.js: Invalid combination of -regtest and -testnet.\n");
|
||||||
return;
|
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());
|
CreatePidFile(GetPidFile(), getpid());
|
||||||
|
|
||||||
detectShutdownThread = new boost::thread(
|
detectShutdownThread = new boost::thread(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user