neo-go/pkg
Roman Khimov 0c3b03617e core: optimize HasBlock check for recent blocks
When block is being spread through the network we can get a lot of invs with
the same hash. Some more stale nodes may also announce previous or some
earlier block. We can avoid full DB lookup for them and minimize inv handling
time (timeouts in inv handler had happened in #2744).

It doesn't affect tests, just makes node a little less likely to spend some
considerable amount of time in the inv handler.
2022-10-21 21:21:58 +03:00
..
compiler smartcontract: define parameter lengths as constants and use them 2022-10-05 10:46:21 +03:00
config network: add BroadcastFactor to control gossip, fix #2678 2022-10-14 15:53:32 +03:00
consensus dbft: rev up, fix context timestamp initialization 2022-10-20 12:38:14 +03:00
core core: optimize HasBlock check for recent blocks 2022-10-21 21:21:58 +03:00
crypto *: use uint*Size and SignatureLen constants where appropriate 2022-10-05 10:45:52 +03:00
encoding fixedn: add a test for empty string 2022-08-19 21:52:43 +03:00
interop interop: refactor address.FromHash160 code 2022-09-27 15:32:57 +03:00
io [#2442] English Check 2022-05-04 19:48:27 +03:00
neorpc golangci: add predeclared linter 2022-09-02 18:36:26 +03:00
neotest core, rpc: move getFakeNextBlock to Blockchain 2022-10-07 15:56:34 +03:00
network network: separate tx handling from msg handling 2022-10-21 12:11:24 +03:00
rpcclient *: use uint*Size and SignatureLen constants where appropriate 2022-10-05 10:45:52 +03:00
services services: adjust RPC server's getHistoricParams 2022-10-07 16:06:12 +03:00
smartcontract smartcontract: add comment to GetCompleteTransaction 2022-10-13 16:07:34 +03:00
util slice: add Clean microfunction 2022-09-02 14:44:32 +03:00
vm vm: make LoadFileWithFlags actually load with flags provided 2022-10-13 16:07:34 +03:00
wallet Merge pull request #2725 from nspcc-dev/move-cli-tests 2022-10-06 13:43:39 +07:00