aboutsummaryrefslogtreecommitdiff
path: root/eth/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'eth/config.go')
-rw-r--r--eth/config.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/eth/config.go b/eth/config.go
index 8aee0eb..0313783 100644
--- a/eth/config.go
+++ b/eth/config.go
@@ -24,12 +24,12 @@ import (
"runtime"
"time"
+ "github.com/ava-labs/coreth/core"
"github.com/ava-labs/coreth/eth/gasprice"
"github.com/ava-labs/coreth/miner"
"github.com/ava-labs/go-ethereum/common"
"github.com/ava-labs/go-ethereum/common/hexutil"
"github.com/ava-labs/go-ethereum/consensus/ethash"
- "github.com/ava-labs/go-ethereum/core"
"github.com/ava-labs/go-ethereum/eth/downloader"
"github.com/ava-labs/go-ethereum/params"
)
@@ -62,6 +62,7 @@ var DefaultConfig = Config{
Blocks: 20,
Percentile: 60,
},
+ ManualCanonical: false,
}
func init() {
@@ -155,6 +156,7 @@ type Config struct {
// CheckpointOracle is the configuration for checkpoint oracle.
CheckpointOracle *params.CheckpointOracleConfig `toml:",omitempty"`
+ ManualCanonical bool
}
func MyDefaultConfig() Config {