Ł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
Ł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
Łukasz Magiera
a5677d1b7a
ffiwrapper: Separate Prover interface
2021-05-19 15:20:23 +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