neoneo-go/pkg/rpc
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
..
client rpc: *In parameters marshalling optimisation 2021-11-10 14:42:08 +03:00
request rpc: refactor GetUint160FromHex helper 2021-11-10 14:54:18 +03:00
response core: add finalizer functions to interop context 2021-10-21 10:05:12 +03:00
server rpc/server: use dynamic port for P2P service 2021-11-15 12:19:27 +03:00
rpc_config.go rpc: implement findstates RPC handler 2021-10-13 11:41:05 +03:00