neo-go/pkg/rpc/server
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
..
testdata rpc: implement findstates RPC handler 2021-10-13 11:41:05 +03:00
client_test.go core: add finalizer functions to interop context 2021-10-21 10:05:12 +03:00
prometheus.go rpc: reuse handlers map for prometheus metrics 2020-03-25 15:25:12 +03:00
server.go Merge pull request #2234 from nspcc-dev/rpc/params-parsing 2021-11-10 20:45:44 +03:00
server_helper_test.go rpc/server: use dynamic port for P2P service 2021-11-15 12:19:27 +03:00
server_test.go rpc: *In parameters marshalling optimisation 2021-11-10 14:42:08 +03:00
subscription.go rpc: move NotaryRequestEvent to the subscriptions pkg 2021-09-24 17:42:59 +03:00
subscription_test.go rpc/server: fix sporadic test failures 2021-07-08 10:40:54 +03:00
util.go rpc, internal: fix CodeQL int conversions warnings 2021-04-19 11:30:28 +03:00