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@byzantine-lab.io>2019-06-12 17:23:38 +0800
commit3c47149297c6d81fb5d05d0281a01c943b345b11 (patch)
tree38cab42283243e9759d2223c0ea606dcae7fe644 /dex/config.go
parent20c026c744a83675872a5c9d175a672e320297b1 (diff)
downloadgo-tangerine-3c47149297c6d81fb5d05d0281a01c943b345b11.tar
go-tangerine-3c47149297c6d81fb5d05d0281a01c943b345b11.tar.gz
go-tangerine-3c47149297c6d81fb5d05d0281a01c943b345b11.tar.bz2
go-tangerine-3c47149297c6d81fb5d05d0281a01c943b345b11.tar.lz
go-tangerine-3c47149297c6d81fb5d05d0281a01c943b345b11.tar.xz
go-tangerine-3c47149297c6d81fb5d05d0281a01c943b345b11.tar.zst
go-tangerine-3c47149297c6d81fb5d05d0281a01c943b345b11.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"`
}