lotus/storage
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
..
mockstorage feat(markets): update markets, extract commp 2020-11-20 13:29:14 -08:00
sectorblocks Update to specs v0.9.6 2020-09-07 15:48:41 -04:00
adapter_events.go Update to specs v0.9.6 2020-09-07 15:48:41 -04:00
adapter_storage_miner.go feat: handle batch publish storage deals message in sealing recovery 2021-01-25 14:10:05 +01:00
addresses.go Update storage/addresses.go 2021-01-19 09:36:35 +08:00
miner.go Merge pull request #5411 from filecoin-project/feat/sealing-handle-batch-publish 2021-01-28 19:33:49 +01:00
sealing.go perning termination API 2021-01-14 12:37:23 +01:00
wdpost_changehandler_test.go refactor: use abstract types instead of specs-actors 2020-09-25 15:54:27 +02:00
wdpost_changehandler.go fix: wait a bit before starting to compute window post proofs 2021-03-09 22:03:05 -08:00
wdpost_journal.go Miner migration 2020-09-17 02:21:16 -04:00
wdpost_nextdl_test.go refactor: use abstract types instead of specs-actors 2020-09-25 15:54:27 +02:00
wdpost_run_test.go retry proofs if we generate an incorrect one 2021-01-22 13:31:47 -08:00
wdpost_run.go Fix error logging format strings 2021-02-11 12:00:26 +01:00
wdpost_sched.go retry proofs if we generate an incorrect one 2021-01-22 13:31:47 -08:00