diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-26 10:00:31 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:18 +0800 |
commit | afc6a417210dc43a5a38ece5302de6801785316f (patch) | |
tree | bdf34181a628038f935e161433fe1b612a5b3bae /internal | |
parent | 82d138debeac23029d3640ee7bc31c4ed093ff28 (diff) | |
download | go-tangerine-afc6a417210dc43a5a38ece5302de6801785316f.tar go-tangerine-afc6a417210dc43a5a38ece5302de6801785316f.tar.gz go-tangerine-afc6a417210dc43a5a38ece5302de6801785316f.tar.bz2 go-tangerine-afc6a417210dc43a5a38ece5302de6801785316f.tar.lz go-tangerine-afc6a417210dc43a5a38ece5302de6801785316f.tar.xz go-tangerine-afc6a417210dc43a5a38ece5302de6801785316f.tar.zst go-tangerine-afc6a417210dc43a5a38ece5302de6801785316f.zip |
core: various changes on tps tuning (#46)
Diffstat (limited to 'internal')
-rw-r--r-- | internal/ethapi/api.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 3dec0b114..a0b79329c 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -1290,6 +1290,7 @@ func submitTransaction(ctx context.Context, b Backend, tx *types.Transaction) (c // submitTransactions is a helper function that submits batch of tx to txPool and logs a message. func submitTransactions(ctx context.Context, b Backend, txs []*types.Transaction) ([]common.Hash, error) { + types.GlobalSigCache.Add(types.NewEIP155Signer(b.ChainConfig().ChainID), txs) errs := b.SendTxs(ctx, txs) var hashes []common.Hash for i, err := range errs { |