From 9ade9777a68e9c9f17ea730f78887b30963dab88 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Tue, 7 Jul 2015 10:11:35 -0700 Subject: [PATCH] Olympic & Frontier specs --- alethzero/Main.ui | 4 ++-- alethzero/MainWin.cpp | 6 ++++++ eth/main.cpp | 9 +++++++++ 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/alethzero/Main.ui b/alethzero/Main.ui index 67a15d248..b2e3a9a29 100644 --- a/alethzero/Main.ui +++ b/alethzero/Main.ui @@ -11,7 +11,7 @@ - AlethZero Ethereum Client + AlethZero ++Ethereum true @@ -132,7 +132,7 @@ 0 0 1617 - 25 + 24 diff --git a/alethzero/MainWin.cpp b/alethzero/MainWin.cpp index 1e4577bf5..bc569c5cf 100644 --- a/alethzero/MainWin.cpp +++ b/alethzero/MainWin.cpp @@ -136,6 +136,12 @@ Main::Main(QWidget *parent) : QtWebEngine::initialize(); setWindowFlags(Qt::Window); ui->setupUi(this); + + if (c_network == eth::Network::Olympic) + setWindowTitle("AlethZero Olympic"); + else if (c_network == eth::Network::Frontier) + setWindowTitle("AlethZero Frontier"); + g_logPost = [=](string const& s, char const* c) { simpleDebugOut(s, c); diff --git a/eth/main.cpp b/eth/main.cpp index e4facccee..4b92cafbb 100644 --- a/eth/main.cpp +++ b/eth/main.cpp @@ -1471,6 +1471,15 @@ int main(int argc, char** argv) } } + if (g_logVerbosity > 0) + { + cout << EthGrayBold "(++)Ethereum" EthReset << endl; + if (c_network == eth::Network::Olympic) + cout << "Welcome to Olympic!" << endl; + else if (c_network == eth::Network::Frontier) + cout << "Welcome to the " EthMaroonBold "Frontier" EthReset "!" << endl; + } + m.execute(); KeyManager keyManager;