Changeset View
Changeset View
Standalone View
Standalone View
src/config.cpp
Show First 20 Lines • Show All 73 Lines • ▼ Show 20 Lines | |||||
void GlobalConfig::SetMinFeePerKB(CFeeRate fee) { | void GlobalConfig::SetMinFeePerKB(CFeeRate fee) { | ||||
feePerKB = fee; | feePerKB = fee; | ||||
} | } | ||||
CFeeRate GlobalConfig::GetMinFeePerKB() const { | CFeeRate GlobalConfig::GetMinFeePerKB() const { | ||||
return feePerKB; | return feePerKB; | ||||
} | } | ||||
void GlobalConfig::SetRPCUserAndPassword(std::string userAndPassword) { | |||||
rpcUserAndPassword = userAndPassword; | |||||
} | |||||
std::string GlobalConfig::GetRPCUserAndPassword() const { | |||||
return rpcUserAndPassword; | |||||
} | |||||
void GlobalConfig::SetRPCCORSDomain(std::string corsDomain) { | |||||
rpcCORSDomain = corsDomain; | |||||
} | |||||
std::string GlobalConfig::GetRPCCORSDomain() const { | |||||
return rpcCORSDomain; | |||||
} |