lotus/cmd/lotus-storage-miner
Steven Allen d3594835c4 [WIP] Network upgrade support
This patch starts adding support for network upgrades.

* It adds an actors abstraction layer for loading abstract (cross-version) actors.
* It starts switching over to a shared deadline type.
* It adds an abstraction for ADTs (hamt/amt).
* It removes the callback-based API in the StateManager (difficult to abstract
across actor versions).
* It _does not_ actually add support for actors v2. We can do that in a followup
patch but that should be relatively easy.

This patch is heavily WIP and does not compile. Feel free to push changes
directly to this branch.

Notes:

* State tree access now needs a network version, because the HAMT type will change.
* I haven't figured out a nice way to abstract over changes to the _message_
types. However, many of them will be type aliased to actors v0 in actors v2 so
we can likely continue using the v0 versions (or use the v2 versions
everywhere). I've been renaming imports to `v0*` to make it clear that we're
importing types from a _specific_ actors version.

TODO:

* Consider merging incremental improvements? We'd have to get this compiling
again first but we could merge in the new abstractions, and slowly switch over.
* Finish migrating to the new abstractions.
* Remove all actor state types from the public API. See `miner.State.Info()` for
the planned approach here.
* Fix the tests. This is likely going to be a massive pain.
2020-09-11 20:16:29 -07:00
..
actor.go Update to specs v0.9.6 2020-09-07 15:48:41 -04:00
config.go gofmt 2020-08-18 18:27:28 +02:00
info_all.go Lint everything 2020-08-20 20:46:36 -07:00
info.go Update to specs v0.9.6 2020-09-07 15:48:41 -04:00
init.go Update to specs v0.9.6 2020-09-07 15:48:41 -04:00
main.go feat(lotus-miner): add data transfer list cmd 2020-08-20 01:35:48 -07:00
market.go Update to specs v0.9.6 2020-09-07 15:48:41 -04:00
pieces.go wire through new retrieval apis 2020-07-31 01:47:37 -04:00
proving.go [WIP] Network upgrade support 2020-09-11 20:16:29 -07:00
retrieval-deals.go Add "retrieval-deals list" miner CLI 2020-08-05 17:27:15 +02:00
run.go update deps for bug fixes 2020-08-25 17:06:07 -07:00
sealing.go sectorstorage: Compact assigned windows 2020-08-28 18:26:38 +02:00
sectors.go Update to specs v0.9.6 2020-09-07 15:48:41 -04:00
stop.go update storage miner and seal worker document 2020-07-11 16:55:13 +08:00
storage.go Update to specs v0.9.6 2020-09-07 15:48:41 -04:00