neoneo-go/pkg
Roman Khimov cc4a63e454 rpc/server: use dynamic port for P2P service
Fix running tests alongside regular testnet node.

panic: TCP listen error

goroutine 4634 [running]:
go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc0008540c0, 0xc001a4df80, 0x1, 0x1)
        /home/rik/go/pkg/mod/go.uber.org/zap@v1.18.1/zapcore/entry.go:234 +0x532
go.uber.org/zap.(*Logger).Panic(0xc002399ce0, 0xecd669, 0x10, 0xc001a4df80, 0x1, 0x1)
        /home/rik/go/pkg/mod/go.uber.org/zap@v1.18.1/logger.go:230 +0x85
github.com/nspcc-dev/neo-go/pkg/network.(*TCPTransport).Accept(0xc000fd6960)
        /home/rik/dev/neo-go/pkg/network/tcp_transport.go:49 +0x216
created by github.com/nspcc-dev/neo-go/pkg/network.(*Server).Start
        /home/rik/dev/neo-go/pkg/network/server.go:292 +0x2bb
FAIL    github.com/nspcc-dev/neo-go/pkg/rpc/server      1.095s
2021-11-15 12:19:27 +03:00
..
compiler Merge pull request #2255 from nspcc-dev/compiler-noreturn-defers 2021-11-15 10:43:00 +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 #2252 from nspcc-dev/packmap-packstruct 2021-11-12 18:25:54 +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
neotest neotest: allow to use 6-node committee 2021-11-11 11:15:15 +03:00
network Merge pull request #2240 from nspcc-dev/fix-panic-in-network 2021-11-01 12:44:15 +03:00
rpc rpc/server: use dynamic port for P2P service 2021-11-15 12:19:27 +03:00
services rpc: refactor calculatenetworkfee handler 2021-10-25 19:07:25 +03:00
smartcontract transaction: add new Rules witness scope 2021-11-12 15:29:28 +03:00
util util: reduce allocations in util.Uint256DecodeStringLE 2021-08-17 16:53:39 +03:00
vm vm: add PACKMAP/PACKSTRUCT, extend UNPACK 2021-11-12 17:19:59 +03:00
wallet wallet: do not store file handle 2021-10-06 15:29:52 +03:00