Commit Graph

11404 Commits

Author SHA1 Message Date
Peter Rabbitson
a5fd552a0c CachedBlockstore is not referenced as of 3795cc2bd2 2021-04-06 13:24:49 +02:00
Peter Rabbitson
7bced1532b Convert the chainstore lock to RW
High read-API concurrency facilitates multiple calls to GetHeaviestTipSet
which in turn could slow down chainsync.
2021-04-06 13:01:48 +02:00
Łukasz Magiera
c3736f40fe gateway: use correct path in serveRpc 2021-04-06 12:29:11 +02:00
Łukasz Magiera
e8f28d7b9f Fix tests 2021-04-06 12:24:58 +02:00
Łukasz Magiera
79194ccad1
Merge pull request #5967 from filecoin-project/asr/release-master
Merge releases into master
2021-04-06 12:21:42 +02:00
Frank
4403158680 add unset for set-addrs 2021-04-06 11:24:32 +08:00
Aayush Rajasekaran
37ca23d9e2 Merge branch 'releases' into asr/release-master 2021-04-05 17:29:19 -04:00
Aayush Rajasekaran
3fc23a785c Update changelog to 1.6.0 2021-04-05 15:30:28 -04:00
Aayush Rajasekaran
96d7efee6e
Merge pull request #5965 from filecoin-project/release/v1.6.0
Land Lotus v1.6.0
2021-04-05 15:27:43 -04:00
Aayush Rajasekaran
301b5a25fc
Merge pull request #5959 from filecoin-project/asr/changelog
Lotus v1.6.0
2021-04-05 15:24:05 -04:00
Aayush Rajasekaran
f7757376d0
Merge pull request #5924 from filecoin-project/asr/extend-v1-util
Util for miners to extend all v1 sectors
2021-04-05 15:17:02 -04:00
Łukasz Magiera
eee50caaf1 Fix buildall 2021-04-05 20:12:47 +02:00
Łukasz Magiera
81bd27911f Propagate StateMsg api changes 2021-04-05 19:56:53 +02:00
Peter Rabbitson
b8dff22a40 make gen 2021-04-05 19:15:32 +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
Łukasz Magiera
f67bc0b0e7
Merge pull request #5930 from filecoin-project/feat/other-network-images
other network images
2021-04-05 18:28:57 +02:00
Łukasz Magiera
9a2ec07837 storagefsm: Apply global events even in broken states 2021-04-05 18:25:29 +02:00
Łukasz Magiera
0a8d20eb4e
Merge pull request #5957 from filecoin-project/asr/nits
State CLI improvements
2021-04-05 18:09:01 +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
Łukasz Magiera
deb2b90b6a Fix lotus/miner build 2021-04-05 13:23:46 +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
a49b21b94a Lotus version 1.6.0 2021-04-04 21:34:20 -04: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
Aayush Rajasekaran
72c410cd8f Address review on v1 sector extension tool 2021-04-03 22:19:36 -04:00
Aayush Rajasekaran
01bf3a89f4 Add checks to v1 extension util 2021-04-03 16:54:16 -04:00
Aayush Rajasekaran
b734e5a232 Miner CLI: If performing read-only operations on a foreign miner, miner API isn't needed 2021-04-03 16:54:16 -04:00
Aayush Rajasekaran
ded4ff43f4 Allow miners to extend all v1 sectors 2021-04-03 16:54:16 -04:00
Aayush Rajasekaran
4600b51330
Merge pull request #5929 from filecoin-project/update/ntwk-butterfly
Update butterfly network upgrade
2021-04-03 16:53:55 -04:00
Łukasz Magiera
f4e46c9003 implement v1 api with api modules 2021-04-03 13:20:50 +02:00
Łukasz Magiera
09c374cdde api stub codegen 2021-04-03 13:12:59 +02:00
Łukasz Magiera
1b32d7f52f cli: fix build with v1 api changes 2021-04-03 12:55:29 +02:00
Łukasz Magiera
0103d2f621 v1 api: Cleanup message wait/search apis 2021-04-02 13:52:24 +02:00
Frank
0fe705605e fix 4857: show help for set-addrs 2021-04-02 19:25:36 +08: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
eede19fb0b
Merge pull request #5917 from filecoin-project/feat/local-retrieval
Local retrieval support
2021-04-02 13:07:00 +02:00
Łukasz Magiera
0cfc76c078
Merge pull request #5891 from filecoin-project/feat/backupds-trunc-log-handling
backupds: Improve truncated log handling
2021-04-02 13:04:11 +02:00
Łukasz Magiera
b68eed906a fix lint 2021-04-02 12:37:20 +02:00
Łukasz Magiera
4538550999 Merge remote-tracking branch 'origin/master' into feat/local-retrieval 2021-04-02 12:36:28 +02:00
Łukasz Magiera
a26ac3b6dc
Merge pull request #5937 from filecoin-project/fix/stg-fetch-close
fix: stores.FetchHandler: defer close file and increase buffer size
2021-04-02 12:35:11 +02:00
Cory Schwartz
3cab4856b1
Merge branch 'master' into feat/other-network-images 2021-04-01 11:22:59 -07:00
Cory Schwartz
38a3aaf936 answer yes to ufw 2021-04-01 11:20:11 -07:00
Łukasz Magiera
cf4128fc78
Merge pull request #5092 from zgfzgf/feat-shed-election
add shed election estimate command
2021-04-01 17:05:09 +02:00
Łukasz Magiera
f372964a60 fix lint 2021-04-01 16:40:11 +02:00
Łukasz Magiera
c7de7882a1 Merge branch 'master' of github.com:ppiaas/lotus-ppiaas into fix/stg-fetch-close 2021-04-01 16:38:17 +02:00
Łukasz Magiera
49be1f3fb9
Merge pull request #5833 from filecoin-project/nonsense/cli-show-deals
add `inspect-deal` command to `lotus client`
2021-04-01 16:33:11 +02:00
Łukasz Magiera
28a8636f0b
Merge pull request #5807 from filecoin-project/asr/remainder-acct-fix
Fix creation of remainder account when it's not a multisig
2021-04-01 16:31:19 +02:00