Chainparams: Get rid of CChainParams& Params(std::string)

This commit is contained in:
Jorge Timón
2015-11-28 15:04:35 +01:00
parent f87f3626e3
commit 2351a064a6
8 changed files with 25 additions and 29 deletions

View File

@@ -109,11 +109,6 @@ std::unique_ptr<CChainParams> CreateChainParams(const std::string& chain);
*/
const CChainParams &Params();
/**
* @returns CChainParams for the given BIP70 chain name.
*/
const CChainParams& Params(const std::string& chain);
/**
* Sets the params returned by Params() to those for the given BIP70 chain name.
* @throws std::runtime_error when the chain is not supported.