add NetworkIDString() to chainparams

- returns the BIP70 network string
- use that new function in the core and GUI code and remove unused code
  and functions
This commit is contained in:
Philip Kaufmann
2014-06-11 12:23:49 +02:00
parent 3f39b9d455
commit f5ae6c9826
8 changed files with 14 additions and 33 deletions

View File

@@ -142,14 +142,6 @@ void ClientModel::updateAlert(const QString &hash, int status)
emit alertsChanged(getStatusBarWarnings());
}
QString ClientModel::getNetworkName() const
{
QString netname(QString::fromStdString(Params().DataDir()));
if(netname.isEmpty())
netname = "main";
return netname;
}
bool ClientModel::inInitialBlockDownload() const
{
return IsInitialBlockDownload();