diff options
Diffstat (limited to 'dex/config.go')
-rw-r--r-- | dex/config.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dex/config.go b/dex/config.go index fa9988bfb..5a43496ab 100644 --- a/dex/config.go +++ b/dex/config.go @@ -45,6 +45,10 @@ var DefaultConfig = Config{ Blocks: 20, Percentile: 60, }, + + GasFloor: 8000000, + GasCeil: 8000000, + GasLimitTolerance: 1000000, } func init() { @@ -86,6 +90,11 @@ type Config struct { TrieDirtyCache int TrieTimeout time.Duration + // For calculate gas limit + GasFloor uint64 + GasCeil uint64 + GasLimitTolerance uint64 + // Dexcon options Dexcon dexcon.Config |