Skip to content

Commit

Permalink
CHANGED: minimized Masternode Zero-Fees protection to 1 minute
Browse files Browse the repository at this point in the history
  • Loading branch information
andvgal committed Feb 25, 2020
1 parent 40cd65a commit 4584454
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/energi_zerofee.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ func IsWhitelisted(db vm.StateDB, addr common.Address) bool {

var (
zfCleanupTimeout = time.Minute
zfMinHeartbeatPeriod = time.Duration(30) * time.Minute
zfMinInvalidationPeriod = time.Duration(2) * time.Minute
zfMinHeartbeatPeriod = time.Duration(1) * time.Minute
zfMinInvalidationPeriod = time.Duration(1) * time.Minute
zfMinCoinClaimPeriod = time.Duration(3) * time.Minute
zfMinCheckpointPeriod = time.Duration(10) * time.Minute

Expand Down
2 changes: 1 addition & 1 deletion energi/service/masternode.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import (
)

var (
heartbeatInterval = time.Duration(30) * time.Minute
heartbeatInterval = time.Duration(1) * time.Minute
recheckInterval = time.Minute
)

Expand Down

0 comments on commit 4584454

Please sign in to comment.