neoneo-go/pkg
Roman Khimov 432cef59f4 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-17 19:03:12 +03:00
..
compiler core: add System.Binary.Base64Encode(Decode) interops 2020-07-17 12:36:18 +03:00
config config: allow to specify config path directly 2020-07-03 11:47:56 +03:00
consensus Merge pull request #1169 from nspcc-dev/neo3/rpc/fields_names_adjustment 2020-07-15 18:24:54 +03:00
core dao: migrate nep5 balances with the contract 2020-07-17 19:03:12 +03:00
crypto core: implement Secp256k1 Verify and CheckMultisig interops 2020-07-14 16:21:34 +03:00
encoding *: change address to the new format 2020-06-17 15:58:21 +03:00
internal core: rename Neo.Crypto.Verify to Neo.Crypto.VerifyWithECDsaSecp256r1 2020-07-14 16:19:12 +03:00
interop core: add System.Binary.Base64Encode(Decode) interops 2020-07-17 12:36:18 +03:00
io io: make maxArraySize public 2020-06-27 12:18:56 +03:00
network network: copy peers for Shutdown iteration 2020-07-17 19:03:12 +03:00
rpc rpc: support raw address in getnep5transfers RPC 2020-07-17 18:51:13 +03:00
smartcontract Merge pull request #1187 from nspcc-dev/neo3/interop/post-preview2_adjustment 2020-07-17 13:33:29 +03:00
util util: fixed typo in method description 2020-05-20 23:26:51 +03:00
vm core: implement Secp256k1 Verify and CheckMultisig interops 2020-07-14 16:21:34 +03:00
wallet Merge pull request #1169 from nspcc-dev/neo3/rpc/fields_names_adjustment 2020-07-15 18:24:54 +03:00