Increase maxSelectedParentTimeDiffToAllowMiningInMilliSeconds to one hour (#1456)

This commit is contained in:
Ori Newman 2021-01-27 11:04:58 +02:00 committed by GitHub
parent 6393a8186a
commit a6ee871f7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ package flowcontext
import "github.com/kaspanet/kaspad/util/mstime"
const (
maxSelectedParentTimeDiffToAllowMiningInMilliSeconds = 300_000
maxSelectedParentTimeDiffToAllowMiningInMilliSeconds = 60 * 60 * 1000 // 1 Hour
)
// ShouldMine returns whether it's ok to use block template from this node