Changeset View
Changeset View
Standalone View
Standalone View
src/consensus/params.h
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | struct Params { | ||||
bool fPowNoRetargeting; | bool fPowNoRetargeting; | ||||
int64_t nPowTargetSpacing; | int64_t nPowTargetSpacing; | ||||
int64_t nPowTargetTimespan; | int64_t nPowTargetTimespan; | ||||
int64_t DifficultyAdjustmentInterval() const { | int64_t DifficultyAdjustmentInterval() const { | ||||
return nPowTargetTimespan / nPowTargetSpacing; | return nPowTargetTimespan / nPowTargetSpacing; | ||||
} | } | ||||
uint256 nMinimumChainWork; | uint256 nMinimumChainWork; | ||||
uint256 defaultAssumeValid; | uint256 defaultAssumeValid; | ||||
/** Activation time at which the cash HF kicks in. */ | |||||
int64_t cashHardForkActivationTime; | |||||
}; | }; | ||||
} // namespace Consensus | } // namespace Consensus | ||||
#endif // BITCOIN_CONSENSUS_PARAMS_H | #endif // BITCOIN_CONSENSUS_PARAMS_H |