Commit Graph

836 Commits

Author SHA1 Message Date
whyrusleeping
8774a7b2dd add a market balance command, and a verbose mode for storage-deals list 2020-08-14 16:45:40 -07:00
Aayush Rajasekaran
0359a458e4 Include more info in StateCirculatingSupply 2020-08-14 16:53:30 -04: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
9a39bb4e78 api: Remove unused StatePledgeCollateral 2020-08-13 14:03:59 +02:00
Łukasz Magiera
3b23ab952b gofmt 2020-08-13 13:44:43 +02:00
Łukasz Magiera
069c39fc12 Add reachability info to miner info all 2020-08-13 13:44:03 +02:00
Łukasz Magiera
3f2a62b5e2 cli: net reachability command 2020-08-13 13:18:14 +02: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
Łukasz Magiera
e83fa0dd04
Merge pull request #3009 from filecoin-project/feat/offline_commp_calculation
Stop requiring miner address / sector size for `lotus client commP`
2020-08-12 22:51:34 +02:00
Łukasz Magiera
12f7e2d9bf Use a struct for send metadata in MpoolPushMessage 2020-08-12 22:17:29 +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
Łukasz Magiera
e1a1b325bc Merge remote-tracking branch 'origin/next' into feat/max-msg-fee-config 2020-08-12 21:55:03 +02:00
Łukasz Magiera
491e24c90a
Merge pull request #2994 from filecoin-project/ingar/retrieval-logging
Generate more useful output during client retrieval
2020-08-12 20:36:14 +02:00
Ingar Shu
8f56814ffb
Change formatting, stringify errors before returning over JSONRPC 2020-08-12 10:54:15 -07:00
Łukasz Magiera
d0147aa50f Add maxFee param to MpoolPushMessage 2020-08-12 19:06:16 +02:00
Sami Mäkelä
5791765526 these were mixed up 2020-08-12 17:48:36 +03:00
Jakub Sztandera
f2e89e6b16
Set charset to UTF-8 in compute state output
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-12 16:38:32 +02:00
Sami Mäkelä
ac6e716ebd merge 2020-08-12 14:12:33 +03:00
Jakub Sztandera
d6f9383528
Merge pull request #2979 from filecoin-project/feat/mpool-optimal-seletion
nearly optimal message pool seletion
2020-08-11 23:45:43 +02: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
Dirk McCormick
a881e58cd6 refactor: use special type for paych wait sentinel 2020-08-11 10:45:45 -04:00
Jakub Sztandera
b309e80e41
Wire in Ticket Quality to MpoolSelect
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-11 16:14:27 +02:00
Łukasz Magiera
878b8c7678 Fix buildall 2020-08-11 10:22:49 +02:00
Aayush Rajasekaran
5e54219be9 fix spelling 2020-08-11 01:10:12 -04:00
whyrusleeping
347ed154b8 more informative chain list 2020-08-10 16:22:02 -07:00
Łukasz Magiera
a193feec06 gofmt 2020-08-08 00:42:08 +02:00
whyrusleeping
fbe206f843 add command to view circulating supply 2020-08-07 12:57:03 -07:00
刘林欣
4bf932a4d7 show deal list when StateMarketStorageDeal not found deal 2020-08-07 19:43:38 +02:00
Aayush Rajasekaran
c748dea537 Fix send CLI 2020-08-07 02:37:08 -04:00
Łukasz Magiera
07bf155295 Merge remote-tracking branch 'origin/next' into feat/dyn-base-fee 2020-08-06 23:41:54 +02:00
Jakub Sztandera
ab08858b45
Delete GasPrice from this world
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-06 23:08:42 +02:00
Łukasz Magiera
f8a6e4dce7
Merge pull request #2878 from filecoin-project/feat/better-localnet-docs
Feat/better localnet docs
2020-08-06 22:52:59 +02:00
whyrusleeping
3042183825 allow wallet import to set default address 2020-08-06 13:34:11 -07:00
Dirk McCormick
2de0c9cb1a fix: make 'lotus paych get' block until funds available 2020-08-06 14:54:17 -04:00
Łukasz Magiera
e54a87f91b
Merge pull request #2838 from filecoin-project/feat/message-pool-selection
New message pool selection logic
2020-08-06 20:19:35 +02:00
Dirk McCormick
fdfccf0466 WIP: fix payment channel locking 2020-08-06 12:04:10 -04:00
hannahhoward
a89c290f62 feat(markets): update to 0.5.4 2020-08-05 15:35:59 -07:00
vyzo
96b3295307 introduce and use MpoolSelect API 2020-08-05 23:17:14 +03:00
Łukasz Magiera
a7acc81490 miner: Command to dump all miner info 2020-08-04 20:57:48 +02: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
whyrusleeping
82f24d62d4 dont divide by zero if blocks have no messages 2020-08-03 14:03:04 -07:00
whyrusleeping
883b8467b5 fix spacing 2020-08-01 23:26:52 +02:00
whyrusleeping
65f8fae67a allow chain list to print useful gas statistics 2020-08-01 23:26:52 +02:00
Jakub Sztandera
81a65fe1bc
Swich gas-price to 0 in many places
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-01 16:23:13 +02:00
Łukasz Magiera
90baf06011 gofmt 2020-08-01 09:40:25 +02:00
Łukasz Magiera
e5ca4b22d5 Improve gas price estimator 2020-08-01 09:40:11 +02:00
Łukasz Magiera
b6c9169a87 client cli: Interactive deal command 2020-07-31 18:23:36 +02:00
Łukasz Magiera
4cb4e7c2c2 Merge remote-tracking branch 'origin/master' into next 2020-07-31 14:02:04 +02:00
vyzo
d8ca29dd52 support extended pubsub peer scores 2020-07-31 11:27:22 +03: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
Aayush Rajasekaran
cadf52bb0a Include listen addresses in CLI miner info 2020-07-29 16:34:01 -04:00
Aayush Rajasekaran
b51e2a868b
Merge branch 'next' into feat/cid-builder 2020-07-28 21:02:30 -04:00
Łukasz Magiera
c3ff29cd7f
Merge pull request #2560 from filecoin-project/feat/state-root-stat
add command to print state size statistics of actors
2020-07-29 01:08:56 +02: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
Łukasz Magiera
d0f4ede99b Print totals in mpool stat 2020-07-27 18:23:01 +02:00
Łukasz Magiera
64e67df881 Merge remote-tracking branch 'origin/master' into next 2020-07-27 14:00:59 +02:00
Aayush Rajasekaran
df33a16f78 CLI: Optionally include vesting details in msig inspect 2020-07-25 13:00:25 -04:00
Mike Goelzer
b409c8f2be Parse amount as FIL in paych get 2020-07-25 01:54:21 +00:00
whyrusleeping
2cf59a23e7 working on lotus client UX 2020-07-23 18:52:29 -07:00
Travis Person
9b711adfd1 cli: allow setting gas limit in send 2020-07-24 00:23:48 +00:00
whyrusleeping
e85dfc7499 add command to print state size statistics of actors 2020-07-23 15:32:28 -07:00
Łukasz Magiera
7e760f956a
Merge pull request #2522 from filecoin-project/feat/paych-settle
Add CLI commands to settle & collect payment channels
2020-07-23 22:04:57 +02:00
Łukasz Magiera
69cb7f6b03
Merge pull request #2555 from filecoin-project/feat/helptext-helpers
sprinkle some nice helptext returns around
2020-07-23 21:42:26 +02:00
whyrusleeping
fcef3696bc sprinkle some nice helptext returns around 2020-07-23 12:31:28 -07:00
Łukasz Magiera
a4d85a88fe
Merge pull request #2551 from filecoin-project/feat/helptext-helpers
add a helper to make printing helptext on errors easier
2020-07-23 21:26:01 +02:00
whyrusleeping
d547bd9f83 use xerrors.As 2020-07-23 11:48:48 -07:00
whyrusleeping
72fe8cb479 add the actual code 2020-07-23 11:46:22 -07:00
Steven Allen
5fc83f4d05 Refactor to use actor adt types instead of directly using HAMTs and AMTs
This way there's a single source of truth. Preparation for fixing
https://github.com/filecoin-project/specs-actors/issues/517 (requires changing
HAMT parameters).
2020-07-23 09:34:57 -07:00
Łukasz Magiera
c2b7e983bf
Merge pull request #2541 from filecoin-project/feat/better-send
implement method and parameter specification for send
2020-07-23 10:14:19 +02:00
whyrusleeping
5f1da94971 implement method and parameter specification for send 2020-07-22 19:30:51 -07:00
Dirk McCormick
e8ed47410f feat: payment channels CLI commands to settle / collect 2020-07-22 18:05:09 -07:00
Łukasz Magiera
9077cfdddb
Merge pull request #2536 from filecoin-project/feat/mpool-find
implement mpool find cmd
2020-07-23 00:49:16 +02:00
Łukasz Magiera
d962f98a5b
Merge pull request #2507 from filecoin-project/feat/miner-sealing-jobs
miner: sealing jobs command
2020-07-23 00:47:59 +02:00
whyrusleeping
4191e25038 implement mpool find cmd 2020-07-22 15:07:02 -07:00
whyrusleeping
711850fb22 implement mpool replace command 2020-07-22 14:19:59 -07:00
Whyrusleeping
8c4d7b431b
Merge pull request #2511 from filecoin-project/feat/retrieval-fixes
a few improvements and fixes for the retrieval CLI
2020-07-21 17:21:54 -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
Anton Evangelatov
54f1f6b8c9 use io.Writer 2020-07-21 19:23:25 +02:00
Łukasz Magiera
ff3236ef36 miner: Group CLI commands 2020-07-21 19:19:47 +02:00
Anton Evangelatov
9154939d8f expose ComputeStateHTMLTempl 2020-07-21 18:47:38 +02:00
Łukasz Magiera
e21ea5355f
Merge pull request #2497 from filcloud/issue-2494
only show updated env
2020-07-21 12:58:01 +02:00
Frank
a59ee872ff only show updated env 2020-07-21 16:11:01 +08:00
Jim Pick
3e00885ba6
Spelling fix 2020-07-20 18:30:21 -07:00
whyrusleeping
42a7cb1248 fix a few multisig cli issues 2020-07-20 17:17:53 -07:00
Łukasz Magiera
66c44d24ff
Merge pull request #2484 from filecoin-project/feat/gas-estim
Add gas estimation
2020-07-21 01:09:16 +02:00
Jakub Sztandera
7da629d03b
Update gas prices
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-20 21:31:05 +02:00
Jakub Sztandera
310fa67f9d
Add gas estimation
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-20 19:48:30 +02:00
Łukasz Magiera
217890c822 client: Pretty print fil amounts in list-deals 2020-07-20 19:02:52 +02:00
Łukasz Magiera
a06e685cfc
Merge pull request #2450 from filecoin-project/feat/seed-msig-work
Feat/seed msig work
2020-07-18 00:21:45 +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
Mike Greenberg
d30e120608 Merge branch 'master' into fix/master-merge
* master:
  fix(chainwatch): Parallel reward persistence; Tighten rpc logging
  fix(chainwatch): Remove --front switch
  feat(chainwatch): Add miner index on top_miners_by_base_reward view
  fix(chainwatch): Backoff processor when no work exists to process
  fix(log): Move metrics and stage updates to debug; Add --log-level switch
  fix(chainwatch): Correct index name on state_height view
  feat(chainwatch): Capture base_block_reward per epoch; Top miner by reward view
  SwapSigner API methods
  refactor: remove unused code
  refactor: wire up new processor and syncer
  refactor: implement processor and syncer

 Conflicts:
        Makefile
        cmd/lotus-chainwatch/storage.go
        cmd/lotus-chainwatch/sync.go
2020-07-17 15:18:33 -04:00
Łukasz Magiera
56d13534b4 ProvingSet -> ActiveSectors 2020-07-17 16:26:48 +02:00
Łukasz Magiera
bbc2657023 Fix StateMinerProvingSet 2020-07-17 16:21:00 +02:00
Łukasz Magiera
cb6767a02b Merge remote-tracking branch 'origin/next' into feat/actors-miner-refactor 2020-07-17 15:18:11 +02:00
whyrusleeping
fe4a8dc183 finish integration of multisig genesis accounts 2020-07-16 19:50:13 -07:00
Aayush Rajasekaran
605560a981 SwapSigner API methods 2020-07-15 21:54:18 -04:00
Jakub Sztandera
7b14d445b4
Update message gas limits
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-15 20:01:57 +02:00
Łukasz Magiera
c1233291bc Merge remote-tracking branch 'origin/master' into next 2020-07-15 19:47:27 +02:00
Łukasz Magiera
0f2043d874
Merge pull request #2317 from filcloud/issue-2304
fix issue 2304: ux improvements
2020-07-15 19:38:35 +02:00
Raúl Kripalani
0484496d92 Merge branch 'next' into mock-clock 2020-07-14 18:08:26 +01:00
Łukasz Magiera
faebc4c948 WIP Integrating specs-actors with refactored miner state 2020-07-14 13:45:45 +02:00
Aayush Rajasekaran
17642b5ecb clarify multisig create helptext 2020-07-13 19:50:18 -04:00
Łukasz Magiera
2e4ed57363 Merge remote-tracking branch 'origin/master' into next 2020-07-13 13:34:56 +02:00
Łukasz Magiera
3f017688c7
Merge pull request #2377 from filecoin-project/asr/msig-api
API improvements
2020-07-13 13:24:09 +02:00
Raúl Kripalani
973dbd6a13 Merge branch 'next' into mock-clock 2020-07-13 11:29:53 +01:00
Aayush Rajasekaran
1a5c20ca75 CLI/API improvements 2020-07-13 01:13:56 -04:00
Aayush Rajasekaran
858513559b API improvements 2020-07-11 23:54:58 -04:00
Aayush Rajasekaran
12b63d59b2 Include unlock duration as a param for multisig creation 2020-07-11 23:54:58 -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
Raúl Kripalani
13de81b3b2 introduce the ability to mock time. 2020-07-10 15:51:45 +01:00
Frank
5dfb8c9474 add deprecation support 2020-07-10 20:18:09 +08: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
Frank
ce0f9922ee Update lotus-seal-worker to lotus-worker 2020-07-09 11:04:45 +08:00
Frank
5b9baba900 fix issue 2304: ux improvements 2020-07-09 10:20:25 +08: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
Hannah Howard
fe73c9fb71
Merge pull request #2240 from filecoin-project/feat/api-verif-cap
StateAPI for Verified Data Cap
2020-07-08 01:02:18 -07:00
Aayush Rajasekaran
20c80f977c Rename state compute's height flag to vm-height 2020-07-07 17:40:57 -04: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
Łukasz Magiera
e7aec53631 Merge remote-tracking branch 'origin/master' into next 2020-07-06 23:02:24 +02:00
whyrusleeping
0964c0a8a1 error out when trying to create multisig with no addresses 2020-07-06 09:40:56 -07:00
Łukasz Magiera
4b0ae7ef9a Merge remote-tracking branch 'origin/master' into next 2020-07-06 11:38:19 +02:00
whyrusleeping
16e493a67a provide decoded return values in output of StateWaitMsg 2020-07-03 09:57:58 -07: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
cfdbc2312d Merge branch 'master' into next 2020-07-01 11:22:57 +02:00
Raúl Kripalani
4f9c907248 rename build.{BlockDelay=>BlockDelaySecs}.
Since this global is not typed as a time.Duration,
rather as an int, it makes sense to clarify the unit.
2020-06-30 14:26:49 +01:00
Raúl Kripalani
0fddf3e114 make system constants configurable as vars.
This configurability is unlocked through the `testground`
build tag, which Project Oni will uses.

Changes in the usage places of these relaxed constants
were required due to the fact that Golang constants are
untyped, but vars aren't.

Read https://blog.golang.org/constants for more info.
2020-06-30 14:18:26 +01:00
Łukasz Magiera
24529bf35d Merge branch 'next' into feat/specs-actors-v0.7.0 2020-06-29 22:45:50 +02:00
Łukasz Magiera
6893dbb657 api: MsigCrate required param is now uint64 2020-06-26 15:52:22 +02:00
Łukasz Magiera
a7c372efff storage-fsm updates for sector packing 2020-06-26 15:13:18 +02:00
Aayush Rajasekaran
e3c897fb68 Change StateReadState to take an address, not an actor 2020-06-25 13:49:15 -04: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
Łukasz Magiera
ab4c11c096 Merge remote-tracking branch 'origin/master' into next 2020-06-16 12:04:29 +02:00
Jakub Sztandera
8039701f9e
Use extra field in gastrace
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-15 19:52:04 +02:00
Whyrusleeping
87e5c38e32
Merge pull request #1952 from laser/feat/805-warn-lotus-balance
display a little inline warning if balance is zero
2020-06-15 09:19:00 -07:00
Jakub Sztandera
a23a87a17f
Add virtual gas
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-15 16:18:05 +02:00
Łukasz Magiera
7296ce7287 Merge remote-tracking branch 'origin/next' into feat/merge-master 2020-06-15 14:40:29 +02:00
Łukasz Magiera
70c8f7b1ee Merge remote-tracking branch 'origin/master' into feat/merge-master 2020-06-15 14:38:38 +02:00
Ignacio Hagopian
82c6be14f4
unchecked errs
Signed-off-by: Ignacio Hagopian <jsign.uy@gmail.com>
2020-06-12 22:34:00 -03:00
Łukasz Magiera
fb4ad043dd
Merge pull request #2011 from filecoin-project/feat/more-callers
Expose more callers, ellipsis unimportant ones
2020-06-13 01:55:26 +02:00
Jakub Sztandera
91ea039077
Change ellipsis, more accurate timing
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-12 20:46:04 +02:00
Łukasz Magiera
8e025db656
Merge pull request #2014 from filecoin-project/fix/chain-reorgs-race
fix a potential race with chain reorgs notifees.
2020-06-12 20:35:16 +02:00
Jakub Sztandera
cd69e57a33
Expose more callers, ellipsis unimportant ones
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-12 18:49:29 +02:00
Jakub Sztandera
82eb7786d4
Cleanup lint warnings
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-12 16:25:55 +02:00
Jakub Sztandera
00385acc1d
Remove htmlSafeAttr
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-12 15:26:58 +02:00
Jakub Sztandera
813940762c
Use html/template
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-12 14:46:50 +02:00
Łukasz Magiera
bd25d6db06 compute-state html: Convert to templates 2020-06-12 13:30:35 +02:00
Aayush Rajasekaran
2c401f9041 Improve UX of fetch-params 2020-06-12 01:17:10 -04:00
Jakub Sztandera
071ddf6563
Add aggregate number, add number of bytes for storage calls
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-11 22:25:24 +02:00
Jakub Sztandera
c90d35869b
Add gas tracing
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-11 21:59:39 +02:00
Łukasz Magiera
c8046f4597 Merge branch 'next' of github.com:filecoin-project/go-lotus into next 2020-06-11 18:24:51 +02:00
Jakub Sztandera
491f080a37
Merge remote-tracking branch 'origin/master' into feat/merge-master
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-11 17:59:27 +02:00
Łukasz Magiera
c9a845d3aa Merge remote-tracking branch 'origin/master' into next 2020-06-11 16:29:26 +02:00
Jakub Sztandera
c3f23ddce8
Refactor ExecutionResult to ExecutionTrace
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-11 15:53:47 +02:00
waynewyang
41066bd45e Add flag for cli slash-consensus 2020-06-11 19:20:11 +08:00
waynewyang
27858506ff error check 2020-06-11 12:31:32 +02: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
waynewyang
e2d2af3afa error check 2020-06-10 20:34:04 +08:00
Aayush Rajasekaran
5cf76ba8b3 Create an api.MinerInfo that has peerID as a Peer ID 2020-06-09 19:07:53 -04: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
laser
751bc45bef display a little inline warning if balance is zero 2020-06-08 12:20:44 -07:00
Łukasz Magiera
3b56288a5e Merge remote-tracking branch 'origin/master' into next 2020-06-08 18:29:36 +02:00
Aayush Rajasekaran
49b27da426 Add delete functionality to the wallet 2020-06-07 19:36:01 -04: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
Łukasz Magiera
33a00ab9e5
Merge pull request #1938 from filecoin-project/deps/spect-actors-upd
Update specs-actors
2020-06-06 00:31:09 +02:00
laser
a80dce2e3b move to client command 2020-06-05 14:22:29 -07:00
laser
963e4dd2fc set a Base32 default explicitly 2020-06-05 13:52:36 -07:00
Łukasz Magiera
a5d81c6cc9
Merge pull request #1932 from filecoin-project/feat/chainget-state
chain get: @state selector to prettify actor state
2020-06-05 22:42:36 +02: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
laser
4855045ea2 pass context to paramfetch.GetParams
Fixes #1209
2020-06-05 10:28:00 -07:00
Łukasz Magiera
6b06ae528c chain get: @state selector to prettify actor state 2020-06-05 17:41:21 +02:00
Łukasz Magiera
813961b458 compute-state html: Allow linking to internal executions 2020-06-05 14:57:37 +02:00
Łukasz Magiera
5aafa91e22
Merge pull request #1898 from filecoin-project/deps/update
Update CLI lib
2020-06-04 23:45:39 +02:00
Łukasz Magiera
f9f0d86ddf
Merge pull request #1913 from acruikshank/feat/1853-confirmations-in-StateWaitMsg2
Add confidence and timeout to message wait
2020-06-04 23:23:15 +02:00
acruikshank
ea111b058e imports 2020-06-03 22:34:57 -04:00
Jakub Sztandera
29dbc26dbd
Update cli
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-04 01:01:41 +02:00
acruikshank
04f0130530 remove timeout 2020-06-03 17:42:06 -04:00
acruikshank
5574e4f11b add confidence and timeout to message wait 2020-06-03 15:38:37 -04:00
Jakub Sztandera
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
Jakub Sztandera
673a972fe9
Merge remote-tracking branch 'origin/master' into next
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-02 22:49:27 +02:00
Łukasz Magiera
3595b1f8e9 compute-state html: Add timing for internal executions 2020-06-02 22:06:03 +02:00
Łukasz Magiera
64f4e80446 Include build type in version 2020-06-01 20:49:39 +02:00
Łukasz Magiera
785eeb1eee
Merge pull request #1850 from filecoin-project/chore/lint
Cleanup many lint warnings
2020-05-29 18:06:06 +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
Jakub Sztandera
b372881e91
Fix more lint warnings
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-28 01:15:19 +02:00
Jakub Sztandera
d6615b6286
Cleanup many lint warnings
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-27 22:53:20 +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
Jeromy
805686be2e Add command to sort miners by deal counts 2020-05-21 15:52:20 -07:00
Łukasz Magiera
f7325a69c1 Extract auth utils to go-jsonrpc 2020-05-20 20:37:45 +02:00
Łukasz Magiera
eeca031525 extract lib/jsonrpc to go-jsonrpc 2020-05-20 19:49:09 +02:00
Łukasz Magiera
267368d56c
Merge pull request #1767 from filecoin-project/feat/html-trace-improvements
add tipset key and height to html trace output
2020-05-20 12:48:05 +02:00
Jeromy
607bcc401c very basic api documentation autogeneration 2020-05-18 17:20:54 -07:00
Whyrusleeping
7fd481ea6f
Merge pull request #1766 from filecoin-project/feat/chain-get-decoders
Feat/chain get decoders
2020-05-18 16:06:41 -07:00
Aayush Rajasekaran
8f6c3c2cc7 prevent client list-deals from crashing 2020-05-18 17:44:00 -04:00
Jeromy
d9502693f0 add tipset key and height to html trace output 2020-05-16 12:53:51 -07:00
Jeromy
72eb32ae3c add additional chain get decoders 2020-05-16 12:41:04 -07:00
Łukasz Magiera
b3fc18c988
Merge pull request #1721 from filecoin-project/feat/cli-help-ux
cli: Improve lotus helptext
2020-05-13 20:41:26 +02:00
Jeromy
4f624465c2 make the wait-msg cli print out pretty printed return values 2020-05-13 10:53:02 -07:00
Łukasz Magiera
41c019b3d2 cli: Improve lotus helptext 2020-05-13 13:08:59 +02:00
Aris
e7065df2d4 Added RPC calls for MsigCreate, MsigPropose, MsigApprove, and MsigCancel 2020-05-11 10:27:48 -04:00
Łukasz Magiera
4cd861eb87 chain bisect: json-marshar the correct thing 2020-05-08 21:55:26 +02:00
Łukasz Magiera
479a456279 chain bisect: Improve errors 2020-05-05 18:18:52 +02:00
Łukasz Magiera
65752a9cc4 compute-state: html: Hash links to invocations 2020-05-04 20:30:27 +02:00
Łukasz Magiera
8770cf2f4b compute-state: html: Show top-level message CID 2020-05-04 20:19:01 +02:00
Łukasz Magiera
2e0a3fca1a compute-state: decode returns/params 2020-05-04 20:12:58 +02:00
Łukasz Magiera
4f959adbc8 compute-state: html: Print invocation duration 2020-05-04 19:19:23 +02:00
Łukasz Magiera
de701a06de compute-state: html: decode code / method names 2020-05-04 18:48:50 +02:00
Łukasz Magiera
2a2b63086a compute-state: Add html output option 2020-05-04 18:07:43 +02:00
Jeromy
e345525672 Add flag to specify deal start epoch 2020-04-30 10:51:08 -07:00
Łukasz Magiera
a0bdf95845 ipfsclient: Add some docs 2020-04-30 13:21:51 +02:00
Łukasz Magiera
be439d3b13 Merge remote-tracking branch 'origin/master' into testnet/3 2020-04-30 13:03:08 +02:00
Łukasz Magiera
cb5e5a1325 mpool cli: --local flag 2020-04-29 21:52:04 +02:00
Łukasz Magiera
2ead8c089e Merge pull request #1631 from filecoin-project/feat/on-chain-deal-states
add on-chain deal information to client list-deals output
2020-04-29 00:21:01 +02:00
laser
160bc0676f add on-chain deal information to client list-deals output 2020-04-28 11:37:20 -07:00
Jeromy
bfa93bb933 add script to run a local devnet, and helper command 2020-04-27 15:26:46 -07:00
Aayush Rajasekaran
fa1b559b2c CLI: multisig approve needs to recreate proposal hash 2020-04-26 19:47:18 -04:00
Aayush Rajasekaran
c3b1cf19a4 Actually use the multisig source flag 2020-04-25 01:55:10 -04:00
Aayush Rajasekaran
1565e10fff Allow users to specify sender when creating multisigs 2020-04-25 01:55:10 -04: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
Whyrusleeping
c4302ddc1f Merge pull request #1581 from filecoin-project/fix/send-msg-cid
make send print its cid
2020-04-22 20:11:56 -07:00
Jeromy
42c5c6b4e4 make send print its cid 2020-04-22 19:57:11 -07:00
Łukasz Magiera
b621754514 cli: state lookup --reverse 2020-04-22 18:38:09 +02:00
Łukasz Magiera
8be9494672 windowed post: Get correct sector set 2020-04-21 19:22:53 +02:00
Łukasz Magiera
fcc51f3591 cli: Support --tipset in chain get /pstate 2020-04-21 17:07:12 +02:00
Łukasz Magiera
c2806fe189 cli: allow specyfying tipset by @height 2020-04-21 17:06:54 +02:00
Łukasz Magiera
a86595bc88 Use nicer DeadlineInfo struct 2020-04-20 19:34:08 +02:00
Łukasz Magiera
712e2683d6 miner: proving info commands 2020-04-18 00:02:18 +02:00
Łukasz Magiera
93b2b6d65d Merge branch 'testnet/3' into feat/windowed-post 2020-04-17 18:38:20 +02:00
Łukasz Magiera
ebc2895d15 gofmt, mod tidy 2020-04-17 18:27:11 +02:00
Łukasz Magiera
95bd55b754 Merge pull request #1544 from dayu26/interopnet_dy
fix error "unknown address protocol" when run lotus msig create in cli/…
2020-04-17 18:25:13 +02:00
Łukasz Magiera
f7666bc641 Drop commented-out code 2020-04-17 18:24:23 +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
Łukasz Magiera
85993848be bring back api.StateMinerProvingSet 2020-04-15 22:40:46 +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
Da Yu
2a10a79460 fix error unknown address protocol when run lotus msig create in cli/mutisig.go 2020-04-14 17:18:19 +08:00
Łukasz Magiera
bb3789b130 Fix ADT uses 2020-04-13 23:06:11 +02:00
Łukasz Magiera
ac8aaf2739 chain cli: Update slash-consensus cmd 2020-04-13 23:05:16 +02:00
Aayush Rajasekaran
17e9feb633 Sever the API's dependency on VM 2020-04-08 18:27:31 -04:00
Łukasz Magiera
9a7aa3fc87 chain get: @Hu: for uvaring hamt keys 2020-04-04 03:49:42 +02:00
Łukasz Magiera
67a47f428f Merge pull request #1492 from filecoin-project/feat/wallet-import-gfc
allow wallet import to import keys in go-filecoin key format
2020-04-02 00:04:22 +02:00
Jeromy
fb287e8385 allow wallet import to import keys in go-filecoin key format 2020-04-01 15:01:14 -07:00
Jakub Sztandera
d88c2f8a43 Add Replace by Fee
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-01 22:26:14 +02:00
Łukasz Magiera
f6c260c49f Merge pull request #1484 from filecoin-project/fix/interop-improvements
several fixes and improvements while debugging interop
2020-04-01 17:51:42 +02:00
Jeromy
417d434973 several fixes and improvements while debugging interop 2020-03-31 18:35:23 -07:00
Łukasz Magiera
77a84e7e6b Merge remote-tracking branch 'origin/testnet/3' into feat/chain-get-pstate 2020-04-01 02:09:33 +02:00
Łukasz Magiera
4ae1238c0c chain get: /pstate prefix 2020-04-01 02:06:26 +02: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
Travis Person
838a50be39 Increase low gas limits everywhere to 10000 2020-03-27 03:24:35 +00:00
Łukasz Magiera
ae69e0fef1 seal-worker: Task type flags 2020-03-25 22:15:10 +01:00
Łukasz Magiera
91c640197c cli: auth api-info 2020-03-25 21:42:24 +01:00
Łukasz Magiera
201d0a4b19 Merge remote-tracking branch 'origin/testnet/3' into feat/new-workers 2020-03-25 01:02:23 +01:00
Aayush Rajasekaran
d350a9d415 Re: #1412: Add a non-blocking version of StateWaitMsg
- This commit adds a new method called StateSearchMsg
- We can probably overhaul StateWaitMsg onto this new method at a later point in time
2020-03-24 06:43:15 -04:00
Jim Pick
bc914de388 Error message spelling fixes 2020-03-23 23:54:39 -07:00
Łukasz Magiera
80d0f1f2c1 storageminer: Cleanup CLI 2020-03-23 13:29:24 +01:00
Łukasz Magiera
1ed7779701 Merge remote-tracking branch 'origin/testnet/3' into feat/new-workers 2020-03-19 03:28:55 +01:00
whyrusleeping
ddf1beac6c change gas limit to be a normal int64 2020-03-18 13:45:37 -07:00
Łukasz Magiera
e6ec20b4ca Merge branch 'testnet/3' into feat/new-workers 2020-03-13 17:58:13 +01:00
Łukasz Magiera
eb61a36fd7 workers: RPC scaffolding 2020-03-11 02:58:02 +01:00
Travis Person
6faffd832c cli: add cbor-hex type to chain get 2020-03-10 23:12:10 +00:00
Whyrusleeping
8be9134e32 Merge pull request #1378 from filecoin-project/feat/clean-up-spec-shim
squash the spec shim and the vmcontext into the new runtime type
2020-03-09 22:28:07 -07:00
whyrusleeping
85e17fa5b0 fix state cid accounting after 'Transaction' calls 2020-03-09 22:20:46 -07:00
Łukasz Magiera
2bf9f10f16 mpool stat: sort by address 2020-03-10 01:44:15 +01:00
Łukasz Magiera
e396454138 shed: auto mode for nonce-fix 2020-03-10 01:26:10 +01:00
Łukasz Magiera
26374e2644 cli: Handle sighup 2020-03-09 23:03:33 +01:00
Łukasz Magiera
13a8e2c09d chain get: hamt-address type 2020-03-09 07:45:24 +01:00
Whyrusleeping
3a94d9d176 Merge pull request #1354 from filecoin-project/feat/state-compute-trace
implement compute state trace output
2020-03-08 21:22:40 -07:00
Travis Person
9216a1eb07 Add more chain get types 2020-03-09 03:16:43 +00:00
whyrusleeping
4260cc38c9 implement compute state trace output 2020-03-08 20:07:25 -07:00
Łukasz Magiera
cb1e797d72 Merge pull request #1353 from filecoin-project/feat/merge-master
Merge master back into testnet/3
2020-03-08 09:05:46 +01:00
whyrusleeping
24bf720a9a Merge branch 'master' into testnet/3 2020-03-07 16:46:12 -08:00
Whyrusleeping
c553a6f458 Merge pull request #1349 from filecoin-project/feat/chain-get-types
add some type info to chain get
2020-03-07 16:10:00 -08:00