aergo icon indicating copy to clipboard operation
aergo copied to clipboard

update btcec

Open kroggen opened this issue 8 months ago • 3 comments

  • 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

kroggen avatar Dec 01 '23 20:12 kroggen

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

kslee8282 avatar Dec 02 '23 00:12 kslee8282

#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.

hayarobi avatar Dec 02 '23 03:12 hayarobi

We need to wait, since go-libp2p v0.14.4 in #337 still requires btcd.

hayarobi avatar Dec 18 '23 07:12 hayarobi