Browse Source

Olympic & Frontier specs

cl-refactor
Gav Wood 10 years ago
parent
commit
9ade9777a6
  1. 4
      alethzero/Main.ui
  2. 6
      alethzero/MainWin.cpp
  3. 9
      eth/main.cpp

4
alethzero/Main.ui

@ -11,7 +11,7 @@
</rect>
</property>
<property name="windowTitle">
<string>AlethZero Ethereum Client</string>
<string>AlethZero ++Ethereum</string>
</property>
<property name="dockNestingEnabled">
<bool>true</bool>
@ -132,7 +132,7 @@
<x>0</x>
<y>0</y>
<width>1617</width>
<height>25</height>
<height>24</height>
</rect>
</property>
<widget class="QMenu" name="menu_File">

6
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);

9
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;

Loading…
Cancel
Save