diff options
author | Ryan Schneider <ryanleeschneider@gmail.com> | 2018-05-23 20:55:42 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-05-23 20:55:42 +0800 |
commit | 55b579e02ce6f374bf81061269eabde0d82ae567 (patch) | |
tree | bd342772873ac0eb434d49a339850df6a3cf633b /trie | |
parent | be22ee8ddac890044ca66500f4f8b32c635e3d1f (diff) | |
download | go-tangerine-55b579e02ce6f374bf81061269eabde0d82ae567.tar go-tangerine-55b579e02ce6f374bf81061269eabde0d82ae567.tar.gz go-tangerine-55b579e02ce6f374bf81061269eabde0d82ae567.tar.bz2 go-tangerine-55b579e02ce6f374bf81061269eabde0d82ae567.tar.lz go-tangerine-55b579e02ce6f374bf81061269eabde0d82ae567.tar.xz go-tangerine-55b579e02ce6f374bf81061269eabde0d82ae567.tar.zst go-tangerine-55b579e02ce6f374bf81061269eabde0d82ae567.zip |
core: use a wrapped map to remove contention in `TxPool.Get`. (#16670)
* core: use a wrapped `map` and `sync.RWMutex` for `TxPool.all` to remove contention in `TxPool.Get`.
* core: Remove redundant `txLookup.Find` and improve comments on txLookup methods.
Diffstat (limited to 'trie')
0 files changed, 0 insertions, 0 deletions