aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.h
diff options
context:
space:
mode:
authorShaul Kfir <shaul.kfir@gmail.com>2015-02-17 08:46:51 -0500
committerShaul Kfir <shaul.kfir@gmail.com>2015-02-17 08:46:51 -0500
commite5ece053da705a630bb664e16036299915ac1246 (patch)
tree532f7872bc94d87796ddb5143cf34b5fdf789c4b /src/chainparams.h
parent175d86e633bedcfb642fb326f1ec0b43c14c4f3b (diff)
Rename Interval() to DifficultyAdjustmentInterval()
Diffstat (limited to 'src/chainparams.h')
-rw-r--r--src/chainparams.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chainparams.h b/src/chainparams.h
index f52bf4e55f..86b84df667 100644
--- a/src/chainparams.h
+++ b/src/chainparams.h
@@ -68,7 +68,7 @@ public:
bool RequireStandard() const { return fRequireStandard; }
int64_t TargetTimespan() const { return nTargetTimespan; }
int64_t TargetSpacing() const { return nTargetSpacing; }
- int64_t Interval() const { return nTargetTimespan / nTargetSpacing; }
+ int64_t DifficultyAdjustmentInterval() const { return nTargetTimespan / nTargetSpacing; }
/** Make miner stop after a block is found. In RPC, don't return until nGenProcLimit blocks are generated */
bool MineBlocksOnDemand() const { return fMineBlocksOnDemand; }
/** In the future use NetworkIDString() for RPC fields */