neoneo-go/pkg
Roman Khimov 53423b7c37 network: fix panic in blockqueue during shutdown
panic: send on closed channel

goroutine 116 [running]:
github.com/nspcc-dev/neo-go/pkg/network.(*blockQueue).putBlock(0xc00011b650, 0xc01e371200)
        github.com/nspcc-dev/neo-go/pkg/network/blockqueue.go:129 +0x185
github.com/nspcc-dev/neo-go/pkg/network.(*Server).handleBlockCmd(0xc0002d3c00, {0xf69b7f?, 0xc001520010?}, 0xc02eb44000?)
        github.com/nspcc-dev/neo-go/pkg/network/server.go:607 +0x6f
github.com/nspcc-dev/neo-go/pkg/network.(*Server).handleMessage(0xc0002d3c00, {0x121f4c8?, 0xc001528000?}, 0xc01e35cf80)
        github.com/nspcc-dev/neo-go/pkg/network/server.go:1160 +0x6c5
github.com/nspcc-dev/neo-go/pkg/network.(*TCPPeer).handleIncoming(0xc001528000)
        github.com/nspcc-dev/neo-go/pkg/network/tcp_peer.go:189 +0x98
created by github.com/nspcc-dev/neo-go/pkg/network.(*TCPPeer).handleConn
        github.com/nspcc-dev/neo-go/pkg/network/tcp_peer.go:164 +0xcf
2022-04-26 00:31:48 +03:00
..
compiler core: support System.Runtime.GetAddressVersion syscall 2022-04-21 19:26:16 +03:00
config *: remove io/ioutil uses 2022-03-17 19:39:18 +03:00
consensus network: extend Service with Name, use it to distinguish services 2022-04-26 00:31:48 +03:00
core core: support System.Runtime.GetAddressVersion syscall 2022-04-21 19:26:16 +03:00
crypto core: drop GetStandBy* methods 2022-01-31 23:14:38 +03:00
encoding *: use internal variables for simple big.NewInt() values 2021-12-01 21:36:25 +03:00
interop core: support System.Runtime.GetAddressVersion syscall 2022-04-21 19:26:16 +03:00
io io: optimize WriteString, avoid allocation 2021-12-01 21:36:25 +03:00
neotest core: rebase core tests onto neotest 2022-03-30 19:00:53 +03:00
network network: fix panic in blockqueue during shutdown 2022-04-26 00:31:48 +03:00
rpc rpc: add StartWhenSynchronized option, fix #2433 2022-04-26 00:31:48 +03:00
services network: extend Service with Name, use it to distinguish services 2022-04-26 00:31:48 +03:00
smartcontract smartcontract: remove unused ParameterFromStackItem 2022-04-01 08:38:35 +03:00
util util: allow to marshal Uint160 in YAML 2022-02-21 10:38:20 +03:00
vm vm: make byte representation of VMState compatible with C# 2022-04-04 13:52:29 +03:00
wallet *: remove io/ioutil uses 2022-03-17 19:39:18 +03:00