Łukasz Magiera
d00e1e78bb
resources: Use 32G AP resources for DC
2022-08-29 16:12:02 +02:00
Łukasz Magiera
e4ed3f8cf8
sealing: fix: Make DataCid resource env vars make more sense
2022-08-29 15:57:58 +02:00
Dirk McCormick
964bbca792
fix: DataCid - ensure reader is closed
2022-08-29 10:31:11 +02:00
Łukasz Magiera
45d1bd61ce
Merge pull request #9183 from filecoin-project/feat/sectornum-mgmt
...
feat: sealing: Use bitfields to manage sector numbers
2022-08-26 10:59:24 -04:00
Łukasz Magiera
70f0edd041
strle, sealing: address review
2022-08-25 10:19:39 -04:00
Łukasz Magiera
b8a8648f4a
numassigner: fix lint
2022-08-24 11:38:29 -04:00
Łukasz Magiera
335f5df3ec
numassigner: SectorNumReserveCount
2022-08-24 11:25:37 -04:00
Aayush
5e80276631
fix: mock sealer: grab lock in ReadPiece
2022-08-23 17:24:28 -04:00
nujz
76f6eb3edf
cgroupV1: memory.memsw.usage_in_bytes: no such file or directory
2022-08-23 17:37:47 +08:00
Łukasz Magiera
c18874c122
numassigner: Don't error on fresh non-genesis miners
2022-08-22 17:49:58 -04:00
Łukasz Magiera
129eba2b5d
sealing: numassign: itests/bug fixes
2022-08-22 16:58:36 -04:00
Łukasz Magiera
00bef607ca
sealing: numassign: take on-chain allocated numbers into account
2022-08-22 16:55:44 -04:00
Łukasz Magiera
ef2080a800
cli for managing sector reservations
2022-08-22 16:55:41 -04:00
Łukasz Magiera
ca72590e49
sealing: Use bitfields to manage sector numbers
2022-08-22 16:55:08 -04:00
Łukasz Magiera
2e29b460d2
Merge pull request #9142 from filecoin-project/chore/untangle-fsm
...
sealing pipeline: Remove useless storage adapter code
2022-08-14 15:50:31 -04:00
Łukasz Magiera
77208728ad
sealing: fix lint/tests
2022-08-14 12:50:18 -04:00
Rob Quist
f5086c98e8
fix: Add information on what worker a job was assigned to in logs
...
More detailed logs
2022-08-10 21:33:19 +02:00
Łukasz Magiera
71dacb5af8
sealing pipeline: Remove useless storage adapter code
2022-08-09 13:40:06 +02:00
Łukasz Magiera
fe2a589890
sealing pipeline: Cleanup AddresSelector plumbing
2022-08-09 12:57:36 +02:00
Łukasz Magiera
4b6a9e0387
sealing pipeline: Cleanup journal plumbing
2022-08-09 12:42:35 +02:00
Łukasz Magiera
ca1ff19541
fix: storage: don't panic in getCommitCutoff when precommit is not found
2022-08-09 11:44:40 +02:00
Łukasz Magiera
cb2b4fa4aa
Merge remote-tracking branch 'origin/master' into feat/storage-redeclare
2022-08-05 21:26:15 +02:00
Łukasz Magiera
819314de46
Merge remote-tracking branch 'origin/master' into feat/storage-redeclare
2022-08-05 09:01:30 +02:00
LexLuthr
a59d73d64a
Merge branch 'master' into feat/SchedRemoveRequest
2022-08-04 02:24:14 +05:30
LexLuthr
fad79f3218
respond to caller. Add itest
2022-08-04 02:00:24 +05:30
LexLuthr
cdc08e566f
fix everything pointed as per review
2022-08-04 02:00:24 +05:30
LexLuthr
c736dedfa6
move requestremove inside runSched
2022-08-04 02:00:24 +05:30
LexLuthr
cf78fa99ee
Rebase on master
2022-08-04 01:59:48 +05:30
Łukasz Magiera
da33d82e1b
feat: sealer: Custom worker name config
2022-08-03 12:58:49 +02:00
Łukasz Magiera
4d10adae3c
Merge branch 'hostname_variable' of github.com:clinta/lotus into feat/worker-name-set
2022-08-03 12:40:18 +02:00
Łukasz Magiera
4b47881950
Merge branch 'master' into sbansal/lotus-worker-stop-cmd
2022-08-03 10:42:19 +02:00
Łukasz Magiera
92d27aa6d2
Merge remote-tracking branch 'origin/master' into feat/storage-redeclare
2022-08-03 00:56:23 +02:00
Aayush
784926b2b4
add a test for Post max sectors recovery
2022-08-02 15:28:43 -04:00
Aayush
50c22aef7a
fix: post: restrict recoveries per deadline
2022-08-02 12:32:44 -04:00
Łukasz Magiera
6d2990314f
storage: Fix detaching shared paths
2022-08-02 15:46:35 +02:00
Aayush
650130f9c4
fix: sector counter for recovery
2022-08-01 14:30:20 -04:00
Łukasz Magiera
c215a03edd
feat: wdpost: Envvar for limiting recovering sectors
2022-08-01 16:58:05 +02:00
Łukasz Magiera
3309e10b0d
itests: Test storage detach/redeclare
2022-08-01 15:58:06 +02:00
Łukasz Magiera
d690b49d17
storage: Fix linter warnings
2022-08-01 15:58:06 +02:00
Łukasz Magiera
8cff52aef6
Storage detach/attach in lotus-miner, cli commands
2022-08-01 15:58:06 +02:00
Łukasz Magiera
943d2a72c6
storage: StorageRedeclareLocal on lotus-worker
2022-08-01 15:58:06 +02:00
Łukasz Magiera
f947e65f15
wip storage redeclare/detach
2022-08-01 15:58:06 +02:00
Shrenuj Bansal
dfea74cca8
Add stop cmd for lotus worker
2022-07-29 18:33:30 -04:00
Geoff Stuart
4b79cc68cb
Merge pull request #9043 from filecoin-project/gstuart/hacky-sealing-fix
...
fix: sealing: Workaround for sealing bug
2022-07-18 13:54:03 -07:00
Geoff Stuart
b22e24a95a
Workaround for sealing bug
2022-07-15 11:56:08 -07:00
Aayush Rajasekaran
3353cbe23a
Fixup typos
2022-07-15 08:20:37 -04:00
Łukasz Magiera
db9105e166
storage: Add one more test case to TestFileTypeAnyAllow
2022-07-15 12:47:46 +02:00
Łukasz Magiera
e1b02dd13d
storage: paths: Review suggestions
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
2022-07-15 12:46:20 +02:00
Łukasz Magiera
ac2ea039b5
path index: Raise alerts on bad filter config
2022-07-12 21:45:12 +02:00
Łukasz Magiera
91e474e72e
sealer: Pass correct args to SubAllowed in selectors
2022-07-12 21:45:12 +02:00
Łukasz Magiera
43db2fb8a4
miner cli: Print allow/deny types in storage list
2022-07-12 21:45:12 +02:00
Łukasz Magiera
59d069dc4d
itests: Tests for storage path filters
2022-07-12 21:45:12 +02:00
Łukasz Magiera
cd682e200b
sealer: Fix no-remote move selector
2022-07-12 21:45:12 +02:00
Łukasz Magiera
6ac5c16d2b
storage: Path type filters
2022-07-12 21:45:12 +02:00
Jennifer Wang
8486ae0d51
Merge branch 'releases' into jen/backport
2022-07-11 14:27:26 -04:00
Aayush
c4ad7c81e2
remove mock file
2022-07-07 14:51:21 -04:00
Aayush
d68a60e8d9
feat: recovery: Config for maximum partition count per message
2022-07-07 14:48:37 -04:00
Łukasz Magiera
673f9238be
feat: wdpost: Config for maximum partition count per message
2022-07-07 14:10:31 -04:00
Aayush
770c32c3cb
feat: recovery: Config for maximum partition count per message
2022-07-07 12:46:33 -04:00
Łukasz Magiera
7741175b7d
feat: wdpost: Config for maximum partition count per message
2022-07-07 12:38:21 +02:00
Łukasz Magiera
d5100f883d
cfgdoc-gen: Handle empty lines in comments
2022-07-01 22:32:10 +02:00
Łukasz Magiera
59f3161fd6
wdpost: Config for disabling sector prechecks
2022-07-01 22:20:05 +02:00
Łukasz Magiera
84881f64ad
sealer: Config for disabling builtin PoSt
2022-07-01 21:24:54 +02:00
Łukasz Magiera
0277ff4239
wdpost: move fault/recover code to a separate file
2022-07-01 21:24:22 +02:00
Geoff Stuart
56c7e7a8d6
Remove old functions for getting actors cids
2022-06-29 14:58:58 -04:00
Łukasz Magiera
db676acdf8
storage: Cleanup interfaces a bit
2022-06-17 13:52:19 +02:00
Łukasz Magiera
58416d0881
storage: Don't depend on specs-storage, move to storiface
2022-06-17 13:36:33 +02:00
Łukasz Magiera
4a4d64f528
sealing pipeline: Rename 'tok' to 'tsk'
2022-06-17 11:20:33 +02:00
Łukasz Magiera
d56241603a
sealing pipeline: Remove adapter code!
2022-06-16 17:22:50 +02:00
Łukasz Magiera
59a4fe1e56
sealing pipeline: Don't adapt MpoolPushMessage
2022-06-16 15:54:15 +02:00
Łukasz Magiera
9c4d10ec73
api: handle no-precommit in StateSectorPreCommitInfo gracefully
2022-06-16 15:20:58 +02:00
Łukasz Magiera
06b3e555c5
sealing pipeline: Drop ChainBaseFee, don't wrap StateSectorPartition
2022-06-16 14:00:37 +02:00
Łukasz Magiera
db842224b8
sealing pipeline: Drop StateMarketStorageDealProposal
2022-06-16 13:33:59 +02:00
Łukasz Magiera
2dc1df878d
api: Move StateComputeDataCID to full-node
2022-06-16 13:29:35 +02:00
Łukasz Magiera
a084445e6c
sealing pipeline: Use non-special ChainHead
2022-06-16 13:15:49 +02:00
Łukasz Magiera
048bfe6d5b
sealing pipeline: Use non-special msg wait APIs
2022-06-16 12:47:19 +02:00
Łukasz Magiera
cd4514bddf
sealing pipeline: Drop StateMinerActiveSectors
2022-06-16 12:34:29 +02:00
Łukasz Magiera
9fad80ce9a
sealing pipeline: Drop unused miner-info related methods
2022-06-16 12:18:24 +02:00
Łukasz Magiera
9aa5659d24
sealing pipeline: Drop TipSetToken, use TipSetKey directly
2022-06-16 12:05:58 +02:00
Łukasz Magiera
05cdeb80c3
chore: remove redundant import prefixes
2022-06-15 12:06:22 +02:00
Łukasz Magiera
39cede946c
chore: Fix more imports with '2' suffix
2022-06-14 21:37:54 +02:00
Łukasz Magiera
a581d73548
chore: Fix imports with '2' suffix
2022-06-14 20:36:33 +02:00
Łukasz Magiera
28099a3905
storage: Move storage/sealer/stores to storage/paths
2022-06-14 20:25:52 +02:00
Łukasz Magiera
82857e6d5d
chore: rerun gen with moved packages
2022-06-14 20:13:31 +02:00
Łukasz Magiera
a9600b8a6f
storage: Move extern/sector-storage to storage/sealer
2022-06-14 20:03:38 +02:00
Łukasz Magiera
98a48a47f8
storage: Move extern/storage-sealing to storage/pipeline
2022-06-14 19:41:59 +02:00
Łukasz Magiera
cf835fcc0c
fix wdpost unit tests
2022-06-14 19:33:57 +02:00
Łukasz Magiera
717bda63b1
storage: Move control address logic to storage/ctladdr
2022-06-14 19:32:29 +02:00
Łukasz Magiera
dff1bf2868
storage: Move window-post logic into a separate package
2022-06-14 19:27:09 +02:00
Łukasz Magiera
12c91bb41d
storage: Move mock PreCommit helper to the mock package
2022-06-14 19:23:14 +02:00
Łukasz Magiera
6afb43afbb
wallet: Move key.go into separate pkg to avoid import loops
2022-06-14 19:21:40 +02:00
Łukasz Magiera
e65fae28de
chore: fix imports
2022-06-14 17:00:51 +02:00
Geoff Stuart
b7010c9e60
Implement function to migrate actors with only code changes
2022-06-10 15:52:32 -04:00
Geoff Stuart
801c670edd
Remove ChainPutMany
2022-06-10 14:09:05 -04:00
Geoff Stuart
5c0f2c8ae6
Add putObj and putMany to apiBlockstore
2022-06-09 15:13:42 -04:00
Aayush
b28c11a57d
Merge branch 'feat/nv16'
2022-06-03 14:01:49 -04:00
Łukasz Magiera
af510e2cd7
feat: wdpost: Ignore faults in lotus-miner proving compute window-post
2022-05-27 13:14:47 +02:00
Aayush
b2b20e469f
Fix tests
2022-05-17 15:21:27 -04:00
Aayush
8cca9b1970
Use new go-state-types accessors
2022-05-17 15:21:27 -04:00
zenground0
60d09579be
More fixes
2022-04-14 19:32:56 +03:00
Aayush
339b7db2b7
Integrate FIP 0027
2022-04-14 19:32:56 +03:00
Łukasz Magiera
54cb55a7ae
feat: miner: API/CLI to compute window-post
2022-03-28 17:06:51 -04:00
Łukasz Magiera
36f1dd7bb3
itests: Fix flaky TestWindowPostWorkerSkipBadSector
2022-03-18 20:51:47 +01:00
Łukasz Magiera
7b81369c8c
wdpost: Don't attempt to snark with skipped sectors
2022-03-18 19:45:25 +01:00
Łukasz Magiera
6ddbe41376
Merge remote-tracking branch 'origin/master' into feat/post-worker
2022-03-18 10:54:44 +01:00
Łukasz Magiera
a3bdd29615
Merge pull request #8330 from filecoin-project/feat/snap-queue
...
feat: sealing: Sector upgrade queue
2022-03-16 22:24:45 +01:00
Łukasz Magiera
4d4739497d
sealing: Use bitfields in sectorActive
2022-03-16 19:53:00 +01:00
Darko Brdareski
79453663b3
feat: Add additional test annotations ( #8272 )
...
* Annotate api,proxy_util,blockstore_badger, policy tests
* Annotate splitstore: bsbadger / markset
* Annotate splitstore feature
* Annotate union/timed blockstore tests
* Annotate openrpc, diff_adt tests
* Annotate error,drand,events tests
* Annotate predicates_test
* Fix annotations
* Annotate tscache, gen tests
* Annotate fundmanager test
* Annotate repub and selection tests
* Annotate statetree_test
* Annotate forks_test
* Annotate searchwait_test.go
* Fix duplicated @@ symbols
* Annotate chain stmgr/store tests
* Annotate more (types) tests
* More tests annotated
* Annotate conformance chaos actor tests
* Annotate more integration tests
* Annotate journal system tests
* Annotate more tests.
* Annotate gas,head buffer behaviors
* Fix markset annotations
* doc: test annotations for the markets dagstore wrapper
* Annotate miner_api test in dagstore
* Annotate more test files
* Remove bad annotations from fsrepo
* Annotate wdpost system
* Remove bad annotations
* Renamce "conformance" to "chaos_actor" tests
* doc: stm annotations for blockheader & election proof tests
* Annotate remaining "A" tests
* annotate: stm for error_test
* memrepo_test.go
* Annotate "b" file tests
* message_test.go
* doc: stm annotate for fsrepo_test
* Annotate "c" file tests
* Annotate "D" test files
* message_test.go
* doc: stm annotate for chain, node/config & client
* docs: stm annotate node_test
* Annotate u,v,wl tests
* doc: stm annotations for various test files
* Annotate "T" test files
* doc: stm annotate for proxy_util_test & policy_test
* doc: stm annotate for various tests
* doc: final few stm annotations
* Add mempool unit tests
* Add two more memPool Add tests
* Update submodules
* Add check function tests
* Add stm annotations, refactor test helper
* Annotate api,proxy_util,blockstore_badger, policy tests
* Annotate splitstore: bsbadger / markset
solving merge conflicts
* Annotate splitstore feature
* Annotate union/timed blockstore tests
* Annotate openrpc, diff_adt tests
* Annotate error,drand,events tests
* Annotate predicates_test
* Fix annotations
* Annotate tscache, gen tests
* Annotate fundmanager test
* Annotate statetree_test
* Annotate forks_test
* Annotate searchwait_test.go
* Fix duplicated @@ symbols
* Annotate chain stmgr/store tests
* Annotate more (types) tests
* More tests annotated
* Annotate conformance chaos actor tests
* Annotate more integration tests
* Annotate journal system tests
* Annotate more tests.
* Annotate gas,head buffer behaviors
solve merge conflict
* Fix markset annotations
* Annotate miner_api test in dagstore
* Annotate more test files
* doc: test annotations for the markets dagstore wrapper
* Annotate wdpost system
* Renamce "conformance" to "chaos_actor" tests
* Annotate remaining "A" tests
* doc: stm annotations for blockheader & election proof tests
* annotate: stm for error_test
* Annotate "b" file tests
* memrepo_test.go
* Annotate "c" file tests
* message_test.go
* Annotate "D" test files
* doc: stm annotate for fsrepo_test
* Annotate u,v,wl tests
* message_test.go
* doc: stm annotate for chain, node/config & client
* docs: stm annotate node_test
* Annotate "T" test files
* doc: stm annotations for various test files
* Add mempool unit tests
solve merge conflict
* doc: stm annotate for proxy_util_test & policy_test
* doc: stm annotate for various tests
* doc: final few stm annotations
* Add two more memPool Add tests
* Update submodules
* Add check function tests
solve conflict
* Add stm annotations, refactor test helper
solve merge conflict
* Change CLI test kinds to "unit"
* Fix double merged test
* Fix ccupgrade_test merge
* Fix lint issues
* Add stm annotation to types_Test
* Test vectors submodule
* Add file annotation to burn_test
Co-authored-by: Nikola Divic <divicnikola@gmail.com>
Co-authored-by: TheMenko <themenkoprojects@gmail.com>
2022-03-16 18:37:34 +01:00
Łukasz Magiera
ce99aad438
Fix provingCheckProvableCmd
2022-03-11 18:13:51 +01:00
Łukasz Magiera
046a9f8af0
Merge remote-tracking branch 'origin/master' into feat/post-worker
2022-03-09 16:27:03 +01:00
zenground0
a463c90057
remove endpoint from cli
2022-03-01 11:27:03 -07:00
zenground0
abe04c33c1
Fix fault tracker to handle snap deals
2022-02-23 09:56:47 -07:00
Jennifer Wang
6ed97f0d04
Merge branch 'release/v1.14.0' into jen/v15
2022-02-09 03:17:38 -05:00
Aayush
1b18236f91
feat: sealer: allow users to abort in-flight snap upgrades
2022-01-25 13:01:51 -05:00
Łukasz Magiera
33dfcf2663
stores: Fix single post proof reading with updated sectors
2022-01-20 15:27:42 +01:00
Łukasz Magiera
b115e2879a
don't defer in a loop
2022-01-20 11:19:57 +01:00
Łukasz Magiera
03fa955e9e
Cleanup imports
2022-01-18 11:37:24 +01:00
Łukasz Magiera
f2496d87c9
post workers: Snapdeals updates
2022-01-18 11:25:04 +01:00
Łukasz Magiera
0c062f9c08
Merge remote-tracking branch 'origin/master' into feat/post-worker
2022-01-18 10:49:42 +01:00
Aayush Rajasekaran
ca57546ef5
Remove unnecessary params from VerifyWinningPost
2022-01-14 17:14:32 -05:00
zenground0
d6aa17e21f
Snap Deals Integration
...
- FSM handles the actual cc upgrade process including error states
- PoSting (winning and window) works over upgraded and upgrading sectors
- Integration test and changes to itest framework to reduce flakes
- Update CLI to handle new upgrade
- Update dependencies
2022-01-14 17:14:32 -05:00
Aayush Rajasekaran
a8cb027c08
Integrate v7 actors
2022-01-14 17:14:32 -05:00
Łukasz Magiera
4a874eff70
post workers: Cleanup, tests
2022-01-14 14:17:52 +01:00
Aayush Rajasekaran
d645c5fbab
Remove unnecessary params from VerifyWinningPost
2022-01-11 12:06:39 -05:00
Łukasz Magiera
cf7dd36829
Merge branch 'feat/decoupling-post-worker' of github.com:wusirdcenter/lotus into feat/decoupling-post-worker
2022-01-10 15:06:04 +01:00
zenground0
33f2d24f54
Snap Deals Integration
...
- FSM handles the actual cc upgrade process including error states
- PoSting (winning and window) works over upgraded and upgrading sectors
- Integration test and changes to itest framework to reduce flakes
- Update CLI to handle new upgrade
- Update dependencies
2022-01-10 15:39:38 +05:30
mz-sirius
3fd55fa56b
decoupling winningpost and windowpost from lotus-miner
2022-01-05 01:50:49 +08:00
pefish
f82a262ffe
Update wdpost_run.go
2021-12-29 17:37:37 +08:00
Łukasz Magiera
bc384c01e3
Merge remote-tracking branch 'origin/master' into deps/update-ctx-dsbs
2021-12-17 13:01:22 +01:00
Aayush Rajasekaran
80d5e52923
Merge branch 'master' into next
2021-12-13 13:24:28 -05:00
Aayush Rajasekaran
dfb65ed89f
Plumb contexts through
2021-12-11 17:04:00 -05:00
Łukasz Magiera
5b7bf6ca9f
Merge pull request #7572 from filecoin-project/asr/post
...
Wdpost worker: Reduce challenge confidence to 1 epoch
2021-11-22 12:21:41 +01:00
Aayush Rajasekaran
1449644c34
Integrate v7 actors
2021-11-17 15:55:14 -05:00
hunjixin
eaac4b6de4
add log for restart windows post scheduler
2021-11-10 14:47:42 +08:00
Aayush Rajasekaran
6455b0edcc
Wdpost worker: Reduce challenge confidence to 1 epoch
2021-10-27 11:32:37 -04:00
Aayush Rajasekaran
1d6db306ec
Randomness: Move getters from ChainAPI to StateAPI
2021-09-15 00:03:13 +02:00
Łukasz Magiera
e4044151f0
Show deal sizes is sealing sectors
2021-09-07 18:49:53 +02:00
Steven Allen
3846170302
refactor events system
2021-08-30 16:43:21 -07:00
Aayush Rajasekaran
a52352b13a
PreCommitPolicy: Don't try to align expirations on proving period boundaries
2021-08-11 12:44:12 -04:00
ZenGround0
6da26dcefc
Remove network version panic
2021-08-10 13:07:30 -04:00
Steven Allen
57bf5c2143
feat: add ChainGetTipSetAfterHeight
...
This is identical to ChainGetTipSetByHeight, but returns the tipset
following any null tipsets. This is what the user usually wants anyways.
(and I need it for another PR)
2021-08-05 12:07:14 -07:00
He Weidong
00e32d1ede
fix skipCount
2021-07-29 19:51:25 +08:00
Mike Greenberg
7ee46ad4e0
fix: PreCommitPolicy unit tests
2021-07-22 15:07:03 -04:00
Mike Greenberg
adb62a3fff
chore: Move cfg getter into PCPolicy; Clamp values on get
2021-07-22 15:07:03 -04:00
Mike Greenberg
9e34cce1f2
feat(config): support configurable CC sector expiration
2021-07-22 15:07:03 -04:00
Łukasz Magiera
91107df701
Merge branch 'master' into fix/new-rand
2021-07-22 12:51:05 +02:00
Anton Evangelatov
9ad408a0ba
add SealProof in sector builder
2021-07-21 16:45:57 +02:00
Steven Allen
c49dbf0999
fix: on randomness change, use new rand
2021-07-20 20:19:36 -07:00
Łukasz Magiera
583a8a13d9
Merge pull request #6629 from filecoin-project/feat/pledge-from-miner-balance
...
Config for collateral from miner available balance
2021-07-13 17:22:00 +02:00
Łukasz Magiera
7526a074d9
sealing: collateral buffer / falback config
2021-07-13 17:04:58 +02:00
Anton Evangelatov
d89ddb9315
resolve conflicts
2021-07-12 11:34:37 +02:00
Łukasz Magiera
ee97aa0a8a
dealpublisher: Use address selector
2021-07-07 19:12:03 +02:00
Łukasz Magiera
8f5c0c60f5
Config for deal publishing control addresses
2021-07-07 18:00:54 +02:00
Anton Evangelatov
10dc90f7fe
addressing comments
2021-07-06 17:33:47 +02:00
Raúl Kripalani
1869de7662
unwire host from storage.Miner.
2021-07-01 13:53:20 +01:00
Anton Evangelatov
9ec7cd7239
enable libp2p options
2021-06-30 12:55:43 +02:00
Anton Evangelatov
6720463799
resolve merge conflicts
2021-06-22 11:28:23 +02:00
Łukasz Magiera
b37a66c7c9
Merge remote-tracking branch 'origin/release/v1.10.0' into chore/merge-1.10
2021-06-21 17:03:03 +02:00
Steven Allen
526674cefa
fix: pick the correct partitions-per-post limit
2021-06-16 16:56:30 -07:00
Steven Allen
653b1d8231
fix: pick the correct partitions-per-post limit
2021-06-16 16:53:52 -07:00
Łukasz Magiera
1f914053b4
sealing: Wire up context to batchers
2021-06-16 11:43:06 +02:00
Aayush Rajasekaran
520a0091f5
Merge branch 'releases' into release/v1.10.0
2021-06-15 17:40:36 -04:00
Anton Evangelatov
31e6fb154e
resolve conflicts
2021-06-14 11:27:54 +02:00
Łukasz Magiera
f0a2e97cb5
fee config for sector batching
2021-06-09 14:23:06 -04:00
Aayush Rajasekaran
dede1b4758
Merge branch 'release/v1.10.0' into asr/merge-release
2021-06-09 14:05:41 -04:00
Aayush Rajasekaran
b0c9dd49f0
Fund miners with the aggregate fee when ProveCommitting
2021-06-09 13:08:54 -04:00
Łukasz Magiera
78171055e7
fee config for sector batching
2021-06-08 15:45:32 +02:00
Anton Evangelatov
8bd09e39ca
resolve merge conflicts
2021-06-04 16:17:00 +02:00
Łukasz Magiera
dc642d0b7b
Merge remote-tracking branch 'origin/feat/nv13' into feat/nv13-1.11
2021-06-01 21:06:58 +02:00
Łukasz Magiera
b6b56320bf
Fix StateComputeDataCommitment
2021-06-01 20:34:24 +02:00
Łukasz Magiera
482e1110c2
precommit batcher: Improve error propagation
2021-06-01 14:35:30 +02:00
Łukasz Magiera
9fcb564bef
Make commit batcher more robust
2021-06-01 11:56:19 +02:00
Aayush Rajasekaran
85873f6057
Wdpost run should respect AddressedPartitionsMax
2021-05-31 19:28:49 -04:00
Anton Evangelatov
d195a12565
Merge branch 'master' into nonsense/split-market-miner-processes
2021-05-31 11:26:11 +02:00
Łukasz Magiera
1e4456138e
Merge master into feat/nv13
2021-05-27 12:28:20 +02:00
Łukasz Magiera
d71334cc24
Address self-review
2021-05-20 18:04:07 +02:00
Anton Evangelatov
76bb424de0
update StorageMinerAPI
2021-05-20 13:01:14 +02:00
Łukasz Magiera
a5677d1b7a
ffiwrapper: Separate Prover interface
2021-05-19 15:20:23 +02:00
Anton Evangelatov
1295c924e1
confirm that Miner struct satisfies sectorblocks.SectorBuilder
2021-05-19 13:22:00 +02:00
Anton Evangelatov
a989f60e27
add SectorAddPieceToAny and SectorUnsealPiece to StorageMiner iface; model moved to api package - PieceDealInfo, DealSchedule
2021-05-19 13:05:07 +02:00
Łukasz Magiera
c7ba083fa4
Import precommit batcher
2021-05-18 16:51:06 +02:00
Łukasz Magiera
2afe725933
Get PreCommitting to work
2021-05-17 22:02:23 +02:00
Łukasz Magiera
6278bdc69a
Make things build
2021-05-17 20:47:41 +02:00
Raúl Kripalani
50360e68ae
rename {changeHandlerAPI=>wdPoStCommands} + add docs.
2021-05-15 15:07:02 +01:00
Raúl Kripalani
c77f8fb382
adopt clearer method names; fix typo.
2021-05-15 15:07:02 +01:00
Raúl Kripalani
9912212949
minor refactor to anonymize interface.
2021-05-14 20:08:22 +01:00
Raúl Kripalani
28efa9357c
rename {setSender=>prepareMessage}.
2021-05-14 19:49:05 +01:00
Raúl Kripalani
0f4270126f
rename {submitPost=>submitPoStMessage}.
2021-05-14 19:48:38 +01:00
Raúl Kripalani
89dfb0ba19
minor refactor, renames, docs in Miner#Run.
2021-05-14 19:47:50 +01:00
Raúl Kripalani
0187aa6d9c
imports reorder.
2021-05-14 19:46:46 +01:00
Raúl Kripalani
2d7f4b1c61
docs: add godocs to storage module.
2021-05-14 19:45:47 +01:00
Raúl Kripalani
c7d50fe195
rename {storageMinerApi=>fullNodeFilteredAPI}; add docs.
2021-05-13 14:36:16 +01:00
Raúl Kripalani
1d6941b0eb
rename storage/{sealing=>miner_sealing}.go
2021-05-13 14:33:35 +01:00
Raúl Kripalani
df7631df77
docs: rename some wdpost methods; add docs.
2021-05-13 13:07:42 +01:00
Łukasz Magiera
506f39b294
WIP: Integrate FIP0013
2021-05-11 22:10:29 -04:00
Aayush Rajasekaran
d794b49df3
Use EmptyTSK where appropriate
2021-04-29 01:00:03 -04:00
Łukasz Magiera
cf96ad4fdb
fix lint
2021-04-06 14:30:49 +02:00
Łukasz Magiera
e8f28d7b9f
Fix tests
2021-04-06 12:24:58 +02:00
Łukasz Magiera
81bd27911f
Propagate StateMsg api changes
2021-04-05 19:56:53 +02:00
Łukasz Magiera
deb2b90b6a
Fix lotus/miner build
2021-04-05 13:23:46 +02:00
Łukasz Magiera
728d86cd36
wdpost: Always head tipset to get randomness
2021-03-11 09:59:26 +01:00
刘林欣
9095babf8c
fix window post rand check
2021-03-11 15:10:19 +08:00
Steven Allen
84f721e373
fix: retry proof when randomness changes
...
Simply warning isn't enough.
2021-03-10 10:24:58 -08:00
Łukasz Magiera
6315523fe9
Merge remote-tracking branch 'origin/master' into next
2021-03-10 15:58:28 +01:00
Łukasz Magiera
a0d7604e7c
wdpost: Use chain head tsk in post rand check
2021-03-10 13:36:34 +01:00
Łukasz Magiera
ca3d22683a
gofmt
2021-03-10 12:27:37 +01:00
Łukasz Magiera
ea4a54e083
wdpost: Fix tests
2021-03-10 10:01:28 +01:00
Łukasz Magiera
57fe04ba6e
wdpost: double-check randomness
2021-03-10 09:19:38 +01:00
Steven Allen
b7fab5f937
fix: wait a bit before starting to compute window post proofs
...
Due to a (now consensus critical) bug in randomness selection, "beacon"
randomness depends on whether the epoch in which the beacon occurred was
a null block. Unfortunately, this means:
1. If a challenge lands on a non-null round but that non-null round gets
re-orged to a null round, the randomness will change to the beacon in
the first preceding non-null block.
2. If a challenge lands on a null round but that null round gets
re-orged to a non-null round, the randomness will change to the beacon
in the new non-null round.
The correct solution is to change the way the beacon is selected:
1. Wait until a non-null round.
2. The block in this round will contain all beacons from the null
rounds, select the beacon from the target epoch.
Unfortunately, this requires a mandatory network upgrade.
Instead, this patch just waits a bit before beginning to compute window
post after passing the challenge round to wait-out any reorgs.
2021-03-09 22:03:05 -08:00
Łukasz Magiera
06b360325a
handle terminate control addrs in address selection correctly
2021-03-08 22:09:04 +01:00
Łukasz Magiera
305c2ec77d
miner: Config to disable owner/worker addcess fallback
2021-03-08 21:33:46 +01:00
Łukasz Magiera
8bd5173a54
Merge branch 'next' into refactor/lib/blockstore
2021-03-01 19:04:40 +01:00
Raúl Kripalani
7f0f7d0b36
Merge branch 'master' into refactor/lib/blockstore
2021-02-28 19:55:23 +00:00
Łukasz Magiera
f719765069
storageminer: exit PledgeSector after sectors enter sealing pipeline
2021-02-16 17:41:58 +01:00
Łukasz Magiera
fc5e243c92
storagefsm: Cleanup CC sector creation
2021-02-16 17:14:59 +01:00
Łukasz Magiera
0c6aef221d
Fix error logging format strings
2021-02-11 12:00:26 +01:00
Łukasz Magiera
9b65793509
Merge pull request #5404 from filecoin-project/feat/test-window-post
...
Retry proofs if we generate an incorrect one
2021-02-03 13:04:33 +01:00
Łukasz Magiera
d64f4e84d5
add small cooldown if windowpost fails to verify
2021-02-03 12:42:19 +01:00
Raúl Kripalani
b0cbc932bd
consolidate all blockstores in blockstore package.
2021-01-29 20:01:00 +00:00
Łukasz Magiera
94009f247f
Merge pull request #5411 from filecoin-project/feat/sealing-handle-batch-publish
...
Handle batch publish storage deals message in sealing recovery
2021-01-28 19:33:49 +01:00
Dirk McCormick
1b494acc9e
feat: handle batch publish storage deals message in sealing recovery
2021-01-25 14:10:05 +01:00
Steven Allen
8de4e5e005
retry proofs if we generate an incorrect one
2021-01-22 13:31:47 -08:00
Aayush Rajasekaran
ab90a3b2bc
Actors update: MinerInfo.SealProofType has been removed
2021-01-21 15:21:19 -08:00
Jack Yao
41e9345da0
Update storage/addresses.go
...
Co-authored-by: Jakub Sztandera <kubuxu@protonmail.ch>
2021-01-19 09:36:35 +08:00
yaohcn
10b2ec55b5
correct log in maybeUseAddress
2021-01-15 12:31:47 +08:00
Łukasz Magiera
32885e1129
termination batcher: Notify based on what was sent
2021-01-14 17:14:26 +01:00
Łukasz Magiera
144b5a1350
perning termination API
2021-01-14 12:37:23 +01:00
Łukasz Magiera
3522c8d45a
SectorTerminateFlush API
2021-01-13 23:32:04 +01:00
Łukasz Magiera
174c595acc
Don't declare in proving window
2021-01-13 22:19:10 +01:00
Łukasz Magiera
52cc2cd3eb
Initial sector termination support
2021-01-13 00:42:01 +01:00
Jakub Sztandera
6ca5caef31
Refactor DefaultMessageSendSpec
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-12-08 20:51:27 +01:00
Łukasz Magiera
a5a72a41eb
miner: Fix control address lookup
2020-12-04 17:02:23 +01:00
Łukasz Magiera
58695dc1bc
miner: fix tests
2020-12-03 12:37:11 +01:00
Łukasz Magiera
2fd93a55ac
plumb AddressSelector to stoage fsm
2020-12-02 21:47:54 +01:00
Łukasz Magiera
f74a1b70ab
miner: Fix actor control list cli
2020-12-02 20:46:07 +01:00
Łukasz Magiera
7246ef273f
miner: Control address config for (pre)commits
2020-12-02 19:58:00 +01:00
Łukasz Magiera
95eaf13b5a
sectorstorage: Fix tests
2020-12-02 00:36:32 +01:00
Łukasz Magiera
c6f85886bf
miner: Add slow mode to proving check
2020-12-02 00:32:14 +01:00
Łukasz Magiera
054327b72a
wdpost: Update comment
...
Co-authored-by: dirkmc <dirkmdev@gmail.com>
2020-12-01 14:50:51 +01:00
Łukasz Magiera
e8d2560581
Fix tests
2020-11-27 16:47:48 +01:00
s1m0n21
663b3f4f21
add a sector check command
2020-11-26 15:02:43 +08:00
hannahhoward
218f7c2c5d
feat(markets): update markets, extract commp
2020-11-20 13:29:14 -08:00
Łukasz Magiera
1999156d06
wdpost: always pick least-bad address
2020-11-19 20:59:54 +01:00
Łukasz Magiera
b4fa099257
wdpost: fix TestWDPostDoPost
2020-11-19 18:57:43 +01:00
Łukasz Magiera
b7a282decc
wdpost: fix build
2020-11-19 18:30:53 +01:00
Łukasz Magiera
9f807f4aeb
storageminer: Simplify AddressFor
2020-11-19 18:02:20 +01:00
Łukasz Magiera
16dbbadddf
Set lower feecap on PoSt messages with low balance
2020-11-19 18:02:20 +01:00
15ho
ba56d02a1c
fix: WindowPoStScheduler.checkSectors() delete useless judgment
2020-11-19 19:48:32 +08:00
Łukasz Magiera
915c5e0fdd
Get most tests to pass
2020-11-16 19:03:30 +01:00
Steven Allen
05db5ce426
load proof types in window post logic
...
This is going to be inefficient, but it should be fine in practice.
2020-11-16 19:03:30 +01:00