Changeset View
Changeset View
Standalone View
Standalone View
src/config.cpp
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
void GlobalConfig::SetCashAddrEncoding(bool c) { | void GlobalConfig::SetCashAddrEncoding(bool c) { | ||||
useCashAddr = c; | useCashAddr = c; | ||||
} | } | ||||
bool GlobalConfig::UseCashAddrEncoding() const { | bool GlobalConfig::UseCashAddrEncoding() const { | ||||
return useCashAddr; | return useCashAddr; | ||||
} | } | ||||
const CChainParams &DummyConfig::GetChainParams() const { | |||||
return Params(CBaseChainParams::REGTEST); | |||||
} |