Łukasz Magiera
90ecfbe0e4
Merge branch 'master' into feat/new-sb-fs
2020-02-04 04:15:25 +01:00
laser
ea2f53745e
split FPoStScheduler from Miner
...
Rationale: Nodes want to handle scheduling of PoSts. Splitting the
FPoStScheduler from the Miner allows nodes to reuse the Miner w/out
having to reuse the PoSt scheduler.
2020-02-03 15:48:11 -08:00
Łukasz Magiera
e453a38865
sealing: fix finalize with cache only
2020-02-02 20:36:15 +01:00
Łukasz Magiera
37929ff75f
sealing: more logging in pledge sector flow
2020-01-31 20:22:31 +01:00
Łukasz Magiera
b6ba0ed47c
fix pledgeReader with small sectors
2020-01-31 20:07:20 +01:00
Łukasz Magiera
95f344540e
Fix tests
2020-01-31 02:27:38 +01:00
Łukasz Magiera
ee9060aa14
Update sectorbuilder
2020-01-31 02:18:48 +01:00
Łukasz Magiera
db50d01db9
Merge remote-tracking branch 'origin/master' into feat/new-sb-fs
2020-01-30 07:46:47 +01:00
Łukasz Magiera
cec2085790
sealing: Fix pledgeReader
2020-01-30 07:41:30 +01:00
Łukasz Magiera
75ee71e35a
Merge branch 'master' into feat/new-sb-fs
2020-01-30 07:39:52 +01:00
Łukasz Magiera
d27187b1de
Fix fast pledge math
2020-01-30 02:01:10 +01:00
Łukasz Magiera
4aaa758543
fpost: better fault checks
2020-01-30 01:50:58 +01:00
Łukasz Magiera
03f07042ff
fpost: print message apply result
2020-01-29 23:47:28 +01:00
Łukasz Magiera
e2b2026fa5
actually call finalizeSector
2020-01-29 23:37:31 +01:00
Łukasz Magiera
4b8b79dbe0
sealing: FinalizeSector step
2020-01-29 22:25:06 +01:00
Whyrusleeping
9e5cc46638
Merge pull request #1158 from filecoin-project/feat/par-pledge
...
sealing: Parallel CommP calc in pledge sector
2020-01-29 12:15:22 -08:00
Łukasz Magiera
ba542cf67a
test fastPledgeCommitment
2020-01-29 21:01:20 +01:00
Łukasz Magiera
25f544f3db
sealing: round parts in fastPledgeCommitment
2020-01-29 20:12:27 +01:00
Łukasz Magiera
5af64c53b6
initial sectorbuilder FS refactor integration
2020-01-29 00:08:02 +01:00
hannahhoward
00941e4461
fix(sectorblocks): minor cleanups
...
add error check, slice keys
2020-01-28 14:15:12 -08:00
hannahhoward
71289b58ff
feat(markets): update to support car files
...
Upgrades lotus version of go-fil-markets to its head, which supports car files and handles tracking
of pieces, reducing the size of sectorBlocks
2020-01-28 14:08:13 -08:00
laser
1cdf29244c
write basic test affirming state change
2020-01-28 12:39:07 -08:00
laser
cb665caf9e
planCommitting must handle SectorCommitFailed
...
The SectorCommitFailed struct can be created from within Sealing#handleCommitting, and is created if actors.SerializeParams(params) produces an error or if m.api.MpoolPushMessage(ctx.Context(), msg) produces an error.
2020-01-28 11:46:26 -08:00
Łukasz Magiera
c9c437cb3b
sealing: Parallel CommP calc in pledge sector
2020-01-25 12:15:28 +01:00
Łukasz Magiera
2f2e7be12a
sealing: docstrings for sanity-checks
2020-01-24 21:15:02 +01:00
Łukasz Magiera
b5660b58b3
Merge remote-tracking branch 'origin/master' into feat/sector-recovery
2020-01-24 01:53:58 +01:00
Łukasz Magiera
6b2b22782b
sealing: PreCommitFailed can go to SealFailed
2020-01-23 18:45:57 +01:00
Łukasz Magiera
de52d3cadd
sealing: Handlef for PreCommitFailed
2020-01-23 18:34:04 +01:00
Łukasz Magiera
7e43c40529
storageminer: Use tabwriter in sectors list
2020-01-23 17:15:45 +01:00
Łukasz Magiera
df9dfa9d0c
sealing: Don't infinite-loop on fatal errors
2020-01-23 17:11:58 +01:00
Łukasz Magiera
08a2e0f82c
sealing: Errors are hard
2020-01-23 17:02:55 +01:00
Łukasz Magiera
01dc9c767e
sealing: Error types that can actually be checked
2020-01-23 16:57:50 +01:00
Łukasz Magiera
67b441838b
sealing: Actually call handleSealFailed
2020-01-23 16:47:33 +01:00
Łukasz Magiera
94f2948020
sealing: implement handler for sealFailed
2020-01-23 16:38:10 +01:00
Łukasz Magiera
558e4c7669
Fix tests after sectorbuilder update
2020-01-23 15:33:28 +01:00
Łukasz Magiera
c3a5da8586
storageminer: log flag for sector status
2020-01-23 15:18:05 +01:00
Łukasz Magiera
02c8ab7839
sealing: Check ticket expiration
2020-01-23 15:05:44 +01:00
Łukasz Magiera
26e6bc32ee
sealing: check deal expiration
2020-01-23 13:17:45 +01:00
Łukasz Magiera
e67ee227a3
sealing: Nonzero exit on commit isn't fatal
2020-01-23 11:02:20 +01:00
Łukasz Magiera
7fb3360d6f
storage: Fix handing stop call
2020-01-23 10:46:46 +01:00
Łukasz Magiera
e43174f2af
sealing: Not getting seal ticket isn't fatal
2020-01-22 22:16:45 +01:00
Łukasz Magiera
d3a9006272
sealing: Wire up sector event log
2020-01-22 21:29:19 +01:00
Łukasz Magiera
ba5a5d1248
sealing: wire up checkPieces and checkSeal
2020-01-22 20:47:29 +01:00
Łukasz Magiera
052b090bbf
sealing: Fix planOne for global events
2020-01-22 19:30:56 +01:00
Łukasz Magiera
1e877eae86
sealing: Add Log field to SectorInfo
2020-01-22 03:41:39 +01:00
Łukasz Magiera
3c934ea21f
Merge branch 'master' into feat/sector-recovery
2020-01-22 03:27:11 +01:00
Łukasz Magiera
08e1b52281
Fix master build
2020-01-21 19:51:17 +01:00
Łukasz Magiera
cf153f89df
Merge pull request #1131 from filecoin-project/feat/soft-map-cbg
...
cbor-gen: Soft struct-map unmarshaling
2020-01-21 19:44:39 +01:00
Łukasz Magiera
d2401bc339
Update cbor-gen, error on unknown fields
2020-01-21 17:28:55 +01:00
Łukasz Magiera
fd0bfc8777
Merge pull request #1089 from filecoin-project/feat/state-call-cmd
...
implement state call command for easy method calling
2020-01-21 17:16:54 +01:00
Łukasz Magiera
2076cb106d
cobr-gen: Soft struct-map unmarshaling
2020-01-21 17:05:10 +01:00
Łukasz Magiera
5b304fa20a
fpost: More logging
2020-01-21 16:01:42 +01:00
Łukasz Magiera
e4de5c55ac
sealing: Some state renaming
2020-01-20 23:04:46 +01:00
Łukasz Magiera
efaf2c720b
sealing: WIP SectorInfo sanity checks
2020-01-20 23:04:27 +01:00
dtynn
b2fcca87ff
small fixes
2020-01-20 16:23:56 +08:00
Łukasz Magiera
ff4b0c8f5d
Merge pull request #1110 from filecoin-project/fix/nil-newts-fpost-panic
...
fpost: Don't panic with nil new tipset
2020-01-19 21:17:51 +01:00
Łukasz Magiera
be2d138aac
fpost: Don't panic with nil new tipset
2020-01-18 16:00:22 +01:00
Łukasz Magiera
1e782b3de2
Merge branch 'master' into feat/event-states
2020-01-18 14:40:59 +01:00
whyrusleeping
0a45e97699
implement state call command for easy method calling
2020-01-17 18:27:29 -08:00
whyrusleeping
2a7dcb6e17
fixup bitfield serialization in manual faulty sector handler
2020-01-17 00:13:00 -08:00
Łukasz Magiera
0aebec6697
Merge branch 'master' into feat/event-states
2020-01-16 03:59:14 +01:00
Łukasz Magiera
d4c50b8ea0
sealing: gofmt
2020-01-16 03:54:57 +01:00
Łukasz Magiera
cc424d64fe
sealing: Handle events based on current state
2020-01-16 03:53:59 +01:00
Łukasz Magiera
ffdd436b52
sealing: Handle seed changes more correctly
2020-01-16 02:25:49 +01:00
Łukasz Magiera
e9ca6c0871
sealing: More cleanup
2020-01-15 21:53:14 +01:00
Łukasz Magiera
604bf64ef6
Move miner sealing logic into a separate package
2020-01-15 21:49:11 +01:00
Łukasz Magiera
925e057acb
Some sector fsm tests
2020-01-15 21:04:02 +01:00
Łukasz Magiera
23472aa4f2
statemachine: don't force users to see reflect
2020-01-15 01:08:20 +01:00
Łukasz Magiera
8a9707788c
Merge branch 'master' into feat/event-states
2020-01-14 16:31:10 +01:00
Łukasz Magiera
94a21e3aeb
Update deps
2020-01-14 03:05:46 +01:00
Łukasz Magiera
2ca0c152ba
Deal tests on mock sectorbuilder
2020-01-14 03:05:46 +01:00
Łukasz Magiera
a2bcc1fec2
Mostly functional mock sectorbuilder
2020-01-14 03:05:35 +01:00
Łukasz Magiera
2ef8c1ae0c
statemachine: Better naming
2020-01-13 18:44:59 +01:00
Łukasz Magiera
2fea9433d8
sectors: Correctly set CommitMessage
2020-01-13 18:18:52 +01:00
Łukasz Magiera
e06c19b51c
update deps
2020-01-13 17:39:54 +01:00
Łukasz Magiera
34abc3d023
Merge branch 'feat/testnet2' into feat/event-states
2020-01-13 15:52:43 +01:00
Łukasz Magiera
f6d41ee77d
Port sector state maching to evtsm
2020-01-10 20:24:15 +01:00
Łukasz Magiera
469136ee86
Merge pull request #1040 from filecoin-project/feat/fork-signaling
...
Add fork signaling to blockheader
2020-01-10 13:33:29 +01:00
Łukasz Magiera
5f460b380d
Merge pull request #1045 from filecoin-project/feat/mock-sectorbuilder
...
WIP: implement mock sectorbuilder for easier storage miner testing
2020-01-10 01:33:43 +01:00
whyrusleeping
6c9289df0a
don't require signatures for self deals
2020-01-09 14:18:06 -08:00
Łukasz Magiera
da2a11ed76
Event-based state machine
2020-01-09 22:23:31 +01:00
whyrusleeping
7534ac1e1a
add ability to control seal operations completion time
2020-01-09 12:50:45 -08:00
whyrusleeping
bda85e4097
more features, better locking
2020-01-09 11:23:42 -08:00
whyrusleeping
5e16aab51b
fix tests, expand interfaces a little
2020-01-09 10:28:14 -08:00
whyrusleeping
cc56389dbb
attempt to fix the DI loading, still not working
2020-01-08 20:51:18 -08:00
whyrusleeping
60969c69a7
implement a mocked out sectorbuilder, probably not useful yet
2020-01-08 20:27:14 -08:00
whyrusleeping
d08898ef37
make storage miner acccept an interface to the sectorbuilder
2020-01-08 17:10:17 -08:00
Jakub Sztandera
8cfb4aafcd
Add fork signaling to blockheader
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-08 20:31:08 +01:00
Jakub Sztandera
1ed62628a7
Update go-log to v2
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-08 20:22:31 +01:00
laser
20321bb476
handle rebase
2020-01-07 08:18:35 -08:00
acruikshank
7873213b11
switch sectorbuilder from lib to external module
...
point to correct version of sectorbuilder + ensure go-datastore stays at 0.1.1
replace local address type with go-address
consume paramfetch.GetParams instead of local paramfetch.go
remove constants now defined in sectorbuilder
2020-01-07 07:48:43 -08:00
Łukasz Magiera
1e7f10e387
gofmt
2020-01-07 15:00:10 +01:00
hannahhoward
718acb0a86
refactor(cborutil): extract cborutil library
...
Use extracted cborutil library
2020-01-07 14:59:35 +01:00
hannahhoward
8418464d91
refactor(address): use extracted address library
...
Switch to using extracted address library
2020-01-07 14:53:27 +01:00
Łukasz Magiera
2e95a53679
Wire up faults in fPoSt
2019-12-17 23:33:08 +01:00
whyrusleeping
28a325efe6
soft fail messages that cause precomitted sectors map to become too large
2019-12-13 00:00:20 +01:00
Whyrusleeping
9eb1371896
Merge pull request #860 from filecoin-project/fix/soft-sectors-load-err
...
sectors: Handle sector state reload errors more gracefully
2019-12-11 15:48:45 +01:00
Łukasz Magiera
c579b2c56f
Merge pull request #824 from filecoin-project/fix/retrieval-unsealed
...
Don't allow retrieval of unsealed data
2019-12-11 15:28:00 +01:00
Łukasz Magiera
613bb25297
sectors: Handle sector state reload errors more gracefully
2019-12-11 15:17:38 +01:00
Łukasz Magiera
9246788bff
Don't allow retrieval of unsealed data
2019-12-10 00:19:46 +01:00