8cd233b479
chore: api: the Net API/CLI now remains only on daemon
...
The only part of this repository that does lp2p is now lotus-daemon
Remove the CommonNet type, used exclusively bu the CLI stack
Adjust the rest of struct-memebership to match what went where
End result best seen in diff of `documentation/en/api-v0-methods-miner.md`
2024-06-17 18:21:34 +10:00
730c96ecaf
src: lint: bump golangci-lint to 1.59, address unchecked fmt.Fprint*
2024-06-06 19:51:39 +10:00
4b8aa53806
lints and non parallel
2023-11-14 22:58:43 -06:00
2a8ea957fa
stop using go-libp2p deprecated peer.ID.Pretty
...
Signed-off-by: Icarus9913 <icaruswu66@qq.com>
2023-09-12 13:13:34 +08:00
ca9c873858
return all the public addresses in NatInfo
2023-05-10 11:54:48 +03:00
b414124e5e
chore: update go-libp2p to v0.27.1
2023-05-10 11:54:47 +03:00
edae783cf4
fix: cli: Make net connect
to miner address work
2023-03-30 09:50:06 +02:00
0645225801
fix: ux: specify arg in net ping
cmd
...
Specify that you need to ping the `peerMultiaddrs` with the `lotus net ping` and `lotus-miner net ping`.
2022-10-10 08:31:55 +02:00
4f75e2041c
Add helper function to print usage when wrong number of arguments are supplied
2022-09-14 15:38:15 -04:00
308cef950b
cctx.Args().Len() to cctx.NArg()
2022-09-14 14:33:29 -04:00
2086b219d2
Don't use go-libp2p-core
2022-08-25 14:20:41 -04:00
0ace22961c
Actually proper pid decode
2022-07-01 13:14:56 -05:00
27604ac5de
Proper pid parsing
2022-07-01 12:54:40 -05:00
a686809bf0
disconnect just takes pid
2022-07-01 12:35:04 -05:00
ef5bbde160
net disconnect
2022-07-01 12:35:04 -05:00
05cdeb80c3
chore: remove redundant import prefixes
2022-06-15 12:06:22 +02:00
e65fae28de
chore: fix imports
2022-06-14 17:00:51 +02:00
73ee5957e7
Merge pull request #8787 from swift-mx/mx_get_hello_message
...
feat: lotus-shed get remote peer hello message
2022-06-02 19:45:13 +02:00
3de6856058
feat: cli: Nicer net stat
2022-06-02 16:54:56 +02:00
d04594a375
style: hello.go
2022-06-02 16:49:59 +08:00
514c756570
Alias cli commands
2022-05-03 15:46:46 -04:00
945b93590d
ping: Match go-ipfs in cmd output
2022-03-21 15:11:19 +01:00
701d0a111e
Merge branch 'feat/net-ping' of github.com:ychiaoli18/lotus into feat/net-ping
2022-03-21 13:06:11 +01:00
ba72eff3e6
feat: cli/net: implement 'net ping' command
2022-02-17 17:22:52 +08:00
59351c8cb8
Add lotus net
CLI command to add/remove/list protected peers
...
Add CLI commands under `lotus net` to add/ remove/list protected peers.
2022-02-11 19:54:59 +00:00
325a4c0e5b
fix lint
2022-01-20 11:46:39 +02:00
19c8ea3288
add description for net stat and limit commands
2022-01-20 11:36:11 +02:00
0de1566eaf
add net stat and limit cli
2022-01-20 11:36:11 +02:00
6827f2dce3
chore: export Net commands
2021-03-23 16:15:02 -07:00
afb527ff30
fix lint
2021-03-08 13:31:06 +01:00
444b84d181
deduplicate peers in extended output
2021-03-06 19:25:11 +02:00
4a74f752c0
implement extended peer info in net peers cli
2021-03-06 19:14:13 +02:00
91e2530e11
remove dtypes dependency from api; move NetBlockList type to api/types.go
2020-11-13 21:11:17 +02:00
2b68ba5f1d
fix command name
2020-11-13 14:43:18 +02:00
b8884adaf1
implement connection gating cli
2020-11-13 14:27:44 +02:00
eb3ca82fa0
net cli: Support miner addresses in net connect
2020-09-04 13:37:42 +02:00
ce8bcf7932
Add agent flag to net peers
2020-09-04 02:00:53 +02:00
0e39d62c9d
Appease the CI overlords
2020-09-02 16:31:41 -07:00
a59dadccc9
add apis and command to inspect bandwidth usage
2020-09-02 15:25:53 -07:00
5733c71c50
Lint everything
...
We were ignoring quite a few error cases, and had one case where we weren't
actually updating state where we wanted to. Unfortunately, if the linter doesn't
pass, nobody has any reason to actually check lint failures in CI.
There are three remaining XXXs marked in the code for lint.
2020-08-20 20:46:36 -07:00
127d6d0576
cli: Fix net reachability
2020-08-18 03:12:50 +02:00
3b23ab952b
gofmt
2020-08-13 13:44:43 +02:00
069c39fc12
Add reachability info to miner info all
2020-08-13 13:44:03 +02:00
3f2a62b5e2
cli: net reachability command
2020-08-13 13:18:14 +02:00
a7acc81490
miner: Command to dump all miner info
2020-08-04 20:57:48 +02:00
d8ca29dd52
support extended pubsub peer scores
2020-07-31 11:27:22 +03:00
5aafa91e22
Merge pull request #1898 from filecoin-project/deps/update
...
Update CLI lib
2020-06-04 23:45:39 +02:00
29dbc26dbd
Update cli
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-04 01:01:41 +02:00
186fd4da74
Add lotus net scores
for pubsub score visibility
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-03 03:13:49 +02:00
24bf720a9a
Merge branch 'master' into testnet/3
2020-03-07 16:46:12 -08:00