Skip to content

Commit

Permalink
eth: default disable diff protocol (#45)
Browse files Browse the repository at this point in the history
### Description

disable `diff` protocol by default, `diff` protocol is deprecated,will
be deleted in the future

bnb-chain#1485
bnb-chain#1486
  • Loading branch information
0xcb9ff9 committed Oct 31, 2023
1 parent 2a25ece commit 892275b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ var (
}
DisableDiffProtocolFlag = cli.BoolFlag{
Name: "disablediffprotocol",
Usage: "Disable diff protocol",
Usage: "Disable diff protocol(default is true)",
}
EnableTrustProtocolFlag = cli.BoolFlag{
Name: "enabletrustprotocol",
Expand Down
1 change: 1 addition & 0 deletions eth/ethconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ var Defaults = Config{
TriesInMemory: 128,
TriesVerifyMode: core.LocalVerify,
SnapshotCache: 102,
DisableDiffProtocol: true,
DiffBlock: uint64(86400),
Miner: miner.Config{
GasCeil: 8000000,
Expand Down

0 comments on commit 892275b

Please sign in to comment.