Changeset View
Changeset View
Standalone View
Standalone View
src/currencyunit.cpp
- This file was added.
// Copyright (c) 2021 The Bitcoin Developers | |||||
// Distributed under the MIT software license, see the accompanying | |||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | |||||
#include <currencyunit.h> | |||||
#include <util/system.h> | |||||
void SetupCurrencyUnitOptions(ArgsManager &argsman) { | |||||
// whether to use eCash default unit and address prefix | |||||
argsman.AddArg("-ecash", | |||||
strprintf("Use ecash as default unit (default: %s)", | |||||
DEFAULT_ECASH ? "true" : "false"), | |||||
ArgsManager::ALLOW_BOOL, OptionsCategory::OPTIONS); | |||||
} |