neo-go/pkg/core
Roman Khimov 9591d64e53 mempool: don't sort items by hash
There is nothing requiring us to do so. It also is bad because it allows for
new transaction to replace some already existing one with the same fee
parameters just because it has "better" hash.

But the other thing is that for transactions with equal fees it's always
better for us to append them to the end of the list, instead of inserting them
in the middle, so this change allows to reduce slice item movements and gain
some 6-7% increase for single-node TPS.
2020-09-09 20:46:31 +03:00
..
block crypto/consensus: sign hashes and cache them for consensus payloads 2020-09-09 20:46:31 +03:00
blockchainer mempool: replace timeStamp with blockStamp 2020-09-09 20:46:31 +03:00
dao state: drop Neo 2 Account and everything related 2020-08-11 20:42:02 +03:00
interop crypto/consensus: sign hashes and cache them for consensus payloads 2020-09-09 20:46:31 +03:00
mempool mempool: don't sort items by hash 2020-09-09 20:46:31 +03:00
mpt *: fix misspellings found in Go Report Card 2020-08-14 12:16:24 +03:00
native core: do not persist Policy contract 2020-09-05 10:54:47 +03:00
state crypto/consensus: sign hashes and cache them for consensus payloads 2020-09-09 20:46:31 +03:00
storage storage: add bloom filter to leveldb 2020-09-09 20:46:31 +03:00
test_data block: update binary test data 2020-08-18 14:52:30 +03:00
transaction crypto/consensus: sign hashes and cache them for consensus payloads 2020-09-09 20:46:31 +03:00
blockchain.go transaction: add HighPriority attribute 2020-08-23 09:39:46 +03:00
blockchain_test.go core: fix VerifyTX test 2020-08-27 18:40:37 +03:00
doc.go core: add Blockchain event subscription mechanism 2020-05-25 00:27:39 +03:00
gas_price.go *: move syscall handling out of VM 2020-07-29 13:41:08 +03:00
header_hash_list.go core: fix (*HeaderHashList).Write comment 2020-08-11 20:33:16 +03:00
helper_test.go rpc/client: allow to use contract accounts in AddNetworkFee 2020-08-27 11:32:55 +03:00
interop_neo.go core/interop: add base58 encoding/decoding syscalls 2020-08-23 17:19:56 +03:00
interop_neo_test.go crypto/consensus: sign hashes and cache them for consensus payloads 2020-09-09 20:46:31 +03:00
interop_system.go vm: check return value on context unload 2020-08-10 11:52:33 +03:00
interop_system_test.go stackitem: change Bool() to TryBool(), prepare for its failures 2020-08-21 20:55:20 +03:00
interops.go interop: allow to call CheckWitness without AllowStates 2020-08-27 10:29:29 +03:00
interops_test.go core: add VM into interop context 2020-08-07 16:15:24 +03:00
native_contract_test.go core: add test to call contract from native 2020-08-07 20:31:16 +03:00
native_neo_test.go native: fix a bug in GetCommitteeMembers 2020-08-27 18:40:37 +03:00
native_policy_test.go *: fix ineffassign where the value should really be used 2020-08-14 12:08:57 +03:00
opcode_price.go core: add prices for TRY* opcodes 2020-07-29 13:41:08 +03:00
prometheus.go core: add state height to prometheus metrics 2020-07-30 12:42:15 +03:00
util.go core: replace interop names with named constants 2020-08-14 14:21:54 +03:00
util_test.go core: remove unnecessary comment 2020-08-04 17:34:06 +03:00