neoneo-go/pkg
Roman Khimov 4d0f4d3e51 network: copy peers for Shutdown iteration
We can't lock them (or there will be a deadlock), but we need to fix this:

fatal error: concurrent map iteration and map write

goroutine 1 [running]:
runtime.throw(0xdec086, 0x26)
        /usr/lib64/go/1.12/src/runtime/panic.go:617 +0x72 fp=0xc02fec2bf8 sp=0xc02fec2bc8 pc=0x42d932
runtime.mapiternext(0xc02fec2d40)
        /usr/lib64/go/1.12/src/runtime/map.go:860 +0x597 fp=0xc02fec2c80 sp=0xc02fec2bf8 pc=0x40efe7
github.com/nspcc-dev/neo-go/pkg/network.(*Server).Shutdown(0xc0000fc160)
        /home/rik/dev/neo-go2/pkg/network/server.go:194 +0x238 fp=0xc02fec2db0 sp=0xc02fec2c80 pc=0xa89da8
github.com/nspcc-dev/neo-go/cli/server.startServer(0xc0000fcc60, 0x0, 0x0)
        /home/rik/dev/neo-go2/cli/server/server.go:399 +0x7a9 fp=0xc02fec3820 sp=0xc02fec2db0 pc=0xae2079
...
2020-07-16 11:43:34 +03:00
..
compiler Merge pull request #1096 from nspcc-dev/neox-2.x 2020-06-24 16:08:19 +03:00
config *: specify first state root index in config 2020-06-24 12:37:27 +03:00
consensus consensus: prevent synchronization stalls 2020-06-26 12:32:12 +03:00
core dao: migrate nep5 balances with the contract 2020-07-07 19:55:55 +03:00
crypto keys: add support for uncompressed serialization in PublicKey 2020-06-10 19:17:08 +03:00
encoding *: move all packages from CityOfZion to nspcc-dev 2020-03-03 17:21:42 +03:00
internal random: make use or random package in tests 2020-03-27 10:27:46 +03:00
interop interop: fix key recovery functions documentation 2020-06-25 14:30:53 +03:00
io io: make maxArraySize public 2020-06-24 12:14:33 +03:00
network network: copy peers for Shutdown iteration 2020-07-16 11:43:34 +03:00
rpc rpc: support raw address in getnep5transfers RPC 2020-07-03 18:44:46 +03:00
smartcontract smartcontract: add JSON marshal/unmarshal for InteropType 2020-05-13 17:17:41 +03:00
util testserdes: implement helpers for encode/decode routines 2020-03-27 10:27:46 +03:00
vm vm/cli: fix load commands help 2020-06-26 00:13:58 +03:00
wallet wallet: check for t.GetSignedPart() result correctness 2020-05-07 21:48:45 +03:00