vyzo
ed61642b3a
implement NodeStatus API
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-05-07 15:30:04 +02:00
Peter Rabbitson
e648b72d8d
Merge remote-tracking branch 'origin/master' into feat/stateless-offline-dealflow
2021-05-06 15:57:10 +02:00
Aayush Rajasekaran
f6360c34dd
Add verifreg utils to CLI
2021-05-03 22:16:12 -04:00
Łukasz Magiera
462a44902e
Merge pull request #5968 from filcloud/ping-ask
...
remove duplicate ask and calculate ping before lock
2021-04-29 21:12:37 +02:00
Łukasz Magiera
c548bb3c4c
Merge pull request #6132 from filecoin-project/asr/state-miner-cli
...
Add a CLI tool for miner proving deadline
2021-04-29 18:37:16 +02:00
Steven Allen
2857f6c0ed
fix: use a consistent tipset in commands
...
It's very easy to write an incorrect command that operates over
different heads by using the "empty" tipset. This change makes the
`LoadTipSet` command helper get the latest head from the lotus daemon if
its unset.
The cost is an extra call to get the head. That should be trivial in
most cases.
2021-04-29 08:50:08 -07:00
Aayush Rajasekaran
895e968ff9
Add a CLI tool for miner proving deadline
2021-04-28 20:27:16 -04:00
Yusef Napora
66e8517769
add "expected duration" label to inspect-deals output
2021-04-26 13:02:29 -04:00
Łukasz Magiera
508e2d5c49
gateway: Fix api getter
2021-04-20 18:42:12 +02:00
Frank
b9cd364535
update ping lock
2021-04-20 10:26:02 +08:00
Frank
c915170b58
remove duplicate ask and calculate ping before lock
2021-04-20 10:20:30 +08:00
Łukasz Magiera
e76935147f
Merge remote-tracking branch 'origin/master' into feat/v1-api
2021-04-13 14:24:22 +02:00
Aayush Rajasekaran
18d40e62f9
Add description to the client deal CLI command
2021-04-09 00:58:29 -04:00
Łukasz Magiera
cf96ad4fdb
fix lint
2021-04-06 14:30:49 +02:00
Łukasz Magiera
e8f28d7b9f
Fix tests
2021-04-06 12:24:58 +02:00
Łukasz Magiera
49f8b8df00
Merge pull request #5900 from filecoin-project/mg/chore/move-mpool-clear
...
chore: Move lotus mpool clear to lotus-shed
2021-04-05 18:43:57 +02:00
Peter Rabbitson
b79be2a2c2
Merge remote-tracking branch 'origin/master' into feat/stateless-offline-dealflow
2021-04-05 16:06:44 +02:00
Łukasz Magiera
d8bff4d19f
Make gateway work with v1 api
2021-04-05 13:47:10 +02:00
Peter Rabbitson
7fddbb528d
Introduce stateless offline dealflow, bypassing the FSM/deallists
...
This is aproposal for an additional flag --manual-stateless-deal and a
corresponding API endpoint ClientStatelessDeal. This allows firing off
an offline-style deal against a miner without keeping further track of
it locally.
Not keeping any local state introduces the limitation of requiring free
storage deals, as there is nothing to tie the payment channel setup to.
Rationale/need for this type of flow is the case of incredibly large
sets of data nd deals, where the client and providers have prearranged
payment ahead of time, and the client has a separate-from-lotus database
of deal inventory. This way the client can use their lotus node merely
as a network gateway, without running into any limitations currently
present in both lotus as a whole and go-fil-markets in particular.
Specific context for this work is filecoin-discover, where the requirement
is to onboard ~ 12,000,000 individual deals against a pool of miners
with whom the client has prearranged a relationship.
2021-04-05 13:11:10 +02:00
Aayush Rajasekaran
ea46a67550
State CLI: Clarify sector helptext
2021-04-03 22:56:39 -04:00
Aayush Rajasekaran
d9dcc7845f
State CLI: fix printMsg to not panic when message isn't found
2021-04-03 22:55:02 -04:00
Łukasz Magiera
1b32d7f52f
cli: fix build with v1 api changes
2021-04-03 12:55:29 +02:00
Łukasz Magiera
64bf5b382b
cliutil: cast full api to the v0 interface
2021-04-02 13:20:31 +02:00
Łukasz Magiera
c9866da688
Merge remote-tracking branch 'origin/master' into feat/v1-api
2021-04-02 13:15:33 +02:00
Łukasz Magiera
3cac23b4a7
cli: get raw full api correctly
2021-04-02 13:07:56 +02:00
Łukasz Magiera
4538550999
Merge remote-tracking branch 'origin/master' into feat/local-retrieval
2021-04-02 12:36:28 +02:00
Anton Evangelatov
df003d44d2
include Stages and DealStages only on ClientDealInfo, not on ClientListDeals
2021-04-01 17:08:01 +03:00
Łukasz Magiera
1a5c4d70f4
Merge remote-tracking branch 'origin/master' into feat/v1-api
2021-04-01 15:33:37 +02:00
Łukasz Magiera
ba49c6206e
cli: Default to v0 api for now
2021-04-01 14:17:22 +02:00
Anton Evangelatov
686c719bb1
move inspectDeal to cli package
2021-04-01 15:07:25 +03:00
Anton Evangelatov
967fbf52c6
resolve conflicts
2021-03-31 23:14:29 +03:00
Łukasz Magiera
ee04f9b71c
Merge remote-tracking branch 'origin/master' into nonsense/add-cancel-retrieval-deal-cmd
2021-03-31 19:15:21 +02:00
Łukasz Magiera
f2ab316fb1
Local retrieval support
2021-03-30 21:32:06 +02:00
Anton Evangelatov
adaf3a2753
remove found
boolean and use a pointer
2021-03-30 17:12:49 +03:00
Anton Evangelatov
b661f51976
better description for inspect-deal
2021-03-30 17:08:47 +03:00
Anton Evangelatov
139ff4ae64
resolved conflicts
2021-03-30 16:15:42 +03:00
Łukasz Magiera
bf6ee88539
Merge pull request #5270 from filcloud/deal-duration
...
use deal duration from actors
2021-03-29 20:17:34 +02:00
Mike Greenberg
c800211fbb
chore: Move lotus mpool clear to lotus-shed
2021-03-29 12:54:08 -04:00
Anton Evangelatov
82fb81a33d
short circuit deals with no stages
2021-03-29 19:11:40 +03:00
Anton Evangelatov
8ba0bcb375
Merge branch 'master' into nonsense/cli-show-deals-backup
2021-03-29 18:19:28 +03:00
Raúl Kripalani
fd91c095c4
rename command to cancel-retrieval; rename args to follow Lotus style.
2021-03-26 16:37:46 +00:00
Dirk McCormick
47f7208f38
fix: rename command to retrieve-cancel
2021-03-26 10:19:19 +01:00
Dirk McCormick
b13f6a3209
fix: cancel retrieval deal - disallow negative deal ID
2021-03-26 09:51:07 +01:00
aarshkshah1992
36c3086376
changes as per review
2021-03-26 09:48:50 +05:30
Łukasz Magiera
e003977559
apiclient: Version client funcs
2021-03-25 15:39:48 +01:00
Łukasz Magiera
7a23b411ae
Merge apistruct with the api package
2021-03-25 15:10:08 +01:00
Łukasz Magiera
759ea5b14f
Merge remote-tracking branch 'origin/master' into feat/v1-api
2021-03-25 14:13:21 +01:00
Łukasz Magiera
312c69f1da
Merge pull request #5814 from vasco-santos/chore/add-available-options-for-perm-on-error
...
chore: add available options for perm on error
2021-03-25 13:56:17 +01:00
Łukasz Magiera
5d44ed0b23
Merge pull request #5876 from filecoin-project/feat/interactive-deal-latency
...
Take latency into account when making interactive deals
2021-03-24 23:04:20 +01:00
Łukasz Magiera
fc087f3ac0
Take latency into account when making interactive deals
2021-03-24 22:42:17 +01:00
Anton Evangelatov
a202f9d19e
add cancel-retrieval-deal cmd
2021-03-24 18:18:49 +02:00
frrist
bcf7aab55d
chore: export mpool cli commands
2021-03-23 16:28:27 -07:00
frrist
a74e02e362
chore: export fetch cli command
2021-03-23 16:27:34 -07:00
frrist
b34db8e432
chore: export pprof cli commands
2021-03-23 16:26:59 -07:00
frrist
1d50cdd85a
chore: export wait cli command
2021-03-23 16:26:12 -07:00
frrist
14a809d291
chore: export auth cli command
2021-03-23 16:25:49 -07:00
frrist
89c45fe7ef
chore: export sync cli commands
2021-03-23 16:23:22 -07:00
frrist
22329b96b4
chore: export state cli commands
2021-03-23 16:21:04 -07:00
frrist
8f6ea05d48
chore: export chain commands
2021-03-23 16:19:33 -07:00
frrist
1062117562
chore: export log cli commands
2021-03-23 16:19:22 -07:00
frrist
6827f2dce3
chore: export Net commands
2021-03-23 16:15:02 -07:00
Łukasz Magiera
65dcec0ebc
api client: Use versioned api packages
2021-03-23 19:15:53 +01:00
Łukasz Magiera
c41777dcd2
API proxy struct codegen ( #5854 )
...
* mostly working api proxy gen
* api: Consistent api names
* fix docsgen
* regenerate api struct
* api: expand external interfaces
* Add missing gen files
* apigen: fix perm detection
* api: Move perm tags to the interface
* gofmt
* worker perms
* docsgen
* docsgen: ignore tag comments
* apigen: add codegen warning
* gofmt
* missing actor type
* docsgen
* make linter happy
* fix lint
* apigen: use directives for tags
* docsgen
* regen openrpc docs
2021-03-23 13:42:56 +01:00
Anton Evangelatov
bbd0cdd212
fix linter and merge master
2021-03-23 13:59:41 +02:00
Anton Evangelatov
22217b7cae
Merge branch 'master' into nonsense/cli-show-deals
2021-03-23 13:58:26 +02:00
Anton Evangelatov
af8104830c
fixup
2021-03-18 16:03:24 +02:00
Anton Evangelatov
9d6c77d93f
remove interactive UX; add inspect-deal
cmd
2021-03-18 14:53:03 +02:00
Vasco Santos
9120d6f82f
chore: add available options for perm on error
2021-03-15 13:42:57 +01:00
Łukasz Magiera
ca7e70bf3a
Metadata datastore log
2021-03-09 22:33:01 +01:00
Łukasz Magiera
58d7627168
Merge pull request #5730 from filecoin-project/asr/genesis-rootkey
...
Customize verifreg root key and remainder account when making genesis
2021-03-08 22:42:09 +01:00
Łukasz Magiera
afb527ff30
fix lint
2021-03-08 13:31:06 +01:00
vyzo
444b84d181
deduplicate peers in extended output
2021-03-06 19:25:11 +02:00
vyzo
4a74f752c0
implement extended peer info in net peers cli
2021-03-06 19:14:13 +02:00
Łukasz Magiera
a4a21b5b89
fix lint
2021-03-05 21:33:36 +01:00
Łukasz Magiera
58e49e3259
Move api client builders to a cliutil package
2021-03-05 21:08:41 +01:00
Łukasz Magiera
e05dc4ec80
Merge pull request #5718 from Rennbon/master
...
fix(multisig): The format of the amount is not correct in msigLockApp…
2021-03-04 19:20:44 +01:00
Dirk McCormick
84803f82ab
feat: show deals CLI command
2021-03-04 16:56:49 +01:00
Rennbon
10076d5698
no message
2021-03-04 19:15:31 +08:00
Rennbon
fb78d5095f
no message
2021-03-04 19:12:29 +08:00
Rennbon
d80b0d9c2e
fix(multisig): The format of the amount is not correct in msigLockApproveCmd and msigLockCancelCmd
2021-03-04 19:04:54 +08:00
Travis Person
2d5a6dab30
Correctly format disputer log
2021-03-04 06:36:37 +00:00
Rod Vagg
b9d7de595a
list-asks: add --output-format & omit progress if !stdout
2021-03-02 13:58:41 +01:00
Łukasz Magiera
8bd5173a54
Merge branch 'next' into refactor/lib/blockstore
2021-03-01 19:04:40 +01:00
Raúl Kripalani
7f0f7d0b36
Merge branch 'master' into refactor/lib/blockstore
2021-02-28 19:55:23 +00:00
Łukasz Magiera
fe69b561a6
Merge pull request #5676 from filecoin-project/feat/list-gas-stats
...
chain list --gas-stats display capacity
2021-02-26 19:35:32 +01:00
Jakub Sztandera
10e1b26580
chain list --gas-stats display capacity
...
Add tipset capacity display to `chain list`
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-02-26 14:05:51 +01:00
Łukasz Magiera
b48ea9610f
Merge remote-tracking branch 'origin/master' into revert-5667-revert-5432-refac/send
2021-02-25 14:54:20 +01:00
Jakub Sztandera
303a0fec87
Revert "Revert "Refactor send command for better testability""
2021-02-23 15:50:47 +01:00
Jakub Sztandera
bebc11522e
Revert "Refactor send command for better testability"
2021-02-23 15:25:19 +01:00
Jakub Sztandera
7721ea20ba
Merge pull request #5432 from filecoin-project/refac/send
...
Refactor send command for better testability
2021-02-23 13:18:11 +01:00
Jakub Sztandera
7148a5558f
Rename newMockCmd to newMockApp
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-02-22 20:31:39 +01:00
Jakub Sztandera
0de363131e
fix typo
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-02-22 20:29:26 +01:00
Łukasz Magiera
6b8cbad31a
Show replacing message CID is state search-msg cli
2021-02-22 19:11:38 +01:00
Jakub Sztandera
607d1bc6f7
Add Send CLI tests
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-02-18 15:21:31 +01:00
Jakub Sztandera
afd5828d74
Make lint happy
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-02-18 15:21:31 +01:00
Jakub Sztandera
83bd8ebf65
Add nolint
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-02-18 15:21:31 +01:00
Jakub Sztandera
3de893542b
Finish Send CLI service tests
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-02-18 15:21:31 +01:00
Jakub Sztandera
bad67acb4b
Generate mocks, integrate send service test
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-02-18 15:21:31 +01:00
Jakub Sztandera
9553b32d52
Implement services skeleton
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-02-18 15:21:31 +01:00
Jakub Sztandera
b13428bf11
Make lint happy
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-02-18 15:21:31 +01:00