neo-go/pkg/core
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
..
block rpc/block: rework the way Block is JSONized 2020-05-14 17:28:14 +03:00
cache cache: prevent TestRelayCache_Add failures 2020-06-26 12:42:12 +03:00
dao core: copy storage item key in simple.GetStorageItems 2020-10-10 12:24:08 +03:00
mempool mempool: replace timeStamp with blockStamp 2020-11-11 15:48:13 +03:00
mpt mpt: fix comment typo 2020-08-11 21:55:51 +03:00
state core: move NotificationEvent->NEP5Transfer conversion to state 2020-10-29 22:10:40 +03:00
storage storage: fix Get for BoltDB, fix #1482 2020-10-13 19:21:57 +03:00
test_data Persist blockchain with leveldb on disk (#48) 2018-03-17 12:53:21 +01:00
transaction transaction: set output position when decoding 2020-09-07 15:37:57 +03:00
blockchain.go core: move NotificationEvent->NEP5Transfer conversion to state 2020-10-29 22:10:40 +03:00
blockchain_test.go core: fix TestSubscriptions occasional failures 2020-06-25 19:41:17 +03:00
blockchainer.go mempool: replace timeStamp with blockStamp 2020-11-11 15:48:13 +03:00
doc.go core: add Blockchain event subscription mechanism 2020-05-12 17:41:15 +03:00
gas_price.go cli: make gas parameter to deployment add gas to the base price 2020-03-11 20:34:36 +03:00
gas_price_test.go core: make SpawnVM a method of context 2020-04-08 08:38:45 +03:00
header_hash_list.go *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
helper_test.go core: save NEP5 transfer notify index 2020-08-03 10:58:23 +03:00
interop_neo.go config: allow configuring free gas depending on height 2020-09-08 18:52:53 +03:00
interop_neo_test.go core: fix key recovery interops return value 2020-06-10 19:20:57 +03:00
interop_system.go dao: restrict GetStorageItems by prefix 2020-05-27 11:40:46 +03:00
interops.go core: provide key recovery interops only if neox is enabled 2020-06-24 12:37:27 +03:00
interops_test.go core: move DAO to a separate package 2020-04-08 08:38:44 +03:00
prometheus.go core: add state height to prometheus metrics 2020-06-24 14:47:08 +03:00
spent_coin.go core: move (un)SpentCoin structs into the state package 2020-03-11 12:22:52 +03:00
storage_find.go vm: make Iterator interface public 2020-05-27 11:40:46 +03:00
util.go config: move config.go out of config/ 2020-03-31 17:55:59 +03:00
util_test.go config: move config.go out of config/ 2020-03-31 17:55:59 +03:00