neoneo-go/pkg
Roman Khimov 9efc110058 network: it is 42
32 is a very good number, but we all know 42 is a better one. And it can even
be proven by tests with higher peaking TPS values.

You may wonder why is it so good? Because we're using packet-switching
networks mostly and a packet is a packet almost irrespectively of how bit it
is. Yet a packet has some maximum possible size (hi, MTU) and this size most
of the time is 1500 (or a little less than that, hi VPN). Subtract IP header
(20 for IPv4 or 40 for IPv6 not counting options), TCP header (another 20) and
Neo message/payload headers (~8 for this case) and we have just a little more
than 1400 bytes for our dear hashes. Which means that in a single packet most
of the time we can have 42-44 of them, maybe 45. Choosing between these
numbers is not hard then.
2022-10-24 14:44:19 +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 rpc: add "till" filter to WS block events 2022-10-24 06:09:36 +03:00
neotest core, rpc: move getFakeNextBlock to Blockchain 2022-10-07 15:56:34 +03:00
network network: it is 42 2022-10-24 14:44:19 +03:00
rpcclient rpc: add Wait wrapper to Notary actor 2022-10-24 06:09:36 +03:00
services rpc: add "container" filter to WS execution notifications 2022-10-24 06:09:36 +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