diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp index 51d8e7013ec70..a7f1aaaf8aacf 100644 --- a/src/bitcoind.cpp +++ b/src/bitcoind.cpp @@ -23,6 +23,9 @@ #include #include +// VELES BEGIN +#include +// VELES END /* Introduction text for doxygen: */ @@ -107,6 +110,17 @@ static bool AppInit(int argc, char* argv[]) return false; } + // VELES BEGIN + // Dash + // parse masternode.conf + std::string strErr; + if(!masternodeConfig.read(strErr)) { + fprintf(stderr,"Error reading masternode configuration file: %s\n", strErr.c_str()); + return false; + } + // + // VELES END + // Error out when loose non-argument tokens are encountered on command line for (int i = 1; i < argc; i++) { if (!IsSwitchChar(argv[i][0])) {