diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-12-20 11:48:22 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-12-20 16:07:33 +0100 |
commit | 8b9adca4461d0cb6bdfca7b74228d430b9b9d116 (patch) | |
tree | 8c808c370f97b626bc9318a7ece95de2a6525435 /src/qt/bitcoin.cpp | |
parent | 9e508b55885ba747dce2e3fd5ef4c05572cda0b0 (diff) |
Allow `-noserver` with bitcoind
Allow running bitcoind without server.
- Default to -server mode (of course) for bitcoind with SoftSetBoolArg
- Remove fForceServer argument from AppInit2
- Move fDaemon to a static variable in bitcoind
Diffstat (limited to 'src/qt/bitcoin.cpp')
-rw-r--r-- | src/qt/bitcoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 657b42d16a..9565d3ef7a 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -289,7 +289,7 @@ int main(int argc, char *argv[]) QObject::connect(pollShutdownTimer, SIGNAL(timeout()), guiref, SLOT(detectShutdown())); pollShutdownTimer->start(200); - if(AppInit2(threadGroup, false)) + if(AppInit2(threadGroup)) { { // Put this in a block, so that the Model objects are cleaned up before |