aergo
aergo copied to clipboard
update btcec
- Update
btcec
to v2 - Remove
btcd
dependency
This PR is based on the feature/updateLibP2P
branch from PR #327
It can be merged into that branch (will appear on the other PR) or into the develop
branch (after the other PR is merged)
This PR replaces #328
Dec 2 00:21:28.232 INF ../go/aergo/p2p/transport/networktransport.go:124 > Error while get stream error="failed to dial: failed to dial 16Uiu2HAmRCvmFQANpSAgZGdTTXJRt3V3UX7BjxL8SYMdv9sc2W81: all dials failed\n * [/ip4/15.165.32.166/tcp/7846] failed to negotiate security protocol: protocols not supported: [/noise /tls/1.0.0]" addr=/ip4/15.165.32.166/tcp/7846 module=p2p p2p_proto=[/aergop2p] peer_id=16sc2W81 Dec 2 00:21:28.232 INF ../go/aergo/p2p/waitpeermanager.go:171 > Failed to get stream. error="failed to dial: failed to dial 16Uiu2HAmRCvmFQANpSAgZGdTTXJRt3V3UX7BjxL8SYMdv9sc2W81: all dials failed\n * [/ip4/15.165.32.166/tcp/7846] failed to negotiate security protocol: protocols not supported: [/noise /tls/1.0.0]" module=p2p peer_id=16sc2W81
#327 is not finished yet, since it need to correct polaris connection issue mentioned by @kslee. If this PR is strongly tied to #327, you will need to rebase this branch on develop after merging #327.
We need to wait, since go-libp2p v0.14.4 in #337 still requires btcd.