Commit Graph

368 Commits

Author SHA1 Message Date
Łukasz Magiera
5d30106f5a More v18 updates 2019-11-27 18:10:34 +01:00
Łukasz Magiera
1ccfe7d8f7 update filecoin-ffi to v18 params 2019-11-27 16:00:04 +01:00
Łukasz Magiera
23e0008b81 Merge remote-tracking branch 'origin/master' into feat/election-post 2019-11-27 13:31:44 +01:00
Łukasz Magiera
871c30d2a0 WIP trying to get election post to compute 2019-11-26 16:15:41 +01:00
whyrusleeping
a98295a747 use the correct sector sizes in places 2019-11-25 20:43:43 -06:00
Łukasz Magiera
265b90e95b update parameters.json 2019-11-25 23:17:39 +01:00
Łukasz Magiera
df0be815ae More correct challangeCount calc 2019-11-25 17:18:11 +01:00
whyrusleeping
a0588d513d Add lotus-gen, rewire genesis mining 2019-11-24 22:45:13 -06:00
Łukasz Magiera
a755ca5dae stmgr: check for duplicate nonces when looking back for msg 2019-11-24 20:16:18 +01:00
Łukasz Magiera
e7efb6099a Debug build mode 2019-11-23 20:13:07 +01:00
whyrusleeping
f03198c8a0 sync tests passing, still no vm integration 2019-11-22 10:41:09 -06:00
Jakub Sztandera
36b7c5a32a
Swtich to xerrors
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-22 10:20:56 -06:00
Łukasz Magiera
f52d9de4dd events: MatchFuncs for Called 2019-11-19 16:51:12 +01:00
wanghui
4c0a30784f fix typo 2019-11-18 11:00:31 +08:00
wanghui
6133ad886b add checkfile after dofetch and remove failed download file 2019-11-18 10:58:21 +08:00
wanghui
78349a1e6e continue download param file 2019-11-16 19:52:50 +08:00
Łukasz Magiera
cdb0121dc0 Devnet 8 2019-11-15 01:47:42 +01:00
Łukasz Magiera
75d30b3c70 Setup devnet 8 params 2019-11-15 01:20:39 +01:00
Łukasz Magiera
004f647504
Merge pull request #597 from filecoin-project/feat/simple-power-slash
Simple power slashing
2019-11-15 01:14:20 +01:00
Jakub Sztandera
bc3dac0426
Add --tests-also for fetch-params
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-14 02:15:33 +01:00
Łukasz Magiera
2dd155e9e9 Make basic slashing work 2019-11-14 01:02:24 +01:00
Łukasz Magiera
6b398cba74 actors: UpdateStorage now manages proving buckets 2019-11-13 22:16:17 +01:00
Łukasz Magiera
a6135b62ce sync: Mark chains with bad blocks as bad too 2019-11-12 11:04:17 +01:00
whyrusleeping
a702a5678c cache bls signatures for later recovery during forks 2019-11-11 23:16:42 -08:00
Łukasz Magiera
3f4d454f6e storageminer: Print proving period in info cmd 2019-11-09 10:49:43 +01:00
Łukasz Magiera
0734e5329d Devnet 7 2019-11-09 09:26:42 +01:00
Łukasz Magiera
3b6c079014 Some final parameter setting for devent 7 2019-11-09 01:18:15 +01:00
Łukasz Magiera
28367c5ba1
Merge pull request #515 from steven004/weight
minor weight function change
2019-11-09 01:04:50 +01:00
Łukasz Magiera
47b5420615 Revert BlockDelay to 10s 2019-11-09 00:26:53 +01:00
Łukasz Magiera
27485777f0 Merge remote-tracking branch 'origin/master' into feat/interactive-porep 2019-11-08 21:45:06 +01:00
Łukasz Magiera
071f05fa95 Storage miner API improvements 2019-11-08 19:23:58 +01:00
wanghui
2560c091da make long number param readable 2019-11-08 16:40:02 +08:00
Łukasz Magiera
f7651f180b Create filler deals 2019-11-07 00:09:48 +01:00
Łukasz Magiera
be58a51f9f paramfetch: env var to not check param files each time 2019-11-06 13:03:59 +01:00
Łukasz Magiera
ed5ccfd750 Merge remote-tracking branch 'origin/devnet/7' into feat/interactive-porep 2019-11-05 18:53:19 +01:00
Łukasz Magiera
d1b1b6f79f revert BlockDelay to 10s 2019-11-05 18:41:04 +01:00
Łukasz Magiera
1f56bcf581 Some param changes 2019-11-05 17:15:52 +01:00
Łukasz Magiera
3bc4a5dddf More progress on fixing storing garbage data 2019-11-02 00:43:54 +01:00
steven004
a917ffee16 minor code change, no function impact 2019-10-31 18:54:13 +08:00
yaohcn
9c57ca03d9 use IPFS_GATEWAY 2019-10-31 18:21:37 +08:00
steven004
f35c8fe426 No AdjustmentPeriod anyu more 2019-10-31 18:11:57 +08:00
yaohcn
a51cbe4081 specific ipfs gateway 2019-10-31 17:41:11 +08:00
Łukasz Magiera
dd9d6c4ef0 Update sectorbuilder, v15 params 2019-10-30 18:40:48 +01:00
whyrusleeping
3e5654d575 initial actor changes for interactive porep 2019-10-30 16:05:31 +01:00
Łukasz Magiera
f6ba2f0b9d Devnet 6 2019-10-29 13:56:20 +01:00
Łukasz Magiera
6f73e8bf2f 10s block time 2019-10-28 19:25:24 +01:00
Łukasz Magiera
6d766ab241 Set e=3 2019-10-28 19:22:40 +01:00
Łukasz Magiera
ac98c8f451 Use spec complaiant SealRandomnessLookback 2019-10-28 18:14:24 +01:00
Łukasz Magiera
237f8e8018 Set proving params matching the spec more closely 2019-10-28 17:51:45 +01:00
Łukasz Magiera
117ec636c5 paramfetch: check checksums in parallel 2019-10-27 10:18:27 +01:00
whyrusleeping
5257b1cce1 should use the new parameters 2019-10-25 18:09:11 +02:00
whyrusleeping
5bed18de48 add 256MB sectors 2019-10-25 17:26:15 +02:00
whyrusleeping
4890f577f5 give miners the ability to select different sector sizes 2019-10-25 17:26:15 +02:00
Łukasz Magiera
64bfb38834 on chain deals: Get things to actually run! 2019-10-23 12:44:00 +02:00
Jakub Sztandera
1bf713cb0a
Cleanup imports after rename
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-18 13:47:41 +09:00
Łukasz Magiera
f620ecea5e Devnet 6 2019-10-17 03:09:17 +02:00
Łukasz Magiera
f0ff51ff8e Devnet 5 2019-10-15 15:46:24 +02:00
Łukasz Magiera
2ce338e162 wip weight function 2019-10-15 14:31:34 +02:00
Łukasz Magiera
16a9ab875c Prep for e=5 2019-10-15 14:31:34 +02:00
Jakub Sztandera
2a9ab727c8
Make version print nicely
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-09 22:18:53 +02:00
Łukasz Magiera
59e8cbbdfa Devnet 4 2019-10-09 15:24:54 +02:00
whyrusleeping
67058aee53 make it a const 2019-10-09 21:55:27 +09:00
Łukasz Magiera
752654ab03 Devnet 3; Builtin bootstrap; NAT Port Map 2019-10-09 05:16:35 +02:00
whyrusleeping
684e8e27fc use proper const 2019-10-08 09:28:13 +09:00
Łukasz Magiera
32df3e4f90 Depoly testnet v3 2019-10-04 22:05:29 +02:00
Łukasz Magiera
d5e909425a Depoly testnet v2 2019-10-03 18:59:15 +02:00
Łukasz Magiera
1534536590 Store libp2p key in keystore 2019-10-03 02:11:31 +02:00
Łukasz Magiera
51f03026d5
Merge pull request #260 from filecoin-project/feat/builtin-paramfetch
Built in paramfetch
2019-10-03 01:37:37 +02:00
Łukasz Magiera
2dbd92073f paramfetch review 2019-10-03 01:36:33 +02:00
whyrusleeping
10a5dd15f7 fix a couple small bugs 2019-10-02 15:12:37 -06:00
Łukasz Magiera
713f08e9bf move genesis loading to build pkg 2019-10-02 22:40:14 +02:00
Łukasz Magiera
05878f4320 Built in paramfetch 2019-10-02 19:20:30 +02:00
Jakub Sztandera
09f1e1e213 Improve reward paramameter
With this parameter amount of FIL distributed after 6y is equal to
`50% - 3.94311e-12FIL`

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-28 18:29:10 +02:00
Whyrusleeping
47bf759122
Merge pull request #223 from filecoin-project/feat/block-reward
working on correct block reward
2019-09-27 15:08:54 -07:00
Jakub Sztandera
76ab2e8a7b De-javify
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-28 00:02:02 +02:00
Jakub Sztandera
b90f45fa60 Change build params
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-27 23:42:12 +02:00
Whyrusleeping
b611637652
Apply suggestions from code review
Co-Authored-By: Łukasz Magiera <magik6k@users.noreply.github.com>
2019-09-27 13:47:10 -07:00
Jakub Sztandera
bd4924aa56 Update to better const without AdustmentPeriod
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-27 01:32:31 +02:00
Jakub Sztandera
ef5e7674db Use incremental alg for rewards
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-27 00:33:38 +02:00
Łukasz Magiera
99c9221082 all-in-one paramfetch 2019-09-26 12:13:43 -07:00
Łukasz Magiera
a2a2169ef8 Setup first devnet params 2019-09-26 12:13:43 -07:00
Łukasz Magiera
caa767e081 Incremental deal payments 2019-09-24 23:13:47 +02:00
Łukasz Magiera
0ed035d0ff build: organize params 2019-09-24 13:16:26 +02:00
Łukasz Magiera
5fa1a74e74 Bump test genesis token amount 2019-09-24 13:02:54 +02:00
whyrusleeping
47d12417b3 working on correct block reward 2019-09-23 21:15:18 -07:00
Łukasz Magiera
9a990dbd8a use new sectorbuilder file interfaces 2019-09-23 12:50:28 +02:00
Łukasz Magiera
4202da62cd
Merge pull request #216 from filecoin-project/feat/consensus-slashing
Feat/consensus slashing
2019-09-20 16:58:03 +02:00
whyrusleeping
197a2a3025 slash consensus fault needs to also be a method on the miner 2019-09-19 22:24:23 -07:00
whyrusleeping
fe020d9fd1 implement SlashConsensusFault 2019-09-19 22:23:24 -07:00
Łukasz Magiera
839597012d Fix post seed height math 2019-09-19 19:38:56 +02:00
Łukasz Magiera
c40f89f2a9 Almost working PoSt submission 2019-09-19 18:17:54 +02:00
Jakub Sztandera
54e076b6f9 Add randomness
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-19 15:32:00 +02:00
whyrusleeping
7bbf9f2baf use http because i don't have a cert 2019-09-17 15:47:12 -07:00
whyrusleeping
3a7132e8f4 use gateway of dedicated ipfs node for param downloads 2019-09-16 12:14:06 -07:00
Jakub Sztandera
6eef3a6d64 Update sectorbuilder
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-16 14:47:55 +02:00
whyrusleeping
ebcf0215f0 pull ipget from dists and use it 2019-09-13 15:29:38 -07:00
Jakub Sztandera
adb0910162
Merge pull request #184 from filecoin-project/feat/cache-params
Cache params
2019-09-10 18:30:22 +02:00
Jakub Sztandera
a12233ae42 Verify hash before downloading
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-10 17:26:53 +02:00
whyrusleeping
ed45d1c2b4 refactor state utilities into StateManager package, implement proper election proofs 2019-09-09 19:14:00 -07:00
Łukasz Magiera
4a5aa680ae deals: Address review 2019-09-09 21:21:37 +02:00
Łukasz Magiera
8b29c98919 paych actor: pass verification errors 2019-09-09 15:55:06 +02:00
Jakub Sztandera
4e733c7f62 Use bash strict mode
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-09-07 01:56:50 +02:00
Łukasz Magiera
c034f0d763
Merge pull request #179 from filecoin-project/feat/events
Chain event helper
2019-09-05 11:25:24 +02:00
Łukasz Magiera
8c3d0e1a4a Simpler paramfetch 2019-09-04 12:10:07 +02:00
Łukasz Magiera
5f88ceb965 basic chain event impl 2019-09-03 19:45:55 +02:00
Jakub Sztandera
2e9d4301e1 Cleanup benchmarks
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-08-30 15:47:55 -07:00
Łukasz Magiera
57d0f7c722
Merge pull request #162 from filecoin-project/feat/retrieval
Retrieval
2019-08-31 00:29:00 +02:00
whyrusleeping
b69557251c Add proper timestamping and checking of timestamps 2019-08-29 19:59:54 -07:00
Łukasz Magiera
eedd098295 retrieval: set params back to 1024 2019-08-29 21:00:12 +02:00
Łukasz Magiera
c87d9dc4b4 Extract go-fil-proofs 2019-08-29 17:51:06 +02:00
Łukasz Magiera
a5d3122ba5 Make deals work with chunked files 2019-08-29 17:50:19 +02:00
Łukasz Magiera
c0566399c6 retrieval: Way to get the data 2019-08-29 17:50:19 +02:00
Łukasz Magiera
6714240653 SectorSize const 2019-08-29 17:50:19 +02:00
Łukasz Magiera
60eedb699e retrieval: Client impl 2019-08-29 17:48:58 +02:00
Łukasz Magiera
8d529d1ae7 gofmt 2019-07-24 01:47:36 +02:00
Łukasz Magiera
677f5c3e30 Check full node version in storageminer init 2019-07-24 01:47:36 +02:00
Łukasz Magiera
0f8f61fc7b more lint fixes 2019-07-02 19:45:03 +02:00
Łukasz Magiera
8417f515a1 Initial structure
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
2019-07-01 23:11:33 +02:00