Refuse connections to peers running incompatible protocol #2202
Annotations
3 errors and 1 warning
Test:
p2p/node/streamManager/streamManager_test.go#L23
cannot use mockNode (variable of type *mock_protocol.MockQuaiP2PNode) as "github.com/dominant-strategies/go-quai/p2p/protocol".QuaiP2PNode value in argument to NewStreamManager: *mock_protocol.MockQuaiP2PNode does not implement "github.com/dominant-strategies/go-quai/p2p/protocol".QuaiP2PNode (missing method GetHeight)
|
Test:
p2p/node/streamManager/streamManager_test.go#L83
cannot use newMockNode (variable of type *mock_protocol.MockQuaiP2PNode) as "github.com/dominant-strategies/go-quai/p2p/protocol".QuaiP2PNode value in argument to sm.SetP2PBackend: *mock_protocol.MockQuaiP2PNode does not implement "github.com/dominant-strategies/go-quai/p2p/protocol".QuaiP2PNode (missing method GetHeight)
|
Test
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading