aboutsummaryrefslogtreecommitdiff
path: root/src/chainparamsbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/chainparamsbase.h')
-rw-r--r--src/chainparamsbase.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/chainparamsbase.h b/src/chainparamsbase.h
index 095c4cbdcb..59493afb9b 100644
--- a/src/chainparamsbase.h
+++ b/src/chainparamsbase.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2014 The Bitcoin Core developers
+// Copyright (c) 2014-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
@@ -42,6 +42,8 @@ void AppendParamsHelpMessages(std::string& strUsage, bool debugHelp=true);
*/
const CBaseChainParams& BaseParams();
+CBaseChainParams& BaseParams(const std::string& chain);
+
/** Sets the params returned by Params() to those for the given network. */
void SelectBaseParams(const std::string& chain);