diff options
author | Determinant <[email protected]> | 2019-10-21 14:47:51 -0400 |
---|---|---|
committer | Determinant <[email protected]> | 2019-10-21 14:47:51 -0400 |
commit | 79b1169a9ff0b54ddf3b520a70a79c78ba5c988d (patch) | |
tree | 13fc62be3ebf344544547eeb9979450a3c6ecd40 /eth/config.go | |
parent | 913e9439a7c7883881895ee597a0cc464fb92353 (diff) |
customize Blockchain code
Diffstat (limited to 'eth/config.go')
-rw-r--r-- | eth/config.go | 4 |
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 { |