-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update go-libp2p to v0.27.3 #10671
Conversation
c64dfde
to
9b7258d
Compare
@@ -445,9 +445,6 @@ var NetReachability = &cli.Command{ | |||
} | |||
|
|||
fmt.Println("AutoNAT status: ", i.Reachability.String()) | |||
if i.PublicAddr != "" { | |||
fmt.Println("Public address: ", i.PublicAddr) | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed this log (?) output. It was misleading to begin with, a libp2p node doesn't only have a single public address. The correct way to obtain the addresses is to use the Addrs
method on the host.
@@ -143,19 +143,7 @@ func (a *NetAPI) NetAutoNatStatus(ctx context.Context) (i api.NatInfo, err error | |||
}, nil | |||
} | |||
|
|||
var maddr string | |||
if autonat.Status() == network.ReachabilityPublic { | |||
pa, err := autonat.PublicAddr() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We removed the PublicAddr
method from AutoNAT.
9b7258d
to
fc812e3
Compare
@@ -73,5 +73,4 @@ type CommonNet interface { | |||
|
|||
type NatInfo struct { | |||
Reachability network.Reachability | |||
PublicAddr string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change this to an array, and populate this from Addrs? We have a bunch of tools / docs which want this API / CLI (mostly there some docs that refer to the Public address output from cli)
What's the state of this? I was hoping to get go-fil-markets updated but it needs this update for libp2p. |
7b611ea
to
85e76f9
Compare
Related Issues
Proposed Changes
Additional Info
Checklist
Before you mark the PR ready for review, please make sure that:
<PR type>: <area>: <change being made>
fix: mempool: Introduce a cache for valid signatures
PR type
: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, testarea
, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps