neoneo-go/pkg/rpc/server
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
..
testdata rpc/client: allow to use contract accounts in AddNetworkFee 2020-08-27 11:32:55 +03:00
client_test.go rpc/client: allow to use contract accounts in AddNetworkFee 2020-08-27 11:32:55 +03:00
prometheus.go rpc: reuse handlers map for prometheus metrics 2020-03-25 15:25:12 +03:00
server.go rpc: use state.AppExecResult for ApplicationLog marshalling 2020-09-07 13:38:32 +03:00
server_helper_test.go mempool: replace timeStamp with blockStamp 2020-09-09 20:46:31 +03:00
server_test.go rpc: use state.AppExecResult for ApplicationLog marshalling 2020-09-07 13:38:32 +03:00
subscription.go rpc: use state.AppExecResult for ApplicationLog marshalling 2020-09-07 13:38:32 +03:00
subscription_test.go testchain: move newBlock there from rpc/server 2020-08-20 18:50:36 +03:00