neo-go/pkg
Roman Khimov dabdad20ad network: don't wait indefinitely for packet to be sent
Peers can be slow, very slow, slow enough to affect node's regular
operation. We can't wait for them indefinitely, there has to be a timeout for
send operations.

This patch uses TimePerBlock as a reference for its timeout. It's relatively
big and it doesn't affect tests much, 4+1 scenarios tend to perform a little
worse with while 7+2 scenarios work a little better. The difference is in some
percents, but all of these tests easily have 10-15% variations from run to
run.

It's an important step in making our gossip better because we can't have any
behavior where neighbors directly block the node forever, refs. #2678 and
2022-10-10 22:15:21 +03:00
..
compiler smartcontract: define parameter lengths as constants and use them 2022-10-05 10:46:21 +03:00
config cli: also check new ApplicationConfiguration for consistency 2022-07-27 12:30:08 +03:00
consensus *: use uint*Size and SignatureLen constants where appropriate 2022-10-05 10:45:52 +03:00
core core: close BoltDB on failed root bucket creation 2022-10-10 10:12:34 +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: don't wait indefinitely for packet to be sent 2022-10-10 22:15:21 +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: fix error message for CreateMultiSigRedeemScript 2022-10-07 15:56:34 +03:00
util slice: add Clean microfunction 2022-09-02 14:44:32 +03:00
vm vm: remove default syscall handler 2022-10-07 15:56:34 +03:00
wallet Merge pull request #2725 from nspcc-dev/move-cli-tests 2022-10-06 13:43:39 +07:00