Nikola Divic
c0f89e5b2d
test: chain export cli command
...
Modified ChainExportCmd to use io.WriterCloser instead of os.File so
it the file can be mocked in unit tests, without side effects to the FS.
2022-02-10 18:18:31 +01:00
Nikola Divic
b536dfa552
test: chain bisect cli command
2022-02-10 15:46:06 +01:00
Nikola Divic
6bc2ee2735
test: chain get cli command
...
Cover the essential function execution paths, no time for every -as-type
combination.
2022-02-10 14:49:38 +01:00
Nikola Divic
b3f7db7a15
test: chain list (love) cli command
...
Some "funky" string matching in this one, but I think that's ok.
Chain is love. ❤️
2022-02-10 00:36:38 +01:00
Nikola Divic
4e37131602
test: chain inspect-usage cli command
2022-02-09 23:47:40 +01:00
Nikola Divic
ae49729afb
test: chain sethead cli command
...
Also moved the mock definition to a separate file (mocks_test.go)
because it's gonna be used in other test files, and it didn't make sense
for it to stay inside chain_test.go.
2022-02-09 20:46:51 +01:00
Nikola Divic
e797ec138d
test: chain getmessage cli command
...
I also added some helper functions for mocking in the types/mock pkg
2022-02-09 17:29:29 +01:00
Nikola Divic
a923d7c884
test: chain stat-obj cli command
...
Test expected output with respect to the --base flag
2022-02-09 16:22:52 +01:00
Nikola Divic
c0f47e5eed
test: chain delete-obj cli command
...
Contains two subtests, that check if the --really-do-it flag (force)
is respected, since removing wrong objects may lead to sync issues.
2022-02-09 15:56:13 +01:00
Nikola Divic
1cd590ace9
test: chain read-obj
...
Simple test that checks if this CLI method prints the IPLD node referenced
by the given CID encoded in hexadecimal.
2022-02-09 15:29:10 +01:00
Nikola Divic
78649d45b9
test: cli chain getblock command
...
Unit test for the cli `chain getblock` command.
Tests if output is JSON in the expected format.
2022-02-08 18:24:45 +01:00
Nikola Divic
811bc62d65
test: cli test setup & test chain head
...
CLI actions lack unit tests. I decided to use the approach similar to
what I found in `send_test.go` using gomock, but I don't rely on custom
"service" implementations but mock the whole FullNode API.
This first commit validates the test setup by testing the simplest method
of the chain category, e.g. `chain head`.
This requires a minor refactor of the CLI action code:
- The constructor (`GetFullNodeAPI`) checks if there's an injected mock
API in the app Metadata and uses that in unit tests.
- Actions shouldn't use raw `fmt.*` but instead write to the `app.Writer`
so the CLI output is testable
2022-02-08 17:15:45 +01:00
Łukasz Magiera
8b19b84140
paych: option to force off-chain get
2022-01-20 18:19:26 +01:00
Łukasz Magiera
533349cc0d
paych: Fix cli tests
2022-01-20 18:17:18 +01:00
Łukasz Magiera
ff8b95df93
paych: Reserve flag for add-funds cli
2022-01-20 18:16:00 +01:00
Łukasz Magiera
8f6f21c94c
paych: Print available amounts in paych status
2022-01-20 18:16:00 +01:00
Łukasz Magiera
7a938b2dea
paych: Output FIL in cli
2022-01-20 18:16:00 +01:00
vyzo
325a4c0e5b
fix lint
2022-01-20 11:46:39 +02:00
vyzo
19c8ea3288
add description for net stat and limit commands
2022-01-20 11:36:11 +02:00
vyzo
0de1566eaf
add net stat and limit cli
2022-01-20 11:36:11 +02:00
emad22552
135186e33d
go fmt ./client.go
2022-01-02 19:08:22 +03:30
Dirk McCormick
0e53275d40
feat: retrieval-ask - if size param is zero use QueryOffer.Size
2021-12-20 16:03:03 +01:00
Dirk McCormick
bb56e97177
fix: rename query-retrieval-ask to retrieval-ask
2021-12-17 18:01:12 +01:00
dirkmc
0f22d51309
Update cli/client.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2021-12-17 17:54:32 +01:00
Dirk McCormick
b1734f84b3
feat: retrieval ask CLI command
2021-12-17 15:55:12 +01:00
Aayush Rajasekaran
dfb65ed89f
Plumb contexts through
2021-12-11 17:04:00 -05:00
Łukasz Magiera
092e12d1be
cli: boolean logic is hard
2021-11-29 21:41:38 +01:00
Łukasz Magiera
320b36495d
gofmt
2021-11-29 21:39:27 +01:00
Łukasz Magiera
e4f47de6ef
retrieval: Check required flags for --car-export-merkle-proof
2021-11-29 21:39:18 +01:00
Łukasz Magiera
410ecb4bbc
retrieval: --car-export-merkle-proof flag for client retrieve
2021-11-29 21:37:28 +01:00
Łukasz Magiera
58a084049d
retrieval: Fix traversal in ls
2021-11-29 21:08:53 +01:00
Łukasz Magiera
61791b90ea
retrieval: Only output matching nodes, MatchPath dagspec
2021-11-29 20:40:55 +01:00
Łukasz Magiera
210485d800
Add some description to the retrieve command
2021-11-23 22:44:57 +01:00
Łukasz Magiera
407c2ed114
retrieval: Drop the RootSelector hack
2021-11-23 17:42:43 +01:00
Łukasz Magiera
f88c514be9
make lint happy
2021-11-22 12:52:11 +01:00
Łukasz Magiera
3e70b8420e
retrieval: Make the cat command work
2021-11-22 12:46:29 +01:00
Łukasz Magiera
2c583b03ff
retrieval: Support DM-paths in ls
2021-11-22 12:46:29 +01:00
Łukasz Magiera
dd78e75dd6
retrieval: add depth parameter to ls
2021-11-22 12:46:29 +01:00
Łukasz Magiera
c6101aa02f
retrieval: Support listing ipld links in ls
2021-11-22 12:46:29 +01:00
Łukasz Magiera
46ee3a0c46
retrieval: Don't default to non-zero cost retrieval
2021-11-22 12:46:29 +01:00
Łukasz Magiera
53a48df77e
retrieval: Don't use subcommands
2021-11-22 12:46:29 +01:00
Łukasz Magiera
597b72e286
retrieval: Fix lint, cli docsgen
2021-11-22 12:46:29 +01:00
Łukasz Magiera
8ea5162ad9
retrieval: Cleanup retrieve command output
2021-11-22 12:46:17 +01:00
Łukasz Magiera
9c119bfdad
retrieval: Make the ls command work
2021-11-22 12:46:17 +01:00
Łukasz Magiera
a1d5b2a293
retrieval: wip improved retrieval commands
2021-11-22 12:46:17 +01:00
Łukasz Magiera
b26906963b
retrieval: Support multi-root export
2021-11-22 12:46:17 +01:00
Łukasz Magiera
b868769ec8
more retrieval api work
2021-11-22 12:46:02 +01:00
Łukasz Magiera
89138bab4d
Simplify retrieval APIs
2021-11-22 12:45:42 +01:00
Aayush Rajasekaran
32fc03886d
CLI: Add a lotus multisig cancel command
2021-11-18 19:21:17 -05:00
Travis Person
60b3ae2ac2
add timeout flag to wait-api command
2021-11-02 17:28:11 +00:00
Jennifer Wang
dc6bd2b015
use existing util
2021-10-26 20:53:16 -04:00
Jennifer Wang
18834de7d0
parse attofil to fil
2021-10-26 19:37:29 -04:00
emad22552
4eaf89666f
fix manual-stateless-deal with interactive
...
fix checking manual-stateless-deal with interactive deal making as --manual-stateless-deal can not be combined with interactive deal mode.
2021-10-26 14:00:41 +03:30
jennijuju
9369c54f54
rename a fil plus cmd upon request
2021-10-20 17:53:16 -07:00
Jakub Sztandera
35291983a1
Fix missnamed variable
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-10-11 14:06:21 +02:00
Jakub Sztandera
4853762763
Fix withdrawn amount equiality check
...
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
2021-10-11 14:03:37 +02:00
Aayush Rajasekaran
e158b1d1e4
Bugfix: actor withdraw CLI should depend on network version
2021-10-09 20:17:03 -04:00
Peter Rabbitson
5e6aceeb0e
Merge remote-tracking branch 'origin/master' into feat/datamodel-selector-retrieval
2021-10-05 18:15:51 +02:00
Aayush Rajasekaran
2bafdf7271
Modify tooling to support new WithdrawBalance return
2021-09-29 13:01:04 -04:00
Peter Rabbitson
0444435589
Expose basic text-based datamodel selector on retrieval
...
Syntaxt of selection is located at
https://pkg.go.dev/github.com/ipld/go-ipld-selector-text-lite#SelectorSpecFromPath
Example use, assuming that:
- The root of the deal is a plain dag-pb unixfs directory
- The directory is not sharded
- The user wants to retrieve the first entry in that directory
lotus client retrieve --miner f0XXXXX --datamodel-path-selector 'Links/0/Hash' bafyROOTCID ~/output
For a much more elaborate example see the top of ./itests/deals_partial_retrieval_test.go
2021-09-10 09:44:11 +02:00
Łukasz Magiera
727bb84592
stmgr: drop MethdosMap
2021-09-02 18:58:34 +02:00
Łukasz Magiera
95b128b7bc
chain: Cleanup consensus logic
2021-09-02 18:09:37 +02:00
Łukasz Magiera
e2ba650a8c
cli for checking alerts
2021-08-26 15:45:17 +02:00
Łukasz Magiera
1ac87279d7
Add --to-code to chain encode params
2021-08-20 18:13:05 +02:00
Aarsh Shah
d7076778e2
integrate DAG store and CARv2 in deal-making ( #6671 )
...
This commit removes badger from the deal-making processes, and
moves to a new architecture with the dagstore as the cental
component on the miner-side, and CARv2s on the client-side.
Every deal that has been handed off to the sealing subsystem becomes
a shard in the dagstore. Shards are mounted via the LotusMount, which
teaches the dagstore how to load the related piece when serving
retrievals.
When the miner starts the Lotus for the first time with this patch,
we will perform a one-time migration of all active deals into the
dagstore. This is a lightweight process, and it consists simply
of registering the shards in the dagstore.
Shards are backed by the unsealed copy of the piece. This is currently
a CARv1. However, the dagstore keeps CARv2 indices for all pieces, so
when it's time to acquire a shard to serve a retrieval, the unsealed
CARv1 is joined with its index (safeguarded by the dagstore), to form
a read-only blockstore, thus taking the place of the monolithic
badger.
Data transfers have been adjusted to interface directly with CARv2 files.
On inbound transfers (client retrievals, miner storage deals), we stream
the received data into a CARv2 ReadWrite blockstore. On outbound transfers
(client storage deals, miner retrievals), we serve the data off a CARv2
ReadOnly blockstore.
Client-side imports are managed by the refactored *imports.Manager
component (when not using IPFS integration). Just like it before, we use
the go-filestore library to avoid duplicating the data from the original
file in the resulting UnixFS DAG (concretely the leaves). However, the
target of those imports are what we call "ref-CARv2s": CARv2 files placed
under the `$LOTUS_PATH/imports` directory, containing the intermediate
nodes in full, and the leaves as positional references to the original file
on disk.
Client-side retrievals are placed into CARv2 files in the location:
`$LOTUS_PATH/retrievals`.
A new set of `Dagstore*` JSON-RPC operations and `lotus-miner dagstore`
subcommands have been introduced on the miner-side to inspect and manage
the dagstore.
Despite moving to a CARv2-backed system, the IPFS integration has been
respected, and it continues to be possible to make storage deals with data
held in an IPFS node, and to perform retrievals directly into an IPFS node.
NOTE: because the "staging" and "client" Badger blockstores are no longer
used, existing imports on the client will be rendered useless. On startup,
Lotus will enumerate all imports and print WARN statements on the log for
each import that needs to be reimported. These log lines contain these
messages:
- import lacks carv2 path; import will not work; please reimport
- import has missing/broken carv2; please reimport
At the end, we will print a "sanity check completed" message indicating
the count of imports found, and how many were deemed broken.
Co-authored-by: Aarsh Shah <aarshkshah1992@gmail.com>
Co-authored-by: Dirk McCormick <dirkmdev@gmail.com>
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
Co-authored-by: Dirk McCormick <dirkmdev@gmail.com>
2021-08-16 23:34:32 +01:00
Anton Evangelatov
adcb8f3b15
improve get api error messages
2021-08-16 14:33:08 +03:00
ZenGround0
ce58b119bf
Merge pull request #7038 from filecoin-project/spike/restrict-api-versions
...
Strict major minor version checking on v0 and v1 apis
2021-08-12 14:34:31 -04:00
ZenGround0
73a644f320
Review response
2021-08-12 13:09:43 -04:00
Raúl Kripalani
2484fbc1f7
remove commented code.
2021-08-12 15:38:19 +01:00
Raúl Kripalani
5f6166435c
make lotus-miner net commands hit markets subsystem.
2021-08-12 11:15:00 +01:00
ZenGround0
3bb5d4eb8f
Strict major minor version checking on v0 and v1 apis
2021-08-11 16:40:14 -04:00
Anton Evangelatov
fa7e52dbda
add explicit error msg if repo dir does not exist
2021-08-01 00:22:55 -04:00
Raúl Kripalani
00fb675452
fix compilation error.
2021-07-29 16:18:43 +01:00
Raúl Kripalani
8433aae1af
use fallback api infos last; init service with markets-path.
2021-07-29 16:10:04 +01:00
Raúl Kripalani
b17fcfc4d1
bugfix.
2021-07-29 14:36:04 +01:00
Raúl Kripalani
3144da86f3
add RepoType#String; adjust repo parsing logic.
2021-07-29 13:49:51 +01:00
Raúl Kripalani
90427bc3af
fix docs, add flag.
2021-07-29 13:39:03 +01:00
Raúl Kripalani
8fae68a5ae
fix tests.
2021-07-29 13:21:55 +01:00
Raúl Kripalani
3b2c3a3f6b
polish.
2021-07-29 12:56:08 +01:00
Raúl Kripalani
d9c6a32b8e
refactor miner info command.
2021-07-29 12:54:08 +01:00
Raúl Kripalani
22c0884f5f
target markets API for markets commands.
2021-07-29 12:37:29 +01:00
Raúl Kripalani
4e19d8d562
support MARKETS_API_INFO env var; support markets-repo, markets-api-url flags.
2021-07-29 10:55:37 +01:00
ZenGround0
11394aa4aa
Improve cli docs
2021-07-29 00:29:27 -04:00
ZenGround0
5c823e9b42
PR #5109 + suggested fix
2021-07-28 23:59:59 -04:00
Raúl Kripalani
b04fb75a92
rename flag to very verbose.
2021-07-27 20:49:30 +01:00
Raúl Kripalani
48cddd3644
add a super verbose -vv flag to lotus and lotus-miner.
2021-07-27 14:25:28 +01:00
Łukasz Magiera
660829703a
Merge remote-tracking branch 'origin/master' into feat/split-net-api
2021-07-22 15:38:06 +02:00
Steven Allen
f9c759fcb2
fix: always check if StateSearchMessage returns nil
...
It returns nil on "not found".
Fixes the cases not covered in:
https://github.com/filecoin-project/lotus/pull/6787
2021-07-20 11:28:27 -07:00
Łukasz Magiera
49e26cce7d
api: Separate the Net interface from Common
2021-07-15 11:41:30 +02:00
Peter Rabbitson
6efd2e7335
Handle the --color flag via proper global state
...
Use `color.NoColor` as a global progressively modified as one descends
down command flags. Allows non-surprising operation when --color is
accepted at multiple layers, and even makes this behave predictably:
lotus-miner --color actor control list --color=false
2021-07-13 12:22:29 +02:00
Peter Rabbitson
4dd59b566c
Respect GOLOG_LOG_FMT=color
2021-07-08 10:44:37 +02:00
Peter Rabbitson
140a2e0200
Stabilize default text and make gen docsgen-cli
2021-07-08 10:44:13 +02:00
Peter Rabbitson
c7bb326c78
Enable color by default only if os.Stdout is a TTY
2021-07-07 18:12:24 +02:00
Jim Pick
17c0b9be44
Spelling fix
...
Change 'actorr' to 'actor'
2021-07-05 07:44:06 -07:00
Aayush Rajasekaran
069fd0a244
Add helptext to lotus chain export
2021-07-03 12:41:43 -04:00
Peter Rabbitson
30efcf21f0
Fix tiny error in check-client-datacap
2021-07-02 18:15:08 +02:00
Aayush Rajasekaran
cb4d7cb9e7
Make query-ask CLI more graceful
2021-06-24 12:57:54 -04:00
IPFSUnion
7c07dc9ed1
fix an error in msigLockCancel
2021-06-24 14:07:15 +08:00
Aayush Rajasekaran
4af59e0188
Apply suggestions from code review
...
Co-authored-by: Jennifer <42981373+jennijuju@users.noreply.github.com>
2021-06-22 19:23:24 -04:00
Aayush Rajasekaran
07fad6a201
Fix helptext
2021-06-22 16:02:06 -04:00
Aayush Rajasekaran
9c7db6d305
Fix the build
2021-06-16 17:53:53 -04:00
Aayush Rajasekaran
35f76f58df
Merge pull request #6309 from filecoin-project/feat/better_mining_projection_and_accuracy
...
Adjust various CLI display ratios to arbitrary precision
2021-06-16 17:48:23 -04:00
Rjan
932f3ce1d1
Update chain list with correct help instructions
...
Fixes #6293 , changes the help text from (Default: 0) to (Default: current head)
2021-06-14 13:13:25 +02:00
Raúl Kripalani
81b3c6e2ab
Merge branch 'master' into raulk/itests
2021-06-09 17:34:46 +01:00
Aayush Rajasekaran
a44e91df4b
UX: lotus state power CLI should fail if called with a not-miner
2021-06-08 18:46:21 -04:00
Raúl Kripalani
a274fcc533
Merge branch 'master' into raulk/itests
2021-06-07 23:44:22 +01:00
Raúl Kripalani
db1a61852d
Merge branch 'master' into raulk/itests
2021-06-07 23:17:44 +01:00
Peter Rabbitson
29d7561dd1
Fix logging of stringified CIDs double-encoded in hex
2021-06-08 00:05:48 +02:00
aarshkshah1992
ad4b182bfe
remove read task type and run gen and docsgen
2021-06-07 15:03:06 +05:30
aarshkshah1992
35a466f4c4
add new line
2021-06-04 21:41:09 +02:00
aarshkshah1992
ed4748e8ac
fix bug
2021-06-04 21:41:09 +02:00
aarshkshah1992
182da9d4ef
fix error handling
2021-06-04 21:41:09 +02:00
aarshkshah1992
8733cea902
fix success handling in retreival
2021-06-04 21:41:09 +02:00
Łukasz Magiera
a7746961fb
Merge remote-tracking branch 'origin/master' into feat/list-retrievals
2021-06-04 20:49:01 +02:00
hannahhoward
93a2530803
fix(cli): make failed retrievals show by default
2021-06-01 16:02:35 -07:00
Łukasz Magiera
3671f2a6ff
fix 2k build
2021-05-31 21:52:23 +02:00
Łukasz Magiera
ffa47659a1
Merge remote-tracking branch 'origin/feat/nv13' into feat/nv13-1.11
2021-05-31 21:38:34 +02:00
Łukasz Magiera
c3e8eddb9b
Merge remote-tracking branch 'origin/master' into feat/nv13-1.11
2021-05-31 21:24:56 +02:00
Alex Wade
2782ea31d3
Improve the cli state call command to accept base64/hex params, and decode result according to method return type
2021-05-31 21:08:45 +02:00
Aayush Rajasekaran
92f544d96c
Add verifreg utils to CLI
2021-05-31 15:01:55 -04:00
Łukasz Magiera
c8d603557b
storagefsm: Fix batch deal packing behavior
2021-05-30 17:46:22 +02:00
hannahhoward
3fbe2b320d
feat(v0api): add list-retrievals to v0
2021-05-27 15:00:31 -07:00
hannahhoward
9e73e43272
fix(cli): add one more error state
2021-05-27 11:48:28 -07:00
hannahhoward
9c2467b17c
fix(cli): patch for output given fil-markets IsTerminalError ahving a bug
2021-05-27 11:48:28 -07:00
hannahhoward
19b6dc8d1e
feat(cli): add a list retrievals command
...
Currently, there is no way to inspect retrievals on a client. This adds said command, allow with
corresponding APIs
2021-05-27 11:48:25 -07:00
Łukasz Magiera
1e4456138e
Merge master into feat/nv13
2021-05-27 12:28:20 +02:00
Peter Rabbitson
c2e5a837e6
Adjust various CLI display ratios to arbitrary precision
...
Originally the deviations from using float64 were insignificant, but at
exabyte scale they start to show up. Cleanup all displays, and clarify
the expectation text, adding an extra 99.9% probability calculator to
`lotus-miner info`
2021-05-25 14:09:01 +02:00
Steven Allen
995efe4584
feat: log dispute rate
...
This way we can see if/when we need to optimize this code.
2021-05-24 16:31:50 -07:00
Raúl Kripalani
627248d610
Merge branch 'raulk/refactor-rpc' into raulk/itests
2021-05-23 12:41:25 +01:00
Łukasz Magiera
807c670184
Merge pull request #6135 from filecoin-project/asr/verifreg
...
Move verifreg shed utils to CLI
2021-05-21 11:21:38 +02:00
Raúl Kripalani
c46d4ae529
wip
2021-05-19 17:30:43 +01:00
Aayush Rajasekaran
9a6e601754
Merge pull request #5961 from filecoin-project/feat/stateless-offline-dealflow
...
Introduce stateless offline dealflow, bypassing the FSM/deallists
2021-05-17 12:35:39 -04:00
Jakub Sztandera
624f5969b3
fix: wait-api should use GetAPI to acquire binary specific API
...
Fixes #6244
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-05-13 19:58:15 +02:00
Łukasz Magiera
506f39b294
WIP: Integrate FIP0013
2021-05-11 22:10:29 -04:00
Peter Rabbitson
d54ed1b0c6
Merge remote-tracking branch 'origin/master' into feat/stateless-offline-dealflow
2021-05-11 04:54:22 +02:00
Peter Rabbitson
0019187a4f
Forgotten pre-API zero-price check
2021-05-11 04:44:07 +02:00
Jakub Sztandera
18cbdcfc81
Disable checks API on Lotus Lite
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-05-07 17:19:17 +02:00
Jakub Sztandera
61dbd443b8
Fix tests and verifreg
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-05-07 15:30:05 +02:00
Jakub Sztandera
cbfb4770fd
Add function to display nanoFIL
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-05-07 15:30:05 +02:00
Jakub Sztandera
5f638b4193
Print more details on test fail
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-05-07 15:30:05 +02:00
Jakub Sztandera
8d75da1629
Use MessagePrototype for check API
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-05-07 15:30:05 +02:00
Jakub Sztandera
3d8f641310
Plug in InteractiveSend to all adopted commands
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-05-07 15:30:05 +02:00
Jakub Sztandera
7535c5bb53
Add mpool manage
command
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-05-07 15:30:05 +02:00
vyzo
e2d0047a2a
introduce message prototypes
...
This introduces message prototypes to applicable API endpoints, which
allows us to invert control of message sending and give the user a
chance to intervene with an interactive ui.
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-05-07 15:30:05 +02:00
Jakub Sztandera
86e90dc6f1
Message sending UI
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-05-07 15:30:04 +02:00
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
Jakub Sztandera
28bed9ac54
Refactor send command for better testability
...
Separate CLI parsing and interactions with the API.
`send` becomes its own function accepting only interfaces it needs.
Tests will follow.
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-02-18 15:21:31 +01:00
Travis Person
d1843ecca1
Disputer logs to its own logger
2021-02-16 20:38:11 +00:00
Dirk McCormick
a6e3856776
Revert "feat: deals - show data transfer %"
...
This reverts commit b6c9ddccff
.
2021-02-16 12:32:45 +01:00
Łukasz Magiera
95e47cf998
Merge pull request #5553 from filecoin-project/feat/data-xfer-percent
...
show data transfer % for storage deals
2021-02-11 13:29:43 +01:00
Łukasz Magiera
0c6aef221d
Fix error logging format strings
2021-02-11 12:00:26 +01:00
Anton Evangelatov
044972ebdc
make categories uppercase
2021-02-10 14:38:42 +01:00
Dirk McCormick
b6c9ddccff
feat: deals - show data transfer %
2021-02-10 09:56:23 +01:00
Łukasz Magiera
a541a2500a
Merge pull request #5282 from filecoin-project/chore/snake_context_through_blockstore_init
...
Snake a context through the Chain-blockstore creation
2021-01-30 11:55:17 +01:00
Raúl Kripalani
af429dba0f
Merge branch 'master' into chore/snake_context_through_blockstore_init
2021-01-29 21:21:46 +00:00
Raúl Kripalani
b0cbc932bd
consolidate all blockstores in blockstore package.
2021-01-29 20:01:00 +00:00
Łukasz Magiera
389e6eb70b
state compute-state ---html --no-timing flag
2021-01-28 19:37:32 +01:00
Raúl Kripalani
a1da1dab85
add context to LockedRepo#Datastore().
2021-01-26 11:01:43 +00:00
Aayush Rajasekaran
fd68551d83
Don't be off by 1000000000000000000x
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2021-01-25 17:58:19 -05:00
Aayush Rajasekaran
29d3d746a3
Build a WindowPoSt disputer
2021-01-25 17:26:09 -05:00
Aayush Rajasekaran
23ce0645ed
Merge pull request #5342 from filecoin-project/asr/change-owner
...
Allow multisigs to be set as miner owner address
2021-01-20 21:30:37 -05:00
zgfzgf
29bdd94b12
add slash-consensus from flag
2021-01-19 14:18:46 +08:00
Aayush Rajasekaran
b6bcd978e7
Fix lotus msig approve
2021-01-13 03:21:50 -05:00
Aayush Rajasekaran
b33bf16f70
Add a command to encode JSON params
2021-01-13 02:40:06 -05:00
Łukasz Magiera
3ce296489b
Merge pull request #5252 from filcloud/send-fund-check
...
add fund sufficient check in send
2021-01-11 16:42:38 +01:00
Łukasz Magiera
6328f9c879
Merge pull request #4577 from zgfzgf/fix-chain-consensusfault
...
delete slash-consensus miner
2021-01-11 15:53:42 +01:00
Łukasz Magiera
c5a2cac06a
Fix client flag parsing in client balances cli
2021-01-08 23:03:52 +01:00
Łukasz Magiera
32dcfb4842
Merge pull request #5303 from filecoin-project/feat/wallet-market-info
...
Better CLI for wallet market withdraw and client info
2021-01-08 22:54:12 +01:00
Łukasz Magiera
afb9e5f672
Merge pull request #5275 from xgswust/lotout-state-call
...
lotus state call will panic
2021-01-08 21:40:11 +01:00
Łukasz Magiera
108afe08fb
Merge pull request #5300 from filecoin-project/feat/wallet-market-add
...
feat: lotus wallet market add (adds funds to storage market actor)
2021-01-08 21:30:58 +01:00
Dirk McCormick
c58086ee27
feat: better CLI for wallet market withdraw and client info
2021-01-07 10:18:29 +01:00
Dirk McCormick
6da09235dc
feat: cli - rename client info to client balances
2021-01-07 09:53:46 +01:00
Frank
9584c72026
if force specified will not check insufficient fund
2021-01-07 11:30:53 +08:00
Frank
fef5d65c0f
Update FIL format
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2021-01-07 11:22:23 +08:00
Łukasz Magiera
cf299b39b0
Merge pull request #5259 from filcloud/verbose-transfer
...
add verbose for list transfers
2021-01-06 17:24:13 +01:00
Dirk McCormick
c6820ec059
feat: lotus wallet market add (adds funds to storage market actor)
2021-01-06 14:32:46 +01:00
Frank
dbe580de10
update realdoit to force
2021-01-06 11:37:29 +08:00
eben.xie
72c1fa81db
when use lotus state call method, in lotus/cli/state.go 1620 line, the paramObj needs struct type not a ptr type,
...
if use a ptr type, the program will panic in line 1621(paramObj.NumField())
2020-12-31 11:41:51 +08:00
Frank
7e0a2ca46e
use deal duration from actor
2020-12-30 16:02:53 +08:00
Frank
7583c4399a
add verbose for list transfers
2020-12-28 16:36:19 +08:00
Frank
a7a6f24ceb
add value for all method
2020-12-28 11:08:19 +08:00
He Weidong
8613454d1d
correct flag usages for replace cmd
2020-12-27 23:46:03 +08:00
Frank
6b9daa4d14
update return error
2020-12-25 16:32:21 +08:00
Frank
df973da748
add fund sufficient check in send
2020-12-25 16:25:46 +08:00
Łukasz Magiera
46e5cc9317
Merge pull request #5197 from filecoin-project/fix/lock-propose
...
fix lock propose
2020-12-15 23:34:02 +01:00
whyrusleeping
6c6711e638
fix lock propose
2020-12-15 13:27:22 -08:00
Aayush Rajasekaran
e33f873df8
Print MinPieceSize when querying ask
2020-12-10 15:38:18 -05:00
Frank
0f08da3272
add mpoolpending from to filter
2020-12-10 17:21:32 +08:00
Łukasz Magiera
2ce5a29004
Merge pull request #5150 from filecoin-project/feat/list-deals-xfer-id
...
show data transfer ID in list-deals
2020-12-09 19:39:46 +01:00
Jakub Sztandera
6ca5caef31
Refactor DefaultMessageSendSpec
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-12-08 20:51:27 +01:00
Dirk McCormick
72cb130e17
feat: show data transfer ID in list-deals
2020-12-08 15:23:26 +01:00
Ingar Shu
13c8a235b6
Use FundManager to withdraw funds, add MarketWithdraw to API
2020-12-03 13:08:18 -08:00
Jakub Sztandera
07afd93443
fix: send with declared nonce 0
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-12-03 18:38:36 +01:00
Łukasz Magiera
82b5cb89cd
Merge pull request #5061 from filecoin-project/fix/err-late-deals
...
Error out deals that are not activated by proposed deal start epoch
2020-12-01 17:02:06 +01:00
Dirk McCormick
44d929c084
fix: increase proposed deal start epoch for CLI test
2020-12-01 15:31:05 +01:00
Łukasz Magiera
354b5af55a
Merge pull request #5032 from filecoin-project/fix/cancel-transfer
...
Cancel transfer cancels storage deal
2020-12-01 14:57:58 +01:00
Łukasz Magiera
4d019f16e4
Merge pull request #5074 from filecoin-project/fix/deal-verified-helptext
...
Fix helptext for verified-deal default in client deal
2020-12-01 11:54:41 +01:00
Dirk McCormick
ceea03cd40
fix: client test list-deals parsing
2020-12-01 11:48:14 +01:00
Łukasz Magiera
32065f551e
Fix helptext for verified-deal default in client deal
2020-12-01 11:41:21 +01:00
Łukasz Magiera
3e143cac4b
Merge pull request #5060 from filecoin-project/feat/listasks-ping
...
client list-asks --by-ping
2020-11-30 23:14:53 +01:00
Łukasz Magiera
0386cc5d48
Merge pull request #5059 from filecoin-project/feat/mpool-replace-opt-limit
...
Make --gas-limit optional in mpool replace cli
2020-11-30 20:07:09 +01:00
Łukasz Magiera
b18bc90dbc
client list-asks --by-ping
2020-11-30 14:20:05 +01:00
Łukasz Magiera
f4913c19b1
Make --gas-limit optional in mpool replace cli
2020-11-30 12:41:50 +01:00
Łukasz Magiera
660ac26dd9
Merge pull request #5035 from filecoin-project/feat/mpool-stat-gas
...
Print gas limit sum in mpool stat
2020-11-27 20:05:03 +01:00
Łukasz Magiera
09b9dfc3ce
Print gas limit sum in mpool stat
2020-11-27 15:55:59 +01:00
Dirk McCormick
c66e594046
fix: cancel transfer cancels storage deal
2020-11-27 15:37:22 +01:00
wangchao
9ade05b33b
fix: start a new line in print miner-info to avoid ambiguous display
2020-11-27 15:14:58 +08:00
Łukasz Magiera
fcec665267
Merge remote-tracking branch 'origin/master' into feat/deal-await-precommit
2020-11-26 11:51:36 +01:00
Jakub Sztandera
86e25e7969
Fix actor not found in chain inspect-usage
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-11-25 20:04:27 +01:00
Dirk McCormick
239e180683
feat: markets - separate watching for pre-commit from prove-commit
2020-11-24 13:24:41 -08:00
zlhwdsz
721120fc60
fix get sector nil pointer bug
2020-11-24 00:00:14 +08:00
Łukasz Magiera
17597fdd8f
Merge pull request #4914 from filecoin-project/asr/version-cli
...
CLI to get network version
2020-11-20 16:47:35 +01:00
Łukasz Magiera
94763c2aaa
Merge pull request #4849 from filecoin-project/feat/conngater
...
Connection Gater support
2020-11-20 16:25:02 +01:00
Łukasz Magiera
9d2208e0e8
fix lint
2020-11-19 17:08:14 +01:00
Aayush Rajasekaran
3737a8f3cc
CLI to get network version
2020-11-19 02:24:32 -05:00
Łukasz Magiera
d4f6e1ddb4
Merge pull request #4853 from filecoin-project/feat/print-consensus-fault
...
Print Consensus Faults in miner info
2020-11-16 15:55:37 +01:00
Aayush Rajasekaran
6667220a27
Merge pull request #4748 from zgfzgf/fix-chain-decode-params
...
add chain base64 decode params
2020-11-13 18:54:03 -05:00
Jakub Sztandera
fe339d46eb
Print Consensus Faults in miner info
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-11-13 21:21:24 +01:00
vyzo
91e2530e11
remove dtypes dependency from api; move NetBlockList type to api/types.go
2020-11-13 21:11:17 +02:00
vyzo
2b68ba5f1d
fix command name
2020-11-13 14:43:18 +02:00
vyzo
b8884adaf1
implement connection gating cli
2020-11-13 14:27:44 +02:00
Dirk McCormick
0e3e449bf8
test: stop mining at the end of tests
2020-11-12 16:23:46 +01:00
Łukasz Magiera
60debfb0a6
Add client deal-stats CLI
2020-11-10 17:33:05 +01:00
Jakub Sztandera
5a34e5b2bf
Merge pull request #4599 from filecoin-project/feat/sync-manager-redux
...
rewrite sync manager
2020-11-06 21:01:26 +01:00
zgfzgf
d98e989417
chain decode params encoding
2020-11-06 15:02:08 +08:00
zgfzgf
7f47bf452a
add chain base64 decode params
2020-11-06 13:36:24 +08:00
Łukasz Magiera
a5c05f87f1
Merge pull request #4105 from filecoin-project/asr/decode-params
...
Add a StateDecodeParams method
2020-10-31 01:05:50 +01:00
Łukasz Magiera
7cba0b25fd
Merge pull request #4618 from filecoin-project/4360
...
Add miner available balance and power info to state minor info
2020-10-31 01:03:39 +01:00
vyzo
d6e2c80608
if noone is working pick the last worker in sync wait
2020-10-30 19:45:59 +02:00
vyzo
5dcf339840
fix sync wait cli
2020-10-30 19:28:32 +02:00
Aayush Rajasekaran
5ff42505e8
Add a StateDecodeParams method
2020-10-29 22:04:33 -04:00
Łukasz Magiera
ae7889f830
Config for default max gas fee
2020-10-29 20:50:11 +01:00
Łukasz Magiera
e168f7a917
cli: miner-info review
2020-10-29 10:33:08 +01:00
jennijuju
c80e8cb7d3
Add miner available balance and power info to state minor info
2020-10-28 19:04:03 -04:00
Jakub Sztandera
ad905fc310
Expose WorkerID
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-10-28 20:22:07 +01:00
Łukasz Magiera
413643a712
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-10-27 16:56:29 +01:00
Dirk McCormick
c0f6f834b7
fix: flaky TestCLIDealFlow
2020-10-27 11:07:54 +01:00
Łukasz Magiera
8c60069bb8
Merge pull request #4535 from filecoin-project/feat/clientdeal-cache-commd
...
client deal: Cache CommD when creating multiple deals
2020-10-27 03:58:25 +01:00
Łukasz Magiera
e1da874258
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-10-27 03:31:07 +01:00
Ingar Shu
8141f7b6a6
Expose ClientDealSize API via client stat CLI
2020-10-26 11:28:01 -07:00
Łukasz Magiera
5a6195feb6
Merge pull request #4598 from filecoin-project/refactor/paych-cli-test
...
refactor: share code between CLI tests
2020-10-26 14:51:03 +01:00
Dirk McCormick
1fefcc2b46
refactor: simplify cli test RunCmd
2020-10-26 14:26:46 +01:00
Łukasz Magiera
09f1d00733
Merge pull request #4533 from filecoin-project/msig-inspect-jen
...
Updated msig inspect:
2020-10-26 14:11:21 +01:00
Dirk McCormick
b097a5fb0c
refactor: share code between CLI tests
2020-10-26 13:50:07 +01:00
Łukasz Magiera
a37c372d06
Merge pull request #4572 from filecoin-project/feat/data-transfer-utils
...
Flesh out data transfer features
2020-10-26 13:29:26 +01:00
zgfzgf
fe40a53e8f
delete slash-consensus miner
2020-10-24 13:46:15 +08:00
jennijuju
f05b03f02c
Updated msig inspect:
...
- Show account address of signer if the id address is corresponding to an account address.
- When a message receiver is a new account, do not lookup method name.
2020-10-23 17:40:51 -04:00
Łukasz Magiera
660236b224
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-10-23 23:25:35 +02:00
Łukasz Magiera
194f56377e
Merge pull request #4565 from filecoin-project/feat/shed-msg-decode
...
shed: Commad to decode messages
2020-10-23 22:35:24 +02:00
Łukasz Magiera
de2cbfa8a9
client deal: Cache CommD when creating multiple deals
2020-10-23 22:20:17 +02:00
Łukasz Magiera
067de4508b
shed: Commad to decode messages
2020-10-23 22:17:46 +02:00