neo-go/pkg/rpc/server
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
..
testdata core: save NEP5 transfer notify index 2020-08-03 10:58:23 +03:00
prometheus.go rpc: reuse handlers map for prometheus metrics 2020-03-25 15:25:12 +03:00
server.go rpc: allow batch JSON-RPC requests 2020-11-06 17:20:27 +03:00
server_helper_test.go mempool: replace timeStamp with blockStamp 2020-11-11 15:48:13 +03:00
server_test.go rpc: allow batch JSON-RPC requests 2020-11-06 17:20:27 +03:00
subscription.go rpc/server: add notification filters 2020-05-14 17:28:14 +03:00
subscription_test.go rpc/block: rework the way Block is JSONized 2020-05-14 17:28:14 +03:00