diff options
author | Eric Lombrozo <elombrozo@gmail.com> | 2013-06-05 20:21:41 -0700 |
---|---|---|
committer | Eric Lombrozo <elombrozo@gmail.com> | 2013-06-05 23:15:20 -0700 |
commit | 501da2503a39dd88470df89ccc923c696fe6b111 (patch) | |
tree | 52bb9f3eb186bc99d1a8a96435fd78ac09532235 /src/init.cpp | |
parent | aabdf9e899e9024927c26c194ad38142495f80bf (diff) |
Using boost::signals2 to message main from net.cpp.
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/init.cpp b/src/init.cpp index a1dbfd2a5f..f8b2b23fd0 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -571,10 +571,8 @@ bool AppInit2(boost::thread_group& threadGroup) // ********************************************************* Step 6: network initialization - SetProcessMessagesHandler(ProcessMessages); - SetSendMessagesHandler(SendMessages); - SetStartShutdownHandler(StartShutdown); - + RegisterNodeSignals(GetNodeSignals()); + int nSocksVersion = GetArg("-socks", 5); if (nSocksVersion != 4 && nSocksVersion != 5) return InitError(strprintf(_("Unknown -socks proxy version requested: %i"), nSocksVersion)); |