- move SelectParamsFromCommandLine() from init.cpp to bitcoin.cpp to allow to use TestNet() for Bitcoin-Qt instead of GetBoolArg("-testnet", false)
Does this still work for bitcoind, whose check resides in bitcoind.cpp AFAIK?
Does this still work for bitcoind, whose check resides in bitcoind.cpp AFAIK?
- move SelectParamsFromCommandLine() from init.cpp to bitcoin.cpp to allow
to use TestNet() for Bitcoin-Qt instead of GetBoolArg("-testnet", false)This won't work. Bitcoind wouldn't ever call SelectParamsFromCommandLine() anymore?
@sipa https://github.com/bitcoin/bitcoin/blob/master/src/bitcoind.cpp#L70 What about this?
@sipa Could we then place that call (SelectParamsFromCommandLine()) here for bitcoind to work in all vairants?
https://github.com/bitcoin/bitcoin/blob/master/src/bitcoind.cpp#L39
No, not before ReadConfigFile.
Doesn't yet do, what it should ;) -> closed.