diwufeiwen
d873d8489d
Update miners.go
...
Remove code that does n’t make sense
2020-04-22 10:00:57 +08:00
Łukasz Magiera
9f9ae155e3
windowed post: Review cleanup
2020-04-21 23:38:33 +02:00
Łukasz Magiera
24c764c91e
Don't print QAPower as bytes
2020-04-21 21:46:50 +02:00
Łukasz Magiera
f10eed3ae3
genesis: Setup verifier registry
2020-04-21 20:25:43 +02:00
Łukasz Magiera
9923c909c1
Merge remote-tracking branch 'origin/testnet/3' into feat/windowed-post
2020-04-21 19:28:00 +02:00
Łukasz Magiera
c406b875fa
gofmt, mod tidy
2020-04-21 19:23:49 +02:00
Łukasz Magiera
8be9494672
windowed post: Get correct sector set
2020-04-21 19:22:53 +02:00
Łukasz Magiera
f43ce74604
Update specs-actors
2020-04-21 16:32:17 +02:00
Łukasz Magiera
00eb0e6378
genesis: Add sectors to NewSectors set
2020-04-21 14:36:54 +02:00
Łukasz Magiera
ecc38d1bd8
sync: env var to fix drand
2020-04-20 20:33:53 +02:00
Łukasz Magiera
d99f40797e
sync: env var to fix drand
2020-04-20 19:43:02 +02:00
Łukasz Magiera
6dd2f5369e
genesis: Fix importing 8k+ deals
2020-04-20 15:54:06 +02:00
Łukasz Magiera
f11b1bbbeb
mpool: get nonce for correct address
2020-04-18 02:25:43 +02:00
Jeromy
91f56742c4
Use lookback to get sector set and power for miners
2020-04-17 16:44:18 -07:00
Łukasz Magiera
3b7ae0d6d9
mod tidy, gofmt
2020-04-18 00:02:43 +02:00
Łukasz Magiera
712e2683d6
miner: proving info commands
2020-04-18 00:02:18 +02:00
Jeromy
24b7661837
fix up some tests
2020-04-17 13:44:13 -07:00
Łukasz Magiera
e6270e4291
Update fsm; get sectorset form correct ts
2020-04-17 21:49:32 +02:00
Łukasz Magiera
a40872f74d
Merge pull request #1554 from filecoin-project/feat/increase-gen-gas
...
increase gas limit during genesis generation
2020-04-17 19:54:55 +02:00
Łukasz Magiera
8e13920e7b
cbor-gen
2020-04-17 19:53:09 +02:00
Łukasz Magiera
93b2b6d65d
Merge branch 'testnet/3' into feat/windowed-post
2020-04-17 18:38:20 +02:00
Łukasz Magiera
bab352fb44
Wireup WinningPost validation
2020-04-17 16:47:19 +02:00
Jeromy
708988244d
WIP: working on winning post integration
2020-04-16 22:39:55 -07:00
Jeromy
4153f128ef
a more betterer supply impl
2020-04-16 16:03:38 -07:00
Łukasz Magiera
706c0b8d3a
Stub syscalls.TotalFilCircSupply
2020-04-17 00:19:54 +02:00
Łukasz Magiera
918b759d03
mpool: Fix PushWithNonce for ID addresses
2020-04-16 23:06:31 +02:00
Łukasz Magiera
50a8b6a184
Update GetMinerSlashed
2020-04-16 22:52:40 +02:00
Whyrusleeping
0db5fc422a
Merge pull request #1534 from filecoin-project/patch/syscalls
...
VerifyConsensusFault syscall impl
2020-04-16 13:33:58 -07:00
Henri S
8594af970f
fix typo:
2020-04-16 15:52:49 -04:00
Aayush Rajasekaran
6a8e4bf87e
Lower a log level
2020-04-16 15:34:01 -04:00
Aayush Rajasekaran
14ad808a00
Remove unused fields from VM
2020-04-16 15:34:01 -04:00
Łukasz Magiera
afdfc8807d
api: Single method for static miner info
2020-04-16 19:36:36 +02:00
Łukasz Magiera
8338be3a6e
Fix genesis creation
2020-04-16 19:17:56 +02:00
Łukasz Magiera
98f3cab24e
Update specs-actors
2020-04-16 18:41:45 +02:00
Łukasz Magiera
246a9f0e45
gofmt
2020-04-15 22:41:20 +02:00
Łukasz Magiera
85993848be
bring back api.StateMinerProvingSet
2020-04-15 22:40:46 +02:00
Łukasz Magiera
0336b32fcd
windowpost: Wire up challenge generation
2020-04-15 22:22:58 +02:00
Travis Person
16347270e0
increase gas limit during genesis generation
2020-04-15 20:09:33 +00:00
Łukasz Magiera
149bb56b8e
wip updates to sector set handling
2020-04-15 21:59:11 +02:00
Jakub Sztandera
56eaf143db
fix lint
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-15 16:37:03 +02:00
Jakub Sztandera
08e74a90f9
Add missing files
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-15 16:13:20 +02:00
Jeromy
05536042f9
drop outdated comment
2020-04-14 16:37:10 -07:00
Jeromy
4e6839b5ef
some small cleanup
2020-04-14 15:13:52 -07: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
Jakub Sztandera
0c5e3e2533
Make tests use mock beacon
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-14 20:41:05 +02:00
Jakub Sztandera
eb501f7290
Cache more
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-14 19:55:53 +02:00
Jakub Sztandera
5ab9636365
Call VerifyBeacon, hack around genesis
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-14 16:52:18 +02:00
Jakub Sztandera
624dd7d2ce
Verify PrevRound too
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-14 16:18:34 +02:00
Jakub Sztandera
3e976fd74b
Make tests pass
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-14 16:09:11 +02:00
Jeromy
674be39af1
real drand network integration
2020-04-13 20:06:10 -07:00
Łukasz Magiera
bb3789b130
Fix ADT uses
2020-04-13 23:06:11 +02:00
Łukasz Magiera
2db9c24817
genesis: Update power state construction
2020-04-13 22:41:05 +02:00
Henri S
a4cdfe89fd
fix parent grinding check
2020-04-13 15:55:53 -04:00
Henri S
23dc776bd1
finalize logic, still need to import appropriate fields to the shim
2020-04-13 15:55:53 -04:00
Henri S
aa5cec39ca
first stab
2020-04-13 15:55:53 -04:00
Łukasz Magiera
704978a6ba
genesis: Set ssize in VerifyDealsOnSectorProveCommitParams
2020-04-11 01:46:55 +02:00
Łukasz Magiera
a2554952d1
Some electionPoSt -> winningPoSt renaming
2020-04-11 00:22:45 +02:00
Łukasz Magiera
613e61222b
mostly wire up WindowedPoSt
2020-04-10 23:07:18 +02:00
Łukasz Magiera
1c75bf30ac
genesis: Try updating for QA power
2020-04-10 22:04:04 +02:00
Łukasz Magiera
072dd8b744
Merge remote-tracking branch 'origin/testnet/3' into feat/windowed-post
2020-04-10 20:38:25 +02:00
Łukasz Magiera
0f0015f45c
Merge pull request #1520 from filecoin-project/feat/graphsync-chainsync-extension
...
Update to latest go-fil-markets w/ enhanced Graphsync
2020-04-10 20:27:05 +02:00
Łukasz Magiera
b0fe8b8b4c
v25: get bench to almost work
2020-04-10 14:19:06 +02:00
Łukasz Magiera
70d654e4a6
Merge pull request #1527 from filecoin-project/feat/drand
...
Initial randomness beacon implementation
2020-04-09 19:48:09 +02:00
Jeromy
09b013b7a5
close resp chan
2020-04-09 10:35:43 -07:00
Jeromy
ac271b021d
finish addressing review
2020-04-09 10:13:09 -07:00
Jakub Sztandera
7ee6388686
Make drand build
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-09 14:39:51 +02:00
Jeromy
1a3ab63e47
WIP: drand client integration
2020-04-08 19:55:17 -07:00
Jeromy
c5c18659a4
address some review
2020-04-08 17:24:10 -07:00
Jeromy
ef6fb1b756
rename beacon to randombeacon
2020-04-08 16:10:08 -07:00
Aayush Rajasekaran
17e9feb633
Sever the API's dependency on VM
2020-04-08 18:27:31 -04:00
Jakub Sztandera
1bd28bdb6a
Fix lint errors
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-08 21:37:04 +02:00
Jakub Sztandera
661d373fa2
Fix blockheader tests
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-08 21:27:55 +02:00
Jakub Sztandera
d71ba5039b
Merge branch 'feat/drand' of github.com:filecoin-project/lotus into feat/drand
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-08 21:08:35 +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
Jeromy
be85f2aff7
handle beacon gaps
2020-04-08 10:49:50 -07:00
Jakub Sztandera
9a17beba9e
Skip block header test vectors
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-08 18:48:47 +02:00
Jakub Sztandera
f1c890ca54
Tests pass
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-08 18:31:16 +02:00
Jeromy
8e0ca306d2
more wiring up of drandomness
2020-04-08 08:11:42 -07:00
hannahhoward
00cd89750d
feat(deps): update fil-markets, graphsync
...
Updates dependencies for graphsync, fil-markets, data-transfer. Moves to new graphsync blockstore
swapping capabilities, and also locks down graphsync impl so it does not accept arbitrary requests
2020-04-07 23:25:29 -07:00
Jeromy
056284c00b
wip: chain sync winner check
2020-04-07 15:54:01 -07:00
Jakub Sztandera
9fd1b95fd5
Fix build errors
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-07 15:32:23 -07:00
Jakub Sztandera
9c250f24fa
Nex wip
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-07 15:32:23 -07:00
Jakub Sztandera
afdb1db529
drand wip
...
,
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-07 15:32:23 -07:00
Jeromy
7075eaba26
WIP: random beacon interface
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-04-07 15:32:23 -07:00
Łukasz Magiera
086a66efc9
Merge pull request #1517 from filecoin-project/feat/lotus-agnostic-node-interface
...
remove lotus types from sealing package in preparation for extraction
2020-04-07 00:42:30 +02:00
Łukasz Magiera
4ee8254133
Merge pull request #1510 from filecoin-project/feat/fsm-updates
...
FSM Updates
2020-04-06 23:11:46 +02:00
laser
2f4732760a
update CBOR encoders/decoders
2020-04-06 13:35:29 -07:00
Jeromy
3ad16c58d7
cache address resolutions in state tree
2020-04-06 12:32:22 -07:00
Łukasz Magiera
68fa9f20c3
Merge pull request #1511 from filecoin-project/fix/runtime-exit-edge-cases
...
handle some runtime error edge cases
2020-04-06 20:34:22 +02:00
Łukasz Magiera
f05be81275
fsm: Get correct interactive randomness if it lands on a nullblock
2020-04-04 04:57:05 +02:00
Jeromy
bb6e8de056
cache address resolutions in state tree
2020-04-03 16:26:52 -07:00
Jeromy
ab51501849
remove todo
2020-04-03 15:50:52 -07:00
Jeromy
2d5becaaba
further removals
2020-04-03 15:05:59 -07:00
Jeromy
4c6fa1b2c0
handle some runtime error edge cases
2020-04-03 14:38:11 -07:00
Łukasz Magiera
a1b35aa9d5
Change api.SectorState to a string
2020-04-03 18:29:31 +02:00
Jeromy
7a475d5ca5
drop outdated comment
2020-04-02 18:52:18 -07:00
Jeromy
89b15c03cf
nil out layers when dropping to allow for GC
2020-04-02 18:20:49 -07:00
Jeromy
212c346c21
avoid flushing disk when doing state tree snapshots
2020-04-02 17:18:25 -07:00
Łukasz Magiera
11777c5f24
Merge pull request #1502 from filecoin-project/feat/import-bench
...
add a command to lotus-bench to benchmark importing and validating
2020-04-03 01:30:12 +02:00
Jeromy
beaa3dffab
add a command to lotus-bench to benchmark importing and validating a chain
2020-04-02 16:18:38 -07:00