diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-05-26 18:40:47 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-05-29 16:29:46 +0800 |
commit | 08959bbc70ade02109c819fdee72be1ed9310726 (patch) | |
tree | cfa633babd7910a5b081b5f89f0d25dc80a02add /eth/config.go | |
parent | dd5ed01f3b5ff5e426c9e2e4a55a8b05b10bc78d (diff) | |
download | dexon-08959bbc70ade02109c819fdee72be1ed9310726.tar dexon-08959bbc70ade02109c819fdee72be1ed9310726.tar.gz dexon-08959bbc70ade02109c819fdee72be1ed9310726.tar.bz2 dexon-08959bbc70ade02109c819fdee72be1ed9310726.tar.lz dexon-08959bbc70ade02109c819fdee72be1ed9310726.tar.xz dexon-08959bbc70ade02109c819fdee72be1ed9310726.tar.zst dexon-08959bbc70ade02109c819fdee72be1ed9310726.zip |
cmd, core, eth: configurable txpool parameters
Diffstat (limited to 'eth/config.go')
-rw-r--r-- | eth/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eth/config.go b/eth/config.go index 22c09b170..4109cff8b 100644 --- a/eth/config.go +++ b/eth/config.go @@ -44,6 +44,7 @@ var DefaultConfig = Config{ DatabaseCache: 128, GasPrice: big.NewInt(18 * params.Shannon), + TxPool: core.DefaultTxPoolConfig, GPO: gasprice.Config{ Blocks: 10, Percentile: 50, @@ -99,6 +100,9 @@ type Config struct { EthashDatasetsInMem int EthashDatasetsOnDisk int + // Transaction pool options + TxPool core.TxPoolConfig + // Gas Price Oracle options GPO gasprice.Config |