aboutsummaryrefslogtreecommitdiff
path: root/src/chainparamsbase.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-09-21 01:03:32 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2014-09-21 01:10:14 +0200
commit934b153a2caba4071a614e5b3ef40feeaff631d4 (patch)
tree3d95becb8f49ad812227c5f3bfafddec4c72f6d3 /src/chainparamsbase.h
parent25308337d659108e3320257fb6c1c16d5fe24aa9 (diff)
parent20e01b1a03819d843a860284033b48a5e3b65ff7 (diff)
Merge pull request #4933
20e01b1 Apply clang-format on some infrequently-updated files (Pieter Wuille)
Diffstat (limited to 'src/chainparamsbase.h')
-rw-r--r--src/chainparamsbase.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chainparamsbase.h b/src/chainparamsbase.h
index 743c8c541a..c054f03f17 100644
--- a/src/chainparamsbase.h
+++ b/src/chainparamsbase.h
@@ -26,6 +26,7 @@ public:
const std::string& DataDir() const { return strDataDir; }
int RPCPort() const { return nRPCPort; }
Network NetworkID() const { return networkID; }
+
protected:
CBaseChainParams() {}
@@ -38,7 +39,7 @@ protected:
* Return the currently selected parameters. This won't change after app startup
* outside of the unit tests.
*/
-const CBaseChainParams &BaseParams();
+const CBaseChainParams& BaseParams();
/** Sets the params returned by Params() to those for the given network. */
void SelectBaseParams(CBaseChainParams::Network network);