Skip to content

Commit

Permalink
2/3
Browse files Browse the repository at this point in the history
  • Loading branch information
Djadih committed Nov 19, 2024
1 parent 1068bd8 commit f4e69db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions consensus/progpow/algorithm.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import (
"github.com/dominant-strategies/go-quai/common/bitutil"
"github.com/dominant-strategies/go-quai/crypto"
"github.com/dominant-strategies/go-quai/log"
"github.com/dominant-strategies/go-quai/params"
)

const (
Expand All @@ -51,7 +50,7 @@ const (
)

var (
C_epochLength = params.BlocksPerDay * 30 / 4 // 30 days worth of prime blocks
C_epochLength = uint64(3)
)

// cacheSize returns the size of the ethash verification cache that belongs to a certain
Expand Down
2 changes: 1 addition & 1 deletion consensus/progpow/algorithm_progpow.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const (
progpowDagLoads = 4 // Number of uint32 loads from the DAG per lane
progpowCntCache = 11
progpowCntMath = 18
progpowPeriodLength = 10
progpowPeriodLength = 2
progpowCntDag = 64
progpowMixBytes = 256
)
Expand Down

0 comments on commit f4e69db

Please sign in to comment.