There is a plenty diversity in information units through the code, command-line options, GUI and logs. Here are some examples:

`-dbcache`
**megabytes** in CL and GUI _vs_ **MiB** in logs and code (constants in [txdb.h](https://github.com/bitcoin/bitcoin/blob/master/src/txdb.h))

`-prune`
**MiB** in CL _vs_ **GB** in GUI. Also, setting prune = 1 GB in GUI gives _incorrect_ prune target = 1000 MiB.

Which prefix type -- binary (a power of 2) or SI (a power of 10) -- is preferable in the Bitcoin Core project?
{
    QSettings settings;
    
    BackupSettings(GetDataDir(true) / "guisettings.ini.bak", settings);
    
    QString dataDir = Intro::getDefaultDataDirectory();
    dataDir = settings.value("strDataDir", dataDir).toString();
    
    settings.clear();
    
    settings.setValue("strDataDir", dataDir);
    
    settings.setValue("fReset", true);
    
    if (GUIUtil::GetStartOnSystemStartup())
        GUIUtil::SetStartOnSystemStartup(false);
}
int OptionsModel::rowCount(const QModelIndex & parent) const
{
    return OptionIDRowCount;
}
struct ProxySetting {
    bool is_set;
    QString ip;
    QString port;
};
static ProxySetting GetProxySetting(QSettings &settings, const QString &name)