Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
89a789c1
Unverified
Commit
89a789c1
authored
Jan 19, 2021
by
kladko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug/SKALE-3751-enable-zeromq
parent
1985e827
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
ServerInit.cpp
ServerInit.cpp
+9
-3
No files found.
ServerInit.cpp
View file @
89a789c1
...
...
@@ -103,9 +103,8 @@ void initUserSpace() {
systemHealthCheck
();
#endif
zmqServer
=
new
ZMQServer
();
static
std
::
thread
serverThread
(
std
::
bind
(
&
ZMQServer
::
run
,
zmqServer
));
serverThread
.
detach
();
}
void
exitZMQServer
()
{
...
...
@@ -211,8 +210,15 @@ void initAll(uint32_t _logLevel, bool _checkCert, bool _autoSign, bool _generate
SGXWalletServer
::
initHttpsServer
(
_checkCert
);
SGXRegistrationServer
::
initRegistrationServer
(
_autoSign
);
CSRManagerServer
::
initCSRManagerServer
();
zmqServer
=
new
ZMQServer
();
static
std
::
thread
serverThread
(
std
::
bind
(
&
ZMQServer
::
run
,
zmqServer
));
serverThread
.
detach
();
}
else
{
SGXWalletServer
::
initHttpServer
();
zmqServer
=
new
ZMQServer
();
static
std
::
thread
serverThread
(
std
::
bind
(
&
ZMQServer
::
run
,
zmqServer
));
serverThread
.
detach
();
}
SGXInfoServer
::
initInfoServer
(
_logLevel
,
_checkCert
,
_autoSign
,
_generateTestKeys
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment