Łukasz Magiera
f8b132890c
Add verbose mode to lotus-miner pieces list-cids
2021-11-29 17:19:47 +01:00
Jakub Sztandera
4d8be81a8f
Add usage
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-11-26 15:01:05 +01:00
Jakub Sztandera
e3c7b8d006
Fix typo
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
2021-11-26 14:42:18 +01:00
Jakub Sztandera
af113f867d
Add dump code
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-11-25 20:53:49 +01:00
Łukasz Magiera
b522901845
update storage attach allowTo usage
2021-11-23 16:23:06 +01:00
Łukasz Magiera
e362d47903
Add optional group flags to storage attach commands
2021-11-23 16:11:04 +01:00
Łukasz Magiera
b1781c33ce
Show group info in storage list
2021-11-23 16:11:04 +01:00
Łukasz Magiera
51753a1e25
Merge pull request #7414 from filecoin-project/feat/shed-wallet-balancer
...
shed: simple wallet balancer util
2021-11-22 18:11:42 +01:00
Łukasz Magiera
0262f1cd6e
shed: simple wallet balancer util
2021-11-22 14:29:23 +01:00
Łukasz Magiera
81a2f2f06d
Merge pull request #7329 from filecoin-project/feat/lotus-stats-update
...
Add caches to lotus-stats and splitcode
2021-11-22 12:44:00 +01:00
Łukasz Magiera
9adaa9b967
lotus-shed msg: Decode submessages/msig proposals
2021-11-17 23:10:14 +01:00
Aayush Rajasekaran
1449644c34
Integrate v7 actors
2021-11-17 15:55:14 -05:00
Aayush Rajasekaran
495f08473d
Shed: Add a util to list miner faults
2021-11-07 23:33:37 +00:00
Aayush Rajasekaran
3be0c068b9
Shed: Add a util to create miners more easily
2021-11-03 00:20:48 +00:00
Travis Person
2d4f5958e2
Add caches to lotus-stats and splitcode
2021-11-01 09:05:14 +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
Aayush Rajasekaran
e1deed3b1a
Merge pull request #7544 from filecoin-project/asr/shed
...
Shed: Add a util to find miner based on peerid
2021-10-20 17:55:16 -07:00
Łukasz Magiera
f7884c4f45
Merge pull request #7527 from filecoin-project/feat/show-prepared-waitres
...
Show prepared tasks in sealing jobs
2021-10-20 15:22:35 +01:00
Aayush Rajasekaran
9ba7f372cd
Shed: Add a util to find miner based on peerid
2021-10-19 18:46:09 -07:00
Łukasz Magiera
ba171954b4
Merge pull request #7479 from filecoin-project/feat/prov-check-by-storage
...
Add storage-id flag to proving check
2021-10-19 10:06:30 +01:00
Łukasz Magiera
261238e157
Show prepared tasks in sealing jobs
2021-10-18 18:44:56 +02:00
Jennifer Wang
d1e15e61d0
Merge branch 'release/v1.12.0' into jen/12-master
2021-10-11 14:37:32 -04:00
Jennifer Wang
16743a25c2
print confidence in decimal
2021-10-11 12:34:51 -04:00
dirkmc
f9433811c7
Merge pull request #7454 from filecoin-project/nonsense/retry-in-publish-deal
...
itests: retry deal when control addr is out of funds
2021-10-11 15:14:27 +02:00
Jakub Sztandera
61e1297cc7
gofmt
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-10-11 08:24:55 -04:00
Jakub Sztandera
e40c7b7a86
Fix withdrawn amount equiality check
...
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
2021-10-11 08:24:33 -04:00
Jakub Sztandera
177033d0f2
Fix withdrawn amount equiality check
...
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
2021-10-11 08:24:24 -04:00
Aayush Rajasekaran
cab724841a
Update cmd/lotus-miner/actor.go
...
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
2021-10-11 08:24:00 -04:00
Aayush Rajasekaran
2241f02621
Bugfix: actor withdraw CLI should depend on network version
2021-10-11 08:23:53 -04:00
Jakub Sztandera
5abba9ca9f
gofmt
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-10-11 14:10:06 +02:00
Anton Evangelatov
1acb6b4328
update CLI command to take arg; reduce time for itest
2021-10-11 14:03:56 +02:00
Anton Evangelatov
6e5ccc87cf
cli: add retry for deals stuck in Publish with no funds
2021-10-11 14:03:55 +02:00
Jakub Sztandera
8533ae0032
Fix withdrawn amount equiality check
...
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
2021-10-11 14:03:28 +02:00
Jakub Sztandera
90ff1d3ccf
Fix withdrawn amount equiality check
...
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
2021-10-11 14:03:21 +02:00
Aayush Rajasekaran
be774f55ce
Update cmd/lotus-miner/actor.go
...
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
2021-10-10 10:40:22 -04:00
Aayush Rajasekaran
e158b1d1e4
Bugfix: actor withdraw CLI should depend on network version
2021-10-09 20:17:03 -04:00
Łukasz Magiera
bfcfb199a0
Add storage-id flag to proving check
2021-10-08 14:56:08 +02:00
Peter Rabbitson
8b01725129
Dep upgrade pass
...
Touching just the seemingly non-controversial ones
2021-10-08 12:37:40 +02:00
Aayush Rajasekaran
89db4235ce
Shed: Add a util to find the most recent null tipset
2021-10-06 19:37:35 -04:00
Jennifer Wang
38e01cba83
Merge branch 'release/v1.12.0' into jen/12tomaster
2021-10-04 02:38:00 -04:00
Aayush Rajasekaran
a335cb3767
Update to latest actors
2021-10-01 17:11:05 -04:00
Łukasz Magiera
a8a9818043
Expose storage states on the metrics endpoint
2021-10-01 14:45:01 +02:00
Łukasz Magiera
95e8b59367
Merge pull request #7341 from filecoin-project/mg/feat/panic-reporter
...
feat: Catch panic to generate report and reraise
2021-10-01 10:50:19 +01:00
Mike Greenberg
2f8a2fc907
fix: Update lotusminer default paths
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2021-09-30 09:06:55 -04:00
Aayush Rajasekaran
2bafdf7271
Modify tooling to support new WithdrawBalance return
2021-09-29 13:01:04 -04:00
Aayush Rajasekaran
c3c46e9097
Fix Drand fetching around null tipsets
2021-09-29 11:57:59 -04:00
Łukasz Magiera
83c8e981b4
lotus shed: fr32 utils
2021-09-27 18:31:36 +02:00
Łukasz Magiera
53a9dd5da4
Add more info to miner allinfo command
2021-09-24 12:02:06 +02:00
Łukasz Magiera
0e7e665e6d
Merge pull request #7312 from filecoin-project/nonsense/crossref-datatransfer-storagedeal
...
add `lotus-miner storage-deals list --format=json` with transfers
2021-09-24 10:57:59 +01:00
Aarsh Shah
a80bc34d59
fix build
2021-09-21 15:23:01 +04:00
Mike Greenberg
3508a5b664
chore: Use After hooks and proper args
2021-09-17 18:01:54 -04:00
Aayush Rajasekaran
888b2040de
Miner CLI: Allow trying to change owners of any miner actor
2021-09-14 11:50:30 +02:00
Anton Evangelatov
3e10f2e250
make gen
2021-09-10 15:18:32 +02:00
Anton Evangelatov
67dc7523d5
fixup
2021-09-10 15:09:37 +02:00
Anton Evangelatov
caaff9b7af
remove flag
2021-09-10 15:06:51 +02:00
Anton Evangelatov
fe602ab3bb
refactor
2021-09-10 15:05:51 +02:00
Łukasz Magiera
b4a3eb55e1
Show more deal states in miner info
2021-09-10 12:21:33 +02:00
Anton Evangelatov
027c1b5ab8
add lotus-miner storage-deals lwt
2021-09-10 12:21:02 +02:00
Łukasz Magiera
8612d1e824
Add --unproven flag to the sectors list command
2021-09-09 23:29:52 +02:00
Aayush Rajasekaran
16c60914eb
Seed: improve helptext
2021-09-08 15:26:37 -04:00
Łukasz Magiera
dfc039276d
address review
2021-09-07 19:42:52 +02:00
Łukasz Magiera
186c4990dd
Reduce nesting in sectors list command
2021-09-07 18:49:53 +02:00
Łukasz Magiera
e4044151f0
Show deal sizes is sealing sectors
2021-09-07 18:49:53 +02:00
Łukasz Magiera
3c2d854a9e
Merge pull request #7246 from filecoin-project/feat/sectorinfo-partition
...
Add partition info to the 'sectors status' command
2021-09-02 20:22:11 +02:00
Łukasz Magiera
fea430a553
Add partition info to the 'sectors status' command
2021-09-02 20:01:15 +02:00
Łukasz Magiera
727bb84592
stmgr: drop MethdosMap
2021-09-02 18:58:34 +02:00
Łukasz Magiera
30fccaa0bd
fix lint
2021-09-02 18:45:18 +02:00
Łukasz Magiera
95b128b7bc
chain: Cleanup consensus logic
2021-09-02 18:09:37 +02:00
Łukasz Magiera
daaa725e3b
sectors expired: Handle precomitted and unproven sectors correctly
2021-08-31 16:24:29 +02:00
Steven Allen
1cf556c3a2
feat: expose ChainGetPath on the gateway
2021-08-30 16:43:21 -07:00
Łukasz Magiera
22d75f4843
Tweak miner info --blocks output
2021-08-27 13:41:41 +02:00
Łukasz Magiera
4630216c38
Merge branch 'info-blocks' of github.com:filcloud/lotus-mirror into filcloud-info-blocks
2021-08-27 13:20:05 +02:00
Łukasz Magiera
a63f5c8bf2
Merge pull request #7025 from lanzafame/fix/need-empty-storage-json
...
fix: init restore adds empty storage.json
2021-08-27 12:29:27 +02:00
Łukasz Magiera
c19ee58f46
Merge pull request #7194 from filecoin-project/feat/big-data
...
Insert miner and network power data as gibibytes to avoid int64 overflows
2021-08-27 11:19:54 +02:00
Travis Person
0e8abc1973
Insert miner and network power data as gibibytes to avoid int64 overflows.
2021-08-27 00:01:44 +00:00
Łukasz Magiera
d6e309aa01
Show alert count in lotus-miner info
2021-08-26 15:45:19 +02:00
Łukasz Magiera
b094e0913d
untangle fsjournal dependencies
2021-08-26 15:44:45 +02:00
Anton Evangelatov
548865e8dd
simplify assignments to vmemBar and ramBar
2021-08-25 11:48:15 +03:00
Anton Evangelatov
0eacb9b9c8
call string.Repeat always with positive int
2021-08-25 11:48:15 +03:00
Aayush Rajasekaran
2495c52b05
Merge pull request #7099 from filecoin-project/asr/verifreg-nonmsig
...
Shed: Create a verifreg command for when VRK isn't a multisig
2021-08-24 21:03:38 -04:00
Łukasz Magiera
5a23c2bb90
sectors expired: Address review
2021-08-24 11:29:25 +02:00
Łukasz Magiera
a9bf24695d
Fix lint
2021-08-23 11:27:34 -07:00
Łukasz Magiera
ccf8844689
lotus-miner sectors expired --remove-expired
2021-08-23 11:27:34 -07:00
Łukasz Magiera
d1759a4335
Show more info in sectors expired cmd
2021-08-23 11:27:34 -07:00
Łukasz Magiera
927ef041f8
miner: Command to list expired sectors
2021-08-23 11:27:34 -07:00
Łukasz Magiera
69204eea04
shed: Support raw encoding in cid id
2021-08-20 17:12:26 +02:00
Frrist
518b6f1d41
fix(miner): always create miner deal staging directory ( #7098 )
...
- fixes #7097
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
Co-authored-by: Raúl Kripalani <raul@protocol.ai>
2021-08-17 00:16:06 +01: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
raulk
473a192b85
fix build after merging #6097 . ( #7096 )
...
fix build after merging #6097 .
2021-08-16 23:18:32 +01:00
ZenGround0
10615b53ad
Merge pull request #6853 from filecoin-project/frrist/miner-temp-file-path
...
feat(miner deals): create subdir to miner repo for staged deals
2021-08-16 16:19:05 -04:00
ZenGround0
2e5b492edd
Merge pull request #6097 from filcloud/sectors-renew
...
Extending sectors: more practical and flexible tools
2021-08-16 13:50:38 -04:00
Aayush Rajasekaran
90e60f7a98
Shed: Create a verifreg command for when VRK isn't a multisig
2021-08-16 12:56:27 -04:00
He Weidong
b50b1e9ac4
Optimize for ci
2021-08-14 10:41:01 +08:00
He Weidong
c5f81d35f5
minor modification
2021-08-13 13:47:48 +08:00
Raúl Kripalani
5f6166435c
make lotus-miner net commands hit markets subsystem.
2021-08-12 11:15:00 +01:00
Steven Allen
dcff06bd91
test: genesis actors version
...
Properly handle genesis in actors tests. Fast-forward upgrading to
actors v13 doesn't work because there needs to be at least a day between
v0 genesis and v13 (due to differences in miner cron).
2021-08-11 13:30:15 -07:00
swift-mx
d6562bccfc
Merge branch 'filecoin-project:master' into master
2021-08-11 19:25:27 +08:00
mx
46a93bb78a
fix: get other actor controlList
2021-08-11 19:23:37 +08:00
lanzafame
0b8a211e70
fix: init restore adds empty storage.json
2021-08-11 13:36:01 +10:00