update full web node name
This commit is contained in:
parent
45f7819aba
commit
f45fabd5c8
3 changed files with 5 additions and 4 deletions
|
|
@ -36,13 +36,14 @@ void BlockChain::start()
|
||||||
startFuture = chainThread->async([this] {
|
startFuture = chainThread->async([this] {
|
||||||
try {
|
try {
|
||||||
QSettings settings;
|
QSettings settings;
|
||||||
rpcEndpoint = settings.value( "rpc-endpoint", "127.0.0.1:8091" ).value<QString>();
|
rpcEndpoint = settings.value( "rpc-endpoint", "127.0.0.1:8090" ).value<QString>();
|
||||||
auto seed_node = settings.value( "seed-node", "104.236.51.238:1776" ).value<QString>().toStdString();
|
auto seed_node = settings.value( "seed-node", "104.236.51.238:2005" ).value<QString>().toStdString();
|
||||||
grapheneApp->register_plugin<graphene::account_history::account_history_plugin>();
|
grapheneApp->register_plugin<graphene::account_history::account_history_plugin>();
|
||||||
grapheneApp->register_plugin<graphene::market_history::market_history_plugin>();
|
grapheneApp->register_plugin<graphene::market_history::market_history_plugin>();
|
||||||
|
|
||||||
QString dataDir = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation);
|
QString dataDir = QStandardPaths::writableLocation(QStandardPaths::AppDataLocation);
|
||||||
QDir(dataDir).mkpath(".");
|
QDir(dataDir).mkpath(".");
|
||||||
|
idump((dataDir.toStdString()));
|
||||||
boost::program_options::variables_map map;
|
boost::program_options::variables_map map;
|
||||||
map.insert({"rpc-endpoint",boost::program_options::variable_value(rpcEndpoint.toStdString(), false)});
|
map.insert({"rpc-endpoint",boost::program_options::variable_value(rpcEndpoint.toStdString(), false)});
|
||||||
map.insert({"seed-node",boost::program_options::variable_value(std::vector<std::string>{(seed_node)}, false)});
|
map.insert({"seed-node",boost::program_options::variable_value(std::vector<std::string>{(seed_node)}, false)});
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@ qt5_add_resources(QML_QRC qml/qml.qrc)
|
||||||
qt5_add_resources(WEB_QRC web/web.qrc)
|
qt5_add_resources(WEB_QRC web/web.qrc)
|
||||||
|
|
||||||
|
|
||||||
set( APP_NAME "GrapheneTest3" )
|
set( APP_NAME "GrapheneOct5" )
|
||||||
|
|
||||||
set( CPACK_BUNDLE_NAME ${APP_NAME} )
|
set( CPACK_BUNDLE_NAME ${APP_NAME} )
|
||||||
set( CPACK_PACKAGE_NAME ${CPACK_BUNDLE_NAME} )
|
set( CPACK_PACKAGE_NAME ${CPACK_BUNDLE_NAME} )
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
fc::thread::current().set_name("main");
|
fc::thread::current().set_name("main");
|
||||||
QGuiApplication app(argc, argv);
|
QGuiApplication app(argc, argv);
|
||||||
app.setApplicationName("Graphene Client");
|
app.setApplicationName("GrapheneOct5");
|
||||||
app.setApplicationDisplayName(app.applicationName());
|
app.setApplicationDisplayName(app.applicationName());
|
||||||
app.setOrganizationDomain("cryptonomex.org");
|
app.setOrganizationDomain("cryptonomex.org");
|
||||||
app.setOrganizationName("Cryptonomex, Inc.");
|
app.setOrganizationName("Cryptonomex, Inc.");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue