neoneo-go/pkg/core/mempool
Roman Khimov 06f3c34981 mempool: replace timeStamp with blockStamp
Time is not really relevant for us here and we don't use this timestamp in any
way. Yet it occupies 24 bytes and we do two clock_gettime calls to get it.

Replace it with blockStamp which is going to be used in the future for
transaction retransmissions.

It allows to improve single-node TPS by another 3%.
2020-11-11 15:48:13 +03:00
..
feer.go mempool: replace timeStamp with blockStamp 2020-11-11 15:48:13 +03:00
mem_pool.go mempool: replace timeStamp with blockStamp 2020-11-11 15:48:13 +03:00
mem_pool_test.go mempool: replace timeStamp with blockStamp 2020-11-11 15:48:13 +03:00
prometheus.go mempool: remove unverified transactions pool 2020-02-06 15:45:16 +03:00