diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-11-13 16:28:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-13 16:28:24 +0800 |
commit | 01642721a7768218e7f9a5be8f0829eb8ae7c7b1 (patch) | |
tree | a8ebe89570de317d7be047f32c8c35334e78c919 /core/constant.go | |
parent | 86838fe70789292de0851f82426e5241c0f0cc96 (diff) | |
download | dexon-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.gz dexon-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.tar.zst dexon-consensus-01642721a7768218e7f9a5be8f0829eb8ae7c7b1.zip |
core: expose implicit round shift (#321)
Diffstat (limited to 'core/constant.go')
-rw-r--r-- | core/constant.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/constant.go b/core/constant.go index 9a61c0a..563a321 100644 --- a/core/constant.go +++ b/core/constant.go @@ -17,9 +17,9 @@ package core -// round shift refers to the difference between block's round and config round -// derived from its state. +// ConfigRoundShift refers to the difference between block's round and config +// round derived from its state. // // For example, when round shift is 2, a block in round 0 should derive config // for round 2. -const roundShift uint64 = 2 +const ConfigRoundShift uint64 = 2 |