Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tom
crown-core
Commits
d49002ad
Commit
d49002ad
authored
8 years ago
by
Fabian Olesen
Committed by
GitHub
8 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #12 from Infernoman/patch-1
Update for throne.conf
parents
4356b06d
c553be17
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/init.cpp
+4
-0
src/init.cpp
with
4 additions
and
0 deletions
+4
-0
src/init.cpp
View file @
d49002ad
...
...
@@ -21,6 +21,7 @@
#include "util.h"
#include "activethrone.h"
#include "throneman.h"
#include "throneconfig.h"
#include "spork.h"
#ifdef ENABLE_WALLET
#include "db.h"
...
...
@@ -483,6 +484,9 @@ bool AppInit2(boost::thread_group& threadGroup)
LogPrintf
(
"AppInit2 : parameter interaction: -bind set -> setting -listen=1
\n
"
);
}
// Process masternode config
throneConfig
.
read
(
GetThroneConfigFile
());
if
(
mapArgs
.
count
(
"-connect"
)
&&
mapMultiArgs
[
"-connect"
].
size
()
>
0
)
{
// when only connecting to trusted nodes, do not seed via DNS, or listen by default
if
(
SoftSetBoolArg
(
"-dnsseed"
,
false
))
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help