OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2e156d
)
update
author
Chengcheng Zhang
<943420582@qq.com>
Wed, 5 Jun 2019 13:16:49 +0000
(21:16 +0800)
committer
Chengcheng Zhang
<943420582@qq.com>
Wed, 5 Jun 2019 13:16:49 +0000
(21:16 +0800)
consensus/general.go
patch
|
blob
|
history
diff --git
a/consensus/general.go
b/consensus/general.go
index
c8bf412
..
e048217
100644
(file)
--- a/
consensus/general.go
+++ b/
consensus/general.go
@@
-32,7
+32,7
@@
const (
BlockTimeInterval = 500
// MaxTimeOffsetMs is the maximum number of seconds a block time is allowed to be ahead of the current time
- MaxTimeOffsetMs = uint64(BlockTimeInterval *
(BlockNumEachNode + 2)
)
+ MaxTimeOffsetMs = uint64(BlockTimeInterval *
BlockNumEachNode / 3
)
MedianTimeBlocks = 11
PayToWitnessPubKeyHashDataSize = 20