mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-11 21:22:47 +01:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user