neo-go/pkg
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
..
compiler compiler: support delete() builtin 2020-09-06 15:49:41 +03:00
config *: use proper YAML library import path, fix #1306 2020-08-12 16:31:06 +03:00
consensus crypto/consensus: sign hashes and cache them for consensus payloads 2020-09-09 20:46:31 +03:00
core mempool: don't sort items by hash 2020-09-09 20:46:31 +03:00
crypto keys: add simple LRU key cache for 1024 elements 2020-09-09 20:46:31 +03:00
encoding remove github.com/pkg/errors from dependencies 2020-08-07 12:21:52 +03:00
internal internal: extend committee for unit tests 2020-08-27 18:40:36 +03:00
interop core/interop: add base58 encoding/decoding syscalls 2020-08-23 17:19:56 +03:00
io always wrap errors when creating new ones with fmt.Errorf() 2020-08-07 12:21:52 +03:00
network network: restrict block queue size 2020-09-02 17:04:49 +03:00
rpc mempool: replace timeStamp with blockStamp 2020-09-09 20:46:31 +03:00
smartcontract rpc: use state.AppExecResult for ApplicationLog marshalling 2020-09-07 13:38:32 +03:00
util *: use proper YAML library import path, fix #1306 2020-08-12 16:31:06 +03:00
vm vm: properly unload context on exception 2020-08-27 10:28:50 +03:00
wallet wallet: emit proper multisignature 2020-08-18 11:24:48 +03:00