Add CashAddr Address Format

Ported from Bitcoin Unlimited, Bitcoin ABC
This commit is contained in:
lateminer
2018-01-14 22:32:08 +03:00
parent 7cd5894690
commit 323a6750c2
85 changed files with 3107 additions and 780 deletions

View File

@@ -6,6 +6,7 @@
#include "chainparams.h"
#include "clientversion.h"
#include "rpc/server.h"
#include "config.h"
#include "init.h"
#include "noui.h"
#include "scheduler.h"
@@ -62,6 +63,8 @@ bool AppInit(int argc, char* argv[])
boost::thread_group threadGroup;
CScheduler scheduler;
auto &config = const_cast<Config &>(GetConfig());
bool fRet = false;
//
@@ -153,7 +156,7 @@ bool AppInit(int argc, char* argv[])
// Set this early so that parameter interactions go to console
InitLogging();
InitParameterInteraction();
fRet = AppInit2(threadGroup, scheduler);
fRet = AppInit2(config, threadGroup, scheduler);
}
catch (const std::exception& e) {
PrintExceptionContinue(&e, "AppInit()");