neo-go/pkg
Roman Khimov 2eeec73770 network: don't panic if there is no reason for disconnect
Although error should always be there, we shouldn't fail like this if it's not:
    | panic: runtime error: invalid memory address or nil pointer dereference
    | [signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xc8884c]
    |
    | goroutine 113 [running]:
    | github.com/nspcc-dev/neo-go/pkg/network.(*Server).run(0xc000150580)
    |         github.com/nspcc-dev/neo-go/pkg/network/server.go:396 +0x7ac
    | github.com/nspcc-dev/neo-go/pkg/network.(*Server).Start(0xc000150580, 0x0)
    |         github.com/nspcc-dev/neo-go/pkg/network/server.go:294 +0x3fb
    | created by github.com/nspcc-dev/neo-go/cli/server.startServer
    |         github.com/nspcc-dev/neo-go/cli/server/server.go:344 +0x56f
2021-11-01 12:19:00 +03:00
..
compiler compiler: check correctness of emitted bytecode 2021-10-25 13:55:55 +03:00
config rpc: implement findstates RPC handler 2021-10-13 11:41:05 +03:00
consensus rpc: refactor calculatenetworkfee handler 2021-10-25 19:07:25 +03:00
core Merge pull request #2196 from nspcc-dev/drop-badger-and-redis 2021-10-28 16:08:49 +03:00
crypto keys: reuse coordLen where appropriate 2021-08-26 17:30:04 +03:00
encoding util: move ArrayReverse into package of its own 2021-07-19 22:57:55 +03:00
interop compiler: remove custom logic for util builtins 2021-10-23 16:12:47 +03:00
io *: make tests use TempDir(), fix #1319 2021-08-26 17:29:40 +03:00
network network: don't panic if there is no reason for disconnect 2021-11-01 12:19:00 +03:00
rpc rpc: refactor calculatenetworkfee handler 2021-10-25 19:07:25 +03:00
services rpc: refactor calculatenetworkfee handler 2021-10-25 19:07:25 +03:00
smartcontract nef: add Source field 2021-09-24 00:19:37 +03:00
util util: reduce allocations in util.Uint256DecodeStringLE 2021-08-17 16:53:39 +03:00
vm vm: wait more for a test prog execution ending 2021-10-22 12:14:37 +03:00
wallet wallet: do not store file handle 2021-10-06 15:29:52 +03:00