Commit Graph

53 Commits

Author SHA1 Message Date
Peter Rabbitson
d244749f1a Bump fil-commcid and filecoin-ffi deps
Propagates correct on-chain commX CIDs
2020-07-16 23:00:22 +02:00
Łukasz Magiera
4f8015b58a Correctly turn randomness into fr32 values 2020-07-16 18:18:43 +02:00
Aayush Rajasekaran
1d67dcfa3c extract GetRequiredPadding 2020-07-11 22:32:25 -04:00
Łukasz Magiera
9af64c9b21 ffiwrapper: Fix UnsealPiece 2020-07-08 19:51:26 +02:00
Łukasz Magiera
0bc41d562d Move statfs to fsutil 2020-07-08 16:58:18 +02:00
Łukasz Magiera
77cf6e49a0
Merge pull request #65 from filecoin-project/feat/local-space-alloc
Better storage reservation logic
2020-07-08 01:27:59 +02:00
Łukasz Magiera
c5a96fdd08 Change PathType to string 2020-07-06 16:13:42 +02:00
Łukasz Magiera
31d9abfc8c Implement FinalizeSector keepUnsealed 2020-07-03 21:52:31 +02:00
Łukasz Magiera
a2de752a33 Merge remote-tracking branch 'origin/master' into next 2020-07-01 11:21:05 +02:00
Łukasz Magiera
a53fff7608 Fix tests 2020-06-30 19:38:41 +02:00
Łukasz Magiera
a8997dc35c ffiwrapper: Insert alignment between pieces 2020-06-25 21:57:26 +02:00
Łukasz Magiera
07cf84cbc7 Update specs-storage, sector removing support 2020-06-22 17:06:09 +02:00
Łukasz Magiera
cb2dfb2e11
Merge pull request #49 from filecoin-project/fix/unseal-close-correct
ffiwrapper: Close the correct end of the pipe in unseal
2020-06-15 21:11:57 +02:00
Jakub Sztandera
e82d2ee8ee
Log and ignore if fallocate is not supported
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-15 20:19:42 +02:00
Łukasz Magiera
e530ff93c4 ffiwrapper: Close the correct end of the pipe in unseal 2020-06-15 19:59:20 +02:00
Łukasz Magiera
3d1225bf34 gofmt 2020-06-15 16:28:57 +02:00
Łukasz Magiera
f67bbbc457 specs-actors v0.6 2020-06-15 14:32:17 +02:00
Łukasz Magiera
52782b6def ffiwrapper: Fix AddPiece with multireaders 2020-06-09 22:10:14 +02:00
Łukasz Magiera
57adda40f9 ffiwrapper: Test FD leaks 2020-06-09 12:24:03 +02:00
Łukasz Magiera
edb4a1ee9e Fix addpiece and unsealRange 2020-06-09 12:06:21 +02:00
Łukasz Magiera
3cd79b6fec wip fixing addpiece 2020-06-09 11:13:23 +02:00
Łukasz Magiera
796af1351c v27 parameters 2020-06-09 01:02:44 +02:00
Łukasz Magiera
375a6b4d38 verifier: Handle sector unlocking correctly 2020-06-08 19:57:34 +02:00
Łukasz Magiera
8e489cdbdb verifier: Skip sectors which can't be acquired 2020-06-08 19:36:41 +02:00
Łukasz Magiera
8c58fcb1cc verifier: update interfaces 2020-06-08 19:22:15 +02:00
Łukasz Magiera
13176e8b53 Cleanup PathType usages 2020-06-04 23:30:20 +02:00
Łukasz Magiera
9e7eb3feef Remove dead commented code 2020-05-29 19:40:49 +02:00
Łukasz Magiera
3b698db127 fr32: real PadWriter 2020-05-29 17:21:21 +02:00
Łukasz Magiera
2a70ff3cf3 wireup fr32 padding to the unsealed file 2020-05-29 01:33:00 +02:00
Łukasz Magiera
4db8351348 fr32 utils 2020-05-28 19:15:15 +02:00
Łukasz Magiera
e3d3887a0b Address review 2020-05-26 21:08:51 +02:00
Łukasz Magiera
ffaeb89347 Merge remote-tracking branch 'origin/master' into feat/unseal 2020-05-26 19:05:35 +02:00
Łukasz Magiera
65f04da920 mock: Update interface 2020-05-26 16:39:25 +02:00
Łukasz Magiera
793d332002 Move UnpaddedByteIndex from FFI wrapper 2020-05-26 10:25:17 +02:00
Jeromy
a59ca7536a update to latest filecoin-ffi 2020-05-21 18:19:46 -07:00
Łukasz Magiera
33673a30c7 Wire up unsealing logic, track primary sector copies 2020-05-20 18:36:46 +02:00
Łukasz Magiera
8f70192bf3 Missing stuff 2020-05-19 18:11:56 +02:00
Łukasz Magiera
78c0b8f985 ffiwrapper: Test unsealing 2020-05-19 01:03:49 +02:00
Łukasz Magiera
86f3c0916e ffiwrapper: UnsealPiece 2020-05-19 00:08:11 +02:00
Łukasz Magiera
f577c2120c Partial Files, use for sealing 2020-05-18 15:22:35 +02:00
Łukasz Magiera
845502f522 Add entries for 64G sectors 2020-05-09 02:50:08 +02:00
Łukasz Magiera
1bbfb7cffd Fix ffiwrapper unseal 2020-05-08 00:23:07 +02:00
laser
f0569bd3c4 remove lotus from dependency graph 2020-05-01 09:18:00 -07:00
Łukasz Magiera
6850784b1e Move GenerateWinningPoStSectorChallenge to Verifier 2020-04-17 16:00:21 +02:00
Łukasz Magiera
c0d619cd86 gofmt 2020-04-10 23:01:42 +02:00
Łukasz Magiera
cd464ef916 Drop SectorSizeForRegisteredProof 2020-04-10 23:01:35 +02:00
Łukasz Magiera
65efbfce12 Fix tests with v25 params 2020-04-10 21:13:47 +02:00
Łukasz Magiera
e854090bdd v25 2020-04-10 20:46:53 +02:00
Łukasz Magiera
afebab334e Update imports; Add build scripts 2020-03-28 00:21:36 +01:00
Łukasz Magiera
9be406482b sectorstorage: Untangle from lotus deps 2020-03-27 22:35:33 +01:00