neo-go/pkg/core/blockchainer
Roman Khimov 5df726db68 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-09-09 20:46:31 +03:00
..
blockchainer.go mempool: replace timeStamp with blockStamp 2020-09-09 20:46:31 +03:00