Created
August 3, 2017 15:59
-
-
Save nodech/39c17fc502cc37f96a369b38b60c52ee to your computer and use it in GitHub Desktop.
Ethermint Config flags to TOML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Eth] | |
NetworkId = 1 # | |
SyncMode = "fast" # | |
LightPeers = 20 # | |
DatabaseCache = 128 # --cache | |
GasPrice = 18000000000 # --gasprice | |
EthashCacheDir = "ethash" # | |
EthashCachesInMem = 2 # | |
EthashCachesOnDisk = 3 # | |
EthashDatasetDir = "/Users/nd/.ethash" # | |
EthashDatasetsInMem = 1 # | |
EthashDatasetsOnDisk = 2 # | |
EnablePreimageRecording = false # --vmdebug | |
[Eth.TxPool] | |
PriceLimit = 1 # | |
PriceBump = 10 # | |
AccountSlots = 16 # | |
GlobalSlots = 4096 # | |
AccountQueue = 64 # | |
GlobalQueue = 1024 # | |
Lifetime = 10800000000000 # | |
[Eth.GPO] | |
Blocks = 10 # --gpoblocks | |
Percentile = 50 # --gpopercentile | |
[Node] | |
DataDir = "/Users/nd/Library/Ethereum" # --datadir | |
NoUSB = true # --nousb # Default false | |
KeyStoreDir = "." # --keystore # Remove to use default | |
IPCPath = "geth.ipc" # Remove for --ipcdisable | |
HTTPHost = "127.0.0.1" # --rpc --rpcaddr # Remove to disable | |
HTTPPort = 8545 # --rpcport | |
HTTPCors = ["http://google.com"] # --rpccorsdomain | |
HTTPModules = ["net", "web3", "eth"] # --rpcapi | |
WSHost = "127.0.0.1" # --ws --wsaddr # Remove to disable | |
WSPort = 8546 # --wsport | |
WSOrigins = ["http://goo.gl/"] # --wsorigins | |
WSModules = ["net", "web3", "eth"] # --wsapi | |
[Node.P2P] | |
MaxPeers = 0 # | |
NoDiscovery = true # | |
DiscoveryV5Addr = ":30304" # | |
BootstrapNodes = [] # | |
BootstrapNodesV5 = [] # | |
StaticNodes = [] # | |
TrustedNodes = [] # | |
ListenAddr = ":30303" # | |
# ---- Left out ---- | |
# --trie-cache-gens # go-ethereum TODO to move it to configs | |
# --unlock | |
# --password | |
# --nocompaction | |
# --targetgaslimit # it's from ethermint. | |
# --verbosity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment