aboutsummaryrefslogtreecommitdiffstats
path: root/dex/config.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-10-12 13:01:15 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 13:49:52 +0800
commit0e2dc09b7d12a92dc04e02b9949c344d607d9463 (patch)
tree6bcfdb9a0b234b2620944fa4e75e43a6e2e5d654 /dex/config.go
parent40c4b188bb28e981eb6aaee4fd7bbfc11813aa5e (diff)
downloaddexon-0e2dc09b7d12a92dc04e02b9949c344d607d9463.tar
dexon-0e2dc09b7d12a92dc04e02b9949c344d607d9463.tar.gz
dexon-0e2dc09b7d12a92dc04e02b9949c344d607d9463.tar.bz2
dexon-0e2dc09b7d12a92dc04e02b9949c344d607d9463.tar.lz
dexon-0e2dc09b7d12a92dc04e02b9949c344d607d9463.tar.xz
dexon-0e2dc09b7d12a92dc04e02b9949c344d607d9463.tar.zst
dexon-0e2dc09b7d12a92dc04e02b9949c344d607d9463.zip
dex: add api_backend.go and it's dependencies
Diffstat (limited to 'dex/config.go')
-rw-r--r--dex/config.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/dex/config.go b/dex/config.go
index 5a43496ab..75afb4b7f 100644
--- a/dex/config.go
+++ b/dex/config.go
@@ -17,6 +17,7 @@
package dex
import (
+ "math/big"
"os"
"os/user"
"path/filepath"
@@ -112,6 +113,10 @@ type Config struct {
// Type of the EWASM interpreter ("" for detault)
EWASMInterpreter string
+
// Type of the EVM interpreter ("" for default)
EVMInterpreter string
+
+ // RPCGasCap is the global gas cap for eth-call variants.
+ RPCGasCap *big.Int `toml:",omitempty"`
}