Ingar Shu
121be5c6e8
Add and use a safe ellipsis function for truncating strings
2020-08-25 12:03:08 -07:00
Steven Allen
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
Whyrusleeping
af3fe206d6
Merge pull request #3122 from filecoin-project/feat/cmd-improvements
...
sorted deal listings
2020-08-20 13:29:01 -07:00
hannahhoward
0086f76a90
feat(lotus-miner): add data transfer list cmd
...
add equivalent command to list data transfers on miner side, extract common functionality for reuse
2020-08-20 01:35:48 -07:00
hannahhoward
4fc5f9fe9f
feat(cli): data transfer watch option
...
make watching data transfer CLI updates only an option
2020-08-18 18:23:51 -07:00
hannahhoward
66ac7c195c
feat(cli): add updates to data transfer
...
Add an API to get data transfer updates and add modify the CLI to be an
ongoing monitoring plan
2020-08-18 17:36:29 -07:00
hannahhoward
ef7f7375e7
fix(cli): cleanup data-transfers
...
cleanup output for data transfers.
2020-08-18 16:45:20 -07:00
hannahhoward
f511cc188a
feat(cli): data transfer command
...
add command to monitor data transfers
2020-08-18 16:26:21 -07:00
Mike Greenberg
8675ca561d
fix(api): Filter malformed peer ID before RPC marshaling
2020-08-18 16:29:21 -04:00
Łukasz Magiera
4cd56b3b99
impl: wait in ClientRetrieve
2020-08-18 15:27:56 +02:00
Aayush Rajasekaran
add56c8b81
Create eventless version of ClientRetrieve
2020-08-18 05:49:56 -04:00
whyrusleeping
f05cff478f
sorted deal listings
2020-08-17 14:48:49 -07:00
Ingar Shu
5ace7479ad
Don't try to output nil channel values
2020-08-17 14:39:08 -07:00
Aayush Rajasekaran
2d90bcff3c
jeromy is a bad software engineer
2020-08-13 22:14:45 -04:00
whyrusleeping
eb2879ca22
allow client to specify provider collateral
2020-08-13 21:47:36 -04:00
Łukasz Magiera
5561d66082
Merge pull request #3002 from keyko-io/feat/verified-price
...
Showing verified price in asks
2020-08-12 23:26:53 +02:00
Peter Rabbitson
fd49ef8de6
Stop requiring miner address / sector size for lotus client commP
...
At present, and at least for the medium term (even with the transition to NSE)
the structure of a piece (and thus commP) will remain identical for every size
of sector.
The offline deal flow would benefit greatly if the `lotus client commP`
interface is able to calculate commP without having access to a fully synced
sync, or without even being online.
This is particularly important for filecoin-discover, as we want to allow
miners to spot-check their purchased HDDs, way before they need to accept
the mainnet deal proposals.
See comment/links in node/impl/client/client.go for details on code flow
2020-08-12 22:03:00 +02:00
Ingar Shu
8f56814ffb
Change formatting, stringify errors before returning over JSONRPC
2020-08-12 10:54:15 -07:00
Sami Mäkelä
5791765526
these were mixed up
2020-08-12 17:48:36 +03:00
Sami Mäkelä
ac6e716ebd
merge
2020-08-12 14:12:33 +03:00
Ingar Shu
02b0c8dd94
Watch context for completion also
2020-08-11 14:43:55 -07:00
Ingar Shu
53e06f358a
client retrieval logging
2020-08-11 13:04:00 -07:00
Łukasz Magiera
a193feec06
gofmt
2020-08-08 00:42:08 +02:00
刘林欣
4bf932a4d7
show deal list when StateMarketStorageDeal not found deal
2020-08-07 19:43:38 +02:00
hannahhoward
a89c290f62
feat(markets): update to 0.5.4
2020-08-05 15:35:59 -07:00
Łukasz Magiera
e4f475ee59
gofmt
2020-08-04 19:07:31 +02:00
Łukasz Magiera
adee59c795
client cli: improve lit-deals output
2020-08-04 19:07:17 +02:00
Łukasz Magiera
b6c9169a87
client cli: Interactive deal command
2020-07-31 18:23:36 +02:00
whyrusleeping
e19ff4c958
sprinkle in some color
2020-07-31 01:50:12 -04:00
whyrusleeping
5f091411c3
some client improvements
2020-07-31 01:33:44 -04:00
whyrusleeping
7fa4cd33f0
WIP: retrieval pieces inspection command
2020-07-31 01:33:30 -04:00
Łukasz Magiera
927ee2406a
Downgrade actors, get tests to pass
2020-07-28 19:51:58 +02:00
hannahhoward
5a623cccb5
feat(markets): update markets mulitple deal stores
2020-07-27 23:13:28 -07:00
whyrusleeping
2cf59a23e7
working on lotus client UX
2020-07-23 18:52:29 -07:00
Whyrusleeping
a7bbf56cae
Update cli/client.go
2020-07-21 16:52:48 -07:00
whyrusleeping
fda0651bb5
a few improvements and fixes for the retrieval CLI
2020-07-21 16:43:57 -07:00
Łukasz Magiera
217890c822
client: Pretty print fil amounts in list-deals
2020-07-20 19:02:52 +02:00
Jakub Sztandera
cc1d23a94c
Use single multi ds
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-17 22:14:37 +02:00
Łukasz Magiera
2e4ed57363
Merge remote-tracking branch 'origin/master' into next
2020-07-13 13:34:56 +02:00
Aayush Rajasekaran
1a5c20ca75
CLI/API improvements
2020-07-13 01:13:56 -04:00
Łukasz Magiera
3fcf7a0344
client: Fix an off-by-10^18 error setting retrieval maxPrice
2020-07-10 21:18:18 +02:00
Ingar Shu
7929a335c3
Add default max price, fix error messaging
2020-07-10 10:11:15 -07:00
Ingar Shu
5411ebb806
Add maxPrice option to client retrieval
...
- Use best offer if multiple offers returned
2020-07-10 10:04:54 -07:00
Ingar Shu
4aa30c1a51
Plumb piece cid in miner-specific query functions
2020-07-09 13:14:24 -07:00
Ingar Shu
171ce39e8c
Add piece cid to retrieval queries
2020-07-09 13:03:17 -07:00
Sami Mäkelä
0784e57082
handling verified price here
2020-07-09 13:36:22 +03:00
Łukasz Magiera
66237415c5
Merge remote-tracking branch 'origin/next' into feat/client-multi-bstore
2020-07-08 22:48:47 +02:00
Łukasz Magiera
b049c5a7d1
Merge remote-tracking branch 'origin/master' into next
2020-07-08 14:35:40 +02:00
Aayush Rajasekaran
eac8a909e9
Unify all sender flags in CLI under the same name
2020-07-07 17:37:43 -04:00
Dirk McCormick
c86e864d55
fix: use nil return from StateVerifiedClientStatus for not-found
2020-07-07 09:59:14 -04:00
Łukasz Magiera
18fc3337ff
client: API/Command to drop imports
2020-07-07 13:45:02 +02:00
Łukasz Magiera
f59eb94d92
client: Set correct dag builder params
2020-07-07 11:14:13 +02:00
Łukasz Magiera
47f0898ce9
Wire up client import manager
2020-07-07 10:52:19 +02:00
Dirk McCormick
8489fb258a
fix: return NotFoundErr from StateVerifiedClientStatus() if addr not found
2020-07-02 14:49:08 -04:00
Dirk McCormick
2c7aa318c1
feat: state API for verified client data cap
2020-07-02 12:10:11 -04:00
Dirk McCormick
5c63581bd5
feat: add fast-retrieval flag to lotus client deal
2020-07-01 12:27:55 +02:00
Dirk McCormick
00d18ca479
fix: change default for lotus client deal --verified-deal to false
2020-07-01 12:23:40 +02:00
Dirk McCormick
46f07faead
feat: add verified-deal flag to lotus client deal
2020-07-01 12:23:40 +02:00
Łukasz Magiera
02234d00b7
Merge remote-tracking branch 'origin/master' into next
2020-06-17 20:50:42 +02:00
Ignacio Hagopian
35d9de6b6e
consider response status and err
...
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-06-16 17:32:03 -03:00
Ignacio Hagopian
9d17e0be9d
ClientMinerQueryOfer API & CLI support
...
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-06-16 11:14:49 -03:00
laser
fe60ffb6ff
display quantities of bytes in human-readable format
...
- client commP
- client local
- client find
- client query-ask
- client list-deals
- state sector-size
2020-06-11 12:31:32 +02:00
laser
2889efb608
display quantities of bytes in human-readable format
...
- client commP
- client local
- client find
- client query-ask
- client list-deals
- state sector-size
2020-06-09 12:53:44 -07:00
Łukasz Magiera
3b13397165
gofmt
2020-06-06 00:59:01 +02:00
Łukasz Magiera
163c2b2544
Merge remote-tracking branch 'origin/master' into next
2020-06-06 00:58:24 +02:00
laser
a80dce2e3b
move to client command
2020-06-05 14:22:29 -07:00
laser
b167e73acb
allow CLI consumer to specify CID encoding for output
2020-06-05 13:33:45 -07:00
laser
55a9c9ae0a
client deal command outputs Base32-encoded CID
2020-06-05 13:13:33 -07:00
laser
b3eef76cdd
client commP outputs Base32-encoded string
2020-06-05 13:13:16 -07:00
Łukasz Magiera
3f81ff3507
Update specs-actors
2020-06-05 22:06:11 +02:00
laser
2347ba6f39
print "client"-command CIDs as base32-encoded strs
...
Fixes #916
2020-06-05 13:04:28 -07:00
Jakub Sztandera
29dbc26dbd
Update cli
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-04 01:01:41 +02:00
Ignacio Hagopian
10753f14d0
retrieve: make fileref optional
...
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-05-28 22:11:49 +02:00
Ignacio Hagopian
bcd84cbe9d
retrieve: make fileref optional
...
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-05-26 14:52:52 -03:00
Aayush Rajasekaran
8f6c3c2cc7
prevent client list-deals from crashing
2020-05-18 17:44:00 -04:00
Jeromy
e345525672
Add flag to specify deal start epoch
2020-04-30 10:51:08 -07:00
laser
160bc0676f
add on-chain deal information to client list-deals output
2020-04-28 11:37:20 -07:00
Aayush Rajasekaran
45722772fc
Print a miner ask's max piece size
2020-04-24 01:01:22 -04:00
laser
959d91ec65
add deal identity to client list-deals output
2020-04-23 12:08:16 -07:00
Łukasz Magiera
93b2b6d65d
Merge branch 'testnet/3' into feat/windowed-post
2020-04-17 18:38:20 +02:00
Łukasz Magiera
15a4565714
Fix deal publishing
2020-04-16 23:43:39 +02:00
Łukasz Magiera
afdfc8807d
api: Single method for static miner info
2020-04-16 19:36:36 +02:00
Aayush Rajasekaran
efd435d763
Treat proposed deals as manual iff a commP is provided
2020-04-15 14:00:53 -04:00
Aayush Rajasekaran
fc933858e1
Add an API method to calculate piece CIDs
2020-04-15 14:00:42 -04:00
hannahhoward
0c69e99b7c
feat(cli): add message to deal output
...
Add the message field to deal output for client deals -- message will often contain additional
useful info about what happened with the deal, especially for errors
2020-03-31 11:53:30 -07:00
whyrusleeping
24bf720a9a
Merge branch 'master' into testnet/3
2020-03-07 16:46:12 -08:00
hannahhoward
9f5f70a93f
feat(client): add car import/export option
...
adds option on client file import and client retrieval to read/write to CAR file
2020-03-06 13:14:02 -08:00
Aayush Rajasekaran
2d63b007f2
Unify MethodCall and ReplayResults into SimulationResult
...
- Call and Replay now return the same type, which includes both Message and MessageReceipt
2020-03-06 11:10:40 -08:00
Łukasz Magiera
3cab8bd5d1
gofmt
2020-03-06 20:01:28 +01:00
Aayush Rajasekaran
e9afba3490
Add ArgsUsages to the CLI where missing
...
- This commit also standardises some notation
2020-03-04 16:58:46 -08:00
whyrusleeping
9169a073b6
add miner side commands and a few other goodies
2020-03-03 18:49:00 -08:00
whyrusleeping
52acfb88ee
use proper manual piece and size setting
2020-03-03 18:19:28 -08:00
whyrusleeping
2be2891647
wire up lotus side of make deal for manual commP
2020-03-03 16:18:08 -08:00
whyrusleeping
99c842e027
integrate client interface to allow for offline deals
2020-03-03 16:18:08 -08:00
whyrusleeping
c51a83b404
fix a few libp2p related problems
2020-03-02 20:55:25 -08:00
Łukasz Magiera
d787aa5007
Merge branch 'testnet/3' into feat/specs-actors
2020-02-24 18:32:02 +01:00
Łukasz Magiera
69ec3c205a
Merge remote-tracking branch 'origin/master' into testnet/3
2020-02-19 22:10:14 +01:00
Aayush Rajasekaran
60970008c8
Re: #1250 : API methods should receive TipSetKeys, not TipSets, as input
2020-02-17 19:53:43 -05:00
Łukasz Magiera
74bf9119cc
spects-actors: More type propagation
2020-02-13 04:50:45 +01:00
hannahhoward
b8077fadaa
fix(dealstate): update deal states to match current
2020-01-28 14:08:13 -08:00