Skip to content

Commit

Permalink
Use tagged version of go-libipni
Browse files Browse the repository at this point in the history
  • Loading branch information
gammazero committed Jul 11, 2023
1 parent 86536cf commit 83e21b2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/ipfs/go-datastore v0.6.0
github.com/ipld/go-car/v2 v2.10.0
github.com/ipld/go-ipld-prime v0.20.0
github.com/ipni/go-libipni v0.2.9-0.20230710075659-3294e83aca2f
github.com/ipni/go-libipni v0.2.9
github.com/libp2p/go-libp2p v0.28.1
github.com/mattn/go-isatty v0.0.19
github.com/montanaflynn/stats v0.7.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ github.com/ipld/go-ipld-prime v0.9.1-0.20210324083106-dc342a9917db/go.mod h1:KvB
github.com/ipld/go-ipld-prime v0.20.0 h1:Ud3VwE9ClxpO2LkCYP7vWPc0Fo+dYdYzgxUJZ3uRG4g=
github.com/ipld/go-ipld-prime v0.20.0/go.mod h1:PzqZ/ZR981eKbgdr3y2DJYeD/8bgMawdGVlJDE8kK+M=
github.com/ipld/go-ipld-prime/storage/bsadapter v0.0.0-20230102063945-1a409dc236dd h1:gMlw/MhNr2Wtp5RwGdsW23cs+yCuj9k2ON7i9MiJlRo=
github.com/ipni/go-libipni v0.2.9-0.20230710075659-3294e83aca2f h1:sSkioQPX8pa5PnPJHOL1u/Oq2v6TIe6MCidcWJk1HuE=
github.com/ipni/go-libipni v0.2.9-0.20230710075659-3294e83aca2f/go.mod h1:dhBH9HwxT6HzQPRZ8ikWv+ccqF8ucMIoGiiTSrHA4tw=
github.com/ipni/go-libipni v0.2.9 h1:r0R+sZYs6I5qPSuc8JOk5b12gb3a59RR5JaRuM1kv5E=
github.com/ipni/go-libipni v0.2.9/go.mod h1:dhBH9HwxT6HzQPRZ8ikWv+ccqF8ucMIoGiiTSrHA4tw=
github.com/ipsn/go-secp256k1 v0.0.0-20180726113642-9d62b9f0bc52 h1:QG4CGBqCeuBo6aZlGAamSkxWdgWfZGeE49eUOWJPA4c=
github.com/jackpal/go-nat-pmp v1.0.2 h1:KzKSgb7qkJvOUTqYl9/Hg/me3pWgBmERKrTGD7BdWus=
github.com/jackpal/go-nat-pmp v1.0.2/go.mod h1:QPH045xvCAeXUZOxsnwmrtiCoxIr9eob+4orBN1SBKc=
Expand Down
4 changes: 2 additions & 2 deletions pkg/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
var ProviderCmd = &cli.Command{
Name: "provider",
Usage: "Show information about providers known to an indexer.",
Description: `Get information about one or more providers from the specified indexer. An optional --distance flag will calculate the distance from the last seen advertisement to the provider's current head advertisement.
Description: `Get information about one or more providers from the specified indexer(s). An optional --distance flag calculates the distance from the last seen advertisement to the provider's current head advertisement.
The --invert flag inverts the selection of providers, and shows all that are not specified. This can be used to filter out provideres from the returned list.
Expand All @@ -36,7 +36,7 @@ Here is an example that shows using the output of one provider command to filter
var providerFlags = []cli.Flag{
&cli.StringSliceFlag{
Name: "indexer",
Usage: "Indexer URL",
Usage: "Indexer URL. Specifying multiple results in a unified view of providers across all.",
Aliases: []string{"i"},
Value: cli.NewStringSlice("http://localhost:3000"),
},
Expand Down

0 comments on commit 83e21b2

Please sign in to comment.