Commit Graph

394 Commits

Author SHA1 Message Date
Jakub Sztandera
5605aae269
Fix even more lint warnings
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-02 16:29:39 +02:00
Łukasz Magiera
a49dc90386 Fix version test 2020-06-01 21:11:37 +02:00
Łukasz Magiera
64f4e80446 Include build type in version 2020-06-01 20:49:39 +02:00
Jakub Sztandera
d6615b6286
Cleanup many lint warnings
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-27 22:53:20 +02:00
Łukasz Magiera
6386107b80
Merge pull request #1819 from filecoin-project/feat/new-drand-client
Switch to new drand client
2020-05-27 14:35:01 +02:00
Jakub Sztandera
218b2b82c1
Update drand chain info
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-27 14:09:04 +02:00
Jakub Sztandera
b06b0147a9
Switch to new drand client
This is a preview of a change to new drand client.

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-05-27 13:52:33 +02:00
Łukasz Magiera
fa4ff89dca Set devnet params 2020-05-26 19:58:09 +02:00
Jeromy
33ec4d332b cache signatures, and dont check them in a lock 2020-05-15 10:56:38 -07:00
Whyrusleeping
934b2df763
Merge pull request #1739 from filecoin-project/feat/testnet-phase-2
Testnet Phase 2 network info
2020-05-14 11:36:56 -07:00
Travis Person
aafa00abe4 Testnet Phase 2 network info 2020-05-14 16:29:17 +00:00
Łukasz Magiera
d009b70171
Merge pull request #1727 from filecoin-project/fix/init-sector-size
properly handle parsing of miner init sector sizes
2020-05-14 12:37:47 +02:00
Jeromy
50fae56baf Verify data for presealed data 2020-05-13 19:35:44 -07:00
Jeromy
e34b20b839 fix nondeterminism 2020-05-13 13:21:46 -07:00
Łukasz Magiera
4c64f0ca11 sync: enforce message gas limits 2020-05-13 03:36:56 +02:00
Łukasz Magiera
dcd42eec11 Update sector-storage 2020-05-12 20:33:46 +02:00
Łukasz Magiera
ba389598ee Cleanup build package 2020-05-12 19:59:28 +02:00
Łukasz Magiera
4ea021d151 Merge pull request #1701 from filecoin-project/asr/syncvalidity
Message validation changes
2020-05-12 13:48:33 +02:00
Aayush Rajasekaran
6bf2dcd97c Message validation changes 2020-05-11 21:54:44 -04:00
Łukasz Magiera
6002e359ae Updates for 64G sectors 2020-05-11 22:24:42 +02:00
Łukasz Magiera
66d67f66a7 Merge pull request #1685 from filecoin-project/feat/v26
v26 proofs
2020-05-08 22:14:41 +02:00
Jeromy
0f75cb4dfd set minimum miner size to 2g 2020-05-06 22:05:43 -07:00
Łukasz Magiera
75642f393d v26 2020-05-07 01:22:59 +02:00
Travis Person
a29f19e482 New drand network 2020-04-30 04:55:53 +00:00
Aayush Rajasekaran
ae47bc15ff Remove / rename fallback post stuff 2020-04-28 13:39:35 -04:00
Łukasz Magiera
9f9ae155e3 windowed post: Review cleanup 2020-04-21 23:38:33 +02:00
Łukasz Magiera
a86595bc88 Use nicer DeadlineInfo struct 2020-04-20 19:34:08 +02:00
Jeromy
91f56742c4 Use lookback to get sector set and power for miners 2020-04-17 16:44:18 -07:00
Łukasz Magiera
93b2b6d65d Merge branch 'testnet/3' into feat/windowed-post 2020-04-17 18:38:20 +02:00
Łukasz Magiera
cdbf79fff5 non-debug 2k sector build mode 2020-04-17 17:58:20 +02:00
Łukasz Magiera
afdfc8807d api: Single method for static miner info 2020-04-16 19:36:36 +02:00
Łukasz Magiera
149bb56b8e wip updates to sector set handling 2020-04-15 21:59:11 +02:00
Jakub Sztandera
c34fb24cef Reove 2048 min power in shared params
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-15 16:49:17 +02:00
Jakub Sztandera
0feab0aad4 Bake drand public key into build params
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-14 22:34:44 +02:00
Jeromy
674be39af1 real drand network integration 2020-04-13 20:06:10 -07:00
Łukasz Magiera
072dd8b744 Merge remote-tracking branch 'origin/testnet/3' into feat/windowed-post 2020-04-10 20:38:25 +02:00
Jakub Sztandera
ce4978d8c3 Reintroduce correct ticket randomness alongside ElectionProof
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-08 21:06:41 +02:00
Jakub Sztandera
afdb1db529 drand wip
,
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-07 15:32:23 -07:00
Łukasz Magiera
09aa1507c8 v25 proof parameters 2020-04-07 21:59:22 +02:00
Travis Person
6603fc5975 Add new bootstrapper 2020-04-07 05:09:46 +01:00
Travis Person
298e942edf New interop network info 2020-04-07 03:50:15 +01:00
Łukasz Magiera
6284fad33e fsm: Implement handlers for Commit errors 2020-04-03 19:45:48 +02:00
Travis Person
698f529602 New interop network info 2020-04-02 23:02:40 +01:00
Travis Person
c41ad767c5 New interop network info 2020-04-02 05:55:24 +01:00
Łukasz Magiera
13f2c21e1d Get network name from genesis 2020-04-01 01:15:49 +02:00
Travis Person
663e2874a1 New interop network info 2020-03-31 19:38:43 +01:00
Travis Person
93a90fbe82 New interop network info 2020-03-27 03:45:57 +00:00
Travis Person
a2162672a7 New interop network info 2020-03-24 17:49:57 +00:00
whyrusleeping
438aac190f use proper lookback, and proper serialization for randomness generation 2020-03-20 12:20:56 -07:00
Travis Person
da631478a8 New interop network info 2020-03-19 00:22:59 +00:00
Łukasz Magiera
500ce56371 Merge pull request #1415 from filecoin-project/fix/debug-miner-size
Fix/debug miner size
2020-03-18 21:00:16 +01:00
whyrusleeping
24fb72f926 Set minimum miner size to 2048 bytes in debug mode 2020-03-17 20:30:55 -07:00
Łukasz Magiera
1bc55714ed Update to v24 params 2020-03-14 03:45:44 +01:00
Travis Person
66add465bd new interoptnet 2020-03-11 08:02:15 +00:00
whyrusleeping
14f9724bc9 Don't double account for miner power when setting up genesis blocks 2020-03-10 15:42:41 -07:00
Travis Person
d19f5e411c new interoptnet 2020-03-10 06:45:26 +00:00
Łukasz Magiera
24956a49f4 gofmt 2020-03-09 22:47:58 +01:00
Łukasz Magiera
1647798396 build: Remove unused vars, fix debug build 2020-03-09 07:54:29 +01:00
Travis Person
ba0c667cad New interopt network info 2020-03-09 05:12:53 +00:00
whyrusleeping
ab51c7e2d2 Fix fallback post scheduling to hopefully do the right thing 2020-03-08 00:19:38 -08:00
Łukasz Magiera
bd708fa205 Merge pull request #1347 from filecoin-project/fix/reward-balance
fix initial reward actor balance
2020-03-07 07:10:15 +01:00
Travis Person
ea38116571 interoptnet 2020-03-07 03:50:08 +00:00
whyrusleeping
34ad13fc22 fix initial reward actor balance 2020-03-06 17:33:24 -08:00
Travis Person
bc5cd3c2a1 reduce minimum to 2GiB 2020-03-06 07:17:28 +00:00
whyrusleeping
56cb88819c add 512MB params to testnet in non-debug mode 2020-03-05 16:41:06 -08:00
whyrusleeping
d6723935b9 fixup to match spec, move constants to common location 2020-03-03 15:48:25 -08:00
Łukasz Magiera
4dc35285dd Minimum sector size is now 2k 2020-02-28 01:48:34 +01:00
Łukasz Magiera
9161b865f3 v23 parameters.json 2020-02-28 01:08:43 +01:00
Łukasz Magiera
d787aa5007 Merge branch 'testnet/3' into feat/specs-actors 2020-02-24 18:32:02 +01:00
Łukasz Magiera
def0e0a7a1 Merge remote-tracking branch 'origin/master' into testnet/3 2020-02-24 17:30:46 +01:00
Łukasz Magiera
917df9a5b8 More unified randomness handling 2020-02-23 21:00:47 +01:00
Łukasz Magiera
49ece5fddf storageminer: Fix build 2020-02-21 19:20:22 +01:00
Travis Person
a898b18fd6 bump version to 0.2.8 2020-02-20 21:48:17 +00:00
Łukasz Magiera
69ec3c205a Merge remote-tracking branch 'origin/master' into testnet/3 2020-02-19 22:10:14 +01:00
Jakub Sztandera
5c3ed4d91a
Remove ffi from types package
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-02-12 18:41:35 +01:00
Łukasz Magiera
7e70536bf1 specs-actors: Finish type cleanup 2020-02-10 19:21:10 +01:00
Łukasz Magiera
13435aebdc Spec Actors integration 2020-02-08 03:18:32 +01:00
whyrusleeping
faf05cafcf squash forks and use correct amt library everywhere 2020-02-04 18:26:42 -08:00
Whyrusleeping
f752770a47
Merge pull request #1185 from filecoin-project/fork/snowball
WIP, fork, fix slashing power calc
2020-01-30 21:31:37 -08:00
whyrusleeping
c071b2dc47 move back fork point, set new version 2020-01-30 21:15:00 -08:00
whyrusleeping
19a65319ee test and fix fork, add bigint parsing to lotus shed 2020-01-30 18:14:20 -08:00
Łukasz Magiera
aefc463586 build: Lazy ParametersJson 2020-01-30 23:50:24 +01:00
Jakub Sztandera
f2340579a5
Fix power calculations
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-30 14:01:47 -08:00
Jakub Sztandera
bcbfc931ba
Intoroduce advance-block command
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-29 14:40:19 -08:00
whyrusleeping
0ed981be19 Bump version following blocksync bugfixes 2020-01-24 13:58:57 -08:00
Łukasz Magiera
0b8ae006d3 Schedule the fork at 11000 2020-01-19 17:37:28 +01:00
Łukasz Magiera
55fd0a4e60 stmgr: Exetute miner amt after correctly switching to amt2 in miner code 2020-01-19 17:27:43 +01:00
Łukasz Magiera
3c4acbc6cb
Merge pull request #1107 from dtynn/feat/bootybay-fork
correctly update proving set & sector set with amt2
2020-01-19 17:22:23 +01:00
dtynn
ae8a9a93bf correctly update proving set & sector set with amt2 after some fork height 2020-01-18 19:41:34 +08:00
Richard Patel
c3d5a9848b
params_debug.go: remove $TRUST_PARAMS override 2020-01-18 10:38:51 +01:00
whyrusleeping
bc83c0221b bump that version 2020-01-17 21:45:51 -08:00
whyrusleeping
f9ea6969c3 Catch cases where new old miners with bad code were getting made 2020-01-17 21:20:56 -08:00
whyrusleeping
6ccf24ce6c Fix miner tests, push back fork time 2020-01-16 23:10:47 -08:00
whyrusleeping
ee4f503e10 Set fork height 2020-01-16 22:47:27 -08:00
whyrusleeping
055b215bc7 don't allow slashing with old blocks 2020-01-16 22:14:00 -08:00
whyrusleeping
fb173c058e WIP: blizzard fork changes and test utilities 2020-01-16 18:33:43 -08:00
whyrusleeping
2edb32979f move fork constant and tag fork branch with comment 2020-01-16 15:11:08 -08:00
whyrusleeping
e3bed8d12a Catch passing duplicate block to arbitrate consensus fault 2020-01-16 15:11:08 -08:00
Łukasz Magiera
5e11da7316 build: bump version 2020-01-14 16:53:05 +01:00
Jakub Sztandera
ce8c2fd656
Bump version
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-14 13:37:20 +01:00
Travis Person
488a156e6f New testnet2 genesis 2020-01-14 03:10:31 +00:00
Łukasz Magiera
d9c803ea9e
Merge pull request #1062 from filecoin-project/feat/no-more-1gb-sectors
remove support for 1gb sectors
2020-01-14 00:21:21 +01:00
whyrusleeping
0414e99fe7 remove support for 1gb sectors 2020-01-13 15:18:26 -08:00
Travis Person
9298d183bf Add bootstrap peers and genesis 2020-01-13 22:08:11 +00:00
Łukasz Magiera
b7e35ae3ed
Merge pull request #1042 from filecoin-project/feat/limit-seal-proof-lookback
Set hard limit on maximum randomness lookback for seal proof submissions
2020-01-09 01:14:46 +01:00
whyrusleeping
7ba34535b7 Set hard limit on maximum randomness lookback for seal proof submissions 2020-01-08 14:43:03 -08:00
Łukasz Magiera
8cbcbbd7a4 Merge branch 'feat/testnet2' of github.com:filecoin-project/go-lotus into feat/testnet2 2020-01-08 22:44:54 +01:00
Łukasz Magiera
36a5c7d8f5 Merge branch 'master' into feat/testnet2 2020-01-08 22:38:45 +01:00
Łukasz Magiera
da38822dfd paramfetch: bring parameters.json back to this repo 2020-01-08 21:31:35 +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
Jakub Sztandera
b5328d01cf
Update to go-log v1.0.1
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-08 20:20:56 +01:00
Łukasz Magiera
f32bacb32d v0.1.6 2020-01-08 18:42:19 +01:00
Łukasz Magiera
1392dcc273 Merge remote-tracking branch 'origin/master' into feat/testnet2 2020-01-08 13:53:01 +01:00
Łukasz Magiera
a11e8093e5 mpool: Return CID in MpoolPush 2020-01-07 21:10:30 -08:00
Łukasz Magiera
7b134b8317
Merge pull request #1031 from filecoin-project/feat/block-message-limit
introduce a limit on the number of messages a block can have
2020-01-07 21:48:57 +01:00
Łukasz Magiera
22e9815928 Merge remote-tracking branch 'origin/master' into feat/testnet2 2020-01-07 21:45:30 +01:00
whyrusleeping
a109ae1490 introduce a limit on the number of messages a block can have 2020-01-07 12:41:26 -08:00
laser
abf6acc211 moved logger from paramfetch.go (no longer in lotus) to genesis.go 2020-01-07 07:48:44 -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
605562467d Flatten fork code for testnet2 2020-01-06 19:39:57 +01:00
Łukasz Magiera
8e54cd8042 v0.1.5 2019-12-20 09:34:05 +01:00
Łukasz Magiera
ed3a2b0025 Set correct head in forkNoPowerEPS 2019-12-20 08:30:12 +01:00
whyrusleeping
088e836393 bump version to 0.1.3 2019-12-19 15:24:00 -08:00
Łukasz Magiera
4a59bcda1f Set ForkNoPowerEPSUpdates to trigger at 16450 2019-12-19 22:10:24 +01:00
Łukasz Magiera
3f54cbabe0 FORK: No power EPS Fix 2019-12-19 19:47:25 +01:00
Jakub Sztandera
0eb7991bbd
Fix version check
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-17 16:26:16 +01:00
Łukasz Magiera
11d11c88ae
Revert "Refactor versions" 2019-12-17 16:16:57 +01:00
Jakub Sztandera
5c64859a9b
Fix merge conflict
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-17 02:50:52 +01:00
Jakub Sztandera
867cba610b
Refactor versions
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-17 00:43:43 +01:00
Łukasz Magiera
3fda442bb3
Merge pull request #934 from filecoin-project/feat/sb-diskmgr
sectorbuilder: Check free space before creating sectors
2019-12-16 21:37:18 +01:00
Łukasz Magiera
1383bfa0eb sectorbuilder: fs: address review 2019-12-16 20:19:26 +01:00
whyrusleeping
159117e720 dont allow submitting blocks more than a second in the future 2019-12-15 16:43:32 -08:00
Łukasz Magiera
3b56845f98 Version 0.1.1 2019-12-12 14:54:42 +01:00
Łukasz Magiera
e1acacaa95
Merge pull request #890 from filecoin-project/feat/fix-candidate-check
Fix candidate check
2019-12-12 14:51:22 +01:00
Jakub Sztandera
c8946fc4c6
Bump to 1750
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-12 14:41:06 +01:00
Jakub Sztandera
1eed506728
Implement fork
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-12 14:16:47 +01:00
Jakub Sztandera
9589fc0762
Add version commit string
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-11 23:00:39 +01:00
Łukasz Magiera
4beb6a4d73 Testnet 2019-12-11 18:38:51 +01:00
Łukasz Magiera
4ad24c407c rename build/params_testnet.go 2019-12-11 17:55:42 +01:00
Łukasz Magiera
37113aeab1 Final testnet params 2019-12-11 17:27:30 +01:00
Łukasz Magiera
613bb25297 sectors: Handle sector state reload errors more gracefully 2019-12-11 15:17:38 +01:00
Łukasz Magiera
e6dd471103 Version fixes 2019-12-11 01:22:58 +01:00
Łukasz Magiera
d576e13bec Update filecoin-ffi 2019-12-10 22:04:26 +01:00
Łukasz Magiera
d21c05bd85 paramfetch: respect FIL_PROOFS_PARAMETER_CACHE 2019-12-10 13:15:10 +01:00
Łukasz Magiera
19e57ab3ed Update PaymentChannelClosingDelay 2019-12-10 11:52:24 +01:00
Łukasz Magiera
5b90121577 Set devnet params 2019-12-10 00:02:35 +01:00
whyrusleeping
e27217c6a1 fix sync tests 2019-12-09 22:17:15 +01:00
whyrusleeping
d64f8a38d1
implement a minimum miner size
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-09 21:30:04 +01:00
Łukasz Magiera
55c1432347 Handle reverts in precommit more correctly 2019-12-08 23:35:46 +01:00
Łukasz Magiera
45690747cb Bump version 2019-12-05 16:46:48 +01:00