Skip to content

Commit

Permalink
Serve light clients by default (ethereum#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
Asa Oines authored and timmoreton committed Aug 21, 2019
1 parent 5c88786 commit 9c18a15
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 @@ -182,7 +182,7 @@ var (
LightServFlag = cli.IntFlag{
Name: "lightserv",
Usage: "Maximum percentage of time allowed for serving LES requests (0-90)",
Value: 0,
Value: eth.DefaultConfig.LightServ,
}
LightPeersFlag = cli.IntFlag{
Name: "lightpeers",
Expand Down
1 change: 1 addition & 0 deletions eth/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ var DefaultConfig = Config{
},
NetworkId: 1,
LightPeers: 100,
LightServ: 50,
DatabaseCache: 768,
TrieTimeout: 60 * time.Minute,
MinerGasFloor: 8000000,
Expand Down

0 comments on commit 9c18a15

Please sign in to comment.