whyrusleeping
034f0cc479
track sync errors in status
2019-12-03 19:56:29 -08:00
whyrusleeping
2d15e925cd
WIP: improve timing of mining
2019-12-03 18:53:49 -08:00
Łukasz Magiera
2619567dfd
Merge pull request #716 from filecoin-project/fix/sectorstore-fails
...
Miner: improve sector state handling
2019-12-04 02:10:30 +01:00
Łukasz Magiera
d112fd18b1
Persist sector sealing errors
2019-12-04 01:44:29 +01:00
whyrusleeping
4206744d7b
fix log message in chainstore
2019-12-03 15:04:52 -08:00
Łukasz Magiera
9bb054a767
slightly cleaner IsRoundWinner
2019-12-03 22:27:07 +01:00
Łukasz Magiera
d79f1c180d
mpool: Make tests pass
2019-12-03 22:09:39 +01:00
Łukasz Magiera
96c04fc0a6
mpool: Make MpoolPending more atomic
2019-12-03 20:33:29 +01:00
Łukasz Magiera
9c6e9212a2
mining: get pending messages early
2019-12-03 19:25:56 +01:00
Łukasz Magiera
6127d82c7b
events: allow get on empty ts cache
2019-12-03 18:41:31 +01:00
Łukasz Magiera
f43ff07ab3
events: Allow revert on empty cache
2019-12-03 18:38:37 +01:00
Łukasz Magiera
5810922441
This helps for some reason
2019-12-03 17:39:47 +01:00
Łukasz Magiera
8e09fd6ca8
Merge pull request #696 from filecoin-project/fix/propagation-delay
...
fix propagation delay to be a sane number
2019-12-03 13:35:25 +01:00
whyrusleeping
c1cd332ff7
impose a maximum sector ID
2019-12-02 23:46:58 -08:00
whyrusleeping
1b8aa2c2b4
fix propagation delay to be a sane number
2019-12-02 20:34:41 -08:00
Łukasz Magiera
7d13b28439
Fix tests using 1k sectors
2019-12-03 02:55:10 +01:00
Łukasz Magiera
f4c082c7de
Merge pull request #690 from filecoin-project/fix/message-nonce-head-change
...
Fix message nonce tracking during head changes
2019-12-03 00:34:11 +01:00
Whyrusleeping
dd6e75f49d
Merge pull request #666 from filecoin-project/feat/election-post
...
Election post restructuring
2019-12-02 15:32:12 -08:00
whyrusleeping
96f17d4408
remove dead code
2019-12-02 15:24:46 -08:00
Łukasz Magiera
adcda68d62
fix winner math
2019-12-03 00:18:27 +01:00
Łukasz Magiera
fd92b8f19a
Type 256 differently
2019-12-02 23:49:41 +01:00
Łukasz Magiera
ab36a5aa04
wip fixing IsTicketWinner
2019-12-02 23:46:49 +01:00
whyrusleeping
481cc63181
add a test for the revert messages issue
2019-12-02 14:33:11 -08:00
whyrusleeping
e366db00fe
fix lame deadlock and revert handling
2019-12-02 14:33:11 -08:00
whyrusleeping
68e25b36f1
rename to avoid stuttering
2019-12-02 14:33:11 -08:00
whyrusleeping
b58e7344e8
pull messagepool into separate package
2019-12-02 14:33:11 -08:00
whyrusleeping
8da3cc875e
Fix message nonce tracking during head changes
2019-12-02 14:33:11 -08:00
Łukasz Magiera
5beb7f4a48
More review fixes
2019-12-02 19:56:27 +01:00
Łukasz Magiera
1cdf6a6f8d
use challangeCount as sampleRate in IsTicketWinner
2019-12-02 15:24:27 +01:00
Łukasz Magiera
d5b94884c8
Buch of lint fixes
2019-12-02 13:51:16 +01:00
Łukasz Magiera
e239fe41d4
Fix Failing tests
2019-12-02 12:34:01 +01:00
Łukasz Magiera
a47fbfa799
Merge branch 'devnet/9' into feat/election-post
2019-12-02 12:25:23 +01:00
Łukasz Magiera
849b9741d9
Merge pull request #673 from filecoin-project/feat/cron
...
actors: Implement cron actor
2019-12-02 12:11:04 +01:00
Łukasz Magiera
fd8f65248b
deals: Correctly set deal ID in provider states
2019-12-01 21:07:57 +01:00
Łukasz Magiera
660ba3f4f6
genesis: set correct NextDealID in SMA
2019-12-01 19:37:23 +01:00
Łukasz Magiera
a59d0f0f8c
Fix unsealing, sector based data refs
2019-12-01 18:58:31 +01:00
whyrusleeping
74be20f864
print better error if no blocksync peers
2019-11-30 22:11:45 -06:00
whyrusleeping
422e25c8e6
self review: some cleanup
2019-11-30 22:02:52 -06:00
Jakub Sztandera
9959234858
Remove usage of go-leb128
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-12-01 01:13:23 +01:00
whyrusleeping
59d9c681ad
Rework miner test setups to fix tests
2019-11-30 17:21:11 -06:00
Łukasz Magiera
d5f78d6659
more verbose logging in node tests
2019-11-30 23:22:26 +01:00
whyrusleeping
6b4fcc0090
progressively getting closer to fixing tests
2019-11-30 11:02:25 -06:00
Jakub Sztandera
c8b21b30ab
Fix id address decoding
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-30 13:46:00 +01:00
whyrusleeping
3b533ed76c
Genesis miner config actually sets the created miner address now
2019-11-29 22:31:26 -06:00
Łukasz Magiera
703bc7e774
Fix slashing / power recovery issues
2019-11-29 21:18:34 +01:00
Łukasz Magiera
adf71f502c
don't print scary errors when miner has no sectors
2019-11-29 20:14:10 +01:00
Łukasz Magiera
ad978949db
import sector/deal into state machines on init
2019-11-29 20:11:42 +01:00
whyrusleeping
01e4958f73
remove debug prints
2019-11-28 21:25:03 -08:00
whyrusleeping
57f6d9e624
correctly predict miner addresses for test
2019-11-28 20:45:30 -08:00
whyrusleeping
3dddcb85e7
tests properly create miners, they just can't mine yet
2019-11-28 20:41:37 -08:00
whyrusleeping
637c28ba55
generator sets up appropriate number of miners
2019-11-28 22:04:46 -06:00
whyrusleeping
ce89ddbd6a
fixing some tests
2019-11-28 21:38:18 -06:00
Łukasz Magiera
cb7d15e67e
genesis setup improvements
2019-11-28 23:50:58 +01:00
Łukasz Magiera
466f1d8cb9
Use ProvingSet for GetSectorsForElectionPost
2019-11-28 19:52:28 +01:00
Łukasz Magiera
6098db4f51
Merge pull request #682 from filecoin-project/feat/election-post-fallback
...
Feat/election post fallback
2019-11-28 19:10:50 +01:00
Łukasz Magiera
367512d067
Some fpost fixes
2019-11-28 19:08:10 +01:00
Łukasz Magiera
920fd3ba9b
storageminer: New fallback post scheduler
2019-11-28 18:44:57 +01:00
Łukasz Magiera
aefd432422
actors: Fallback post progress
2019-11-28 13:46:56 +01:00
Łukasz Magiera
b75767e678
seed: get default sector size from build.SectorSizes
2019-11-28 11:55:34 +01:00
whyrusleeping
7afc0d4dbe
dedupe some code
2019-11-27 21:38:00 -06:00
whyrusleeping
45288b8810
WIP: uncomment out windowed post code, try to make it work
2019-11-27 21:36:34 -06:00
whyrusleeping
8fae155cf6
Add timings for proof verification
2019-11-27 19:43:52 -06:00
Łukasz Magiera
23e0008b81
Merge remote-tracking branch 'origin/master' into feat/election-post
2019-11-27 13:31:44 +01:00
Łukasz Magiera
7952b7525e
Merge pull request #675 from filecoin-project/fix/mpool
...
Fix some Mpool / PoSt sched bugs
2019-11-27 13:24:28 +01:00
Łukasz Magiera
eeb5a14e46
address review
2019-11-27 13:18:22 +01:00
Łukasz Magiera
03b1d2329f
seed: Call AcquireID for sectorIDs
2019-11-27 12:58:16 +01:00
laser
3623925f66
replace go-bls-sigs and go-sectorbuilder with filecoin-ffi
...
- remove old submodules and add new submodule
- update build tooling to consume new unified static library
- update consumers of old libs to use new package
2019-11-26 18:16:37 -08:00
Łukasz Magiera
407f6fa6f8
sync: correct vrfBase for ticket check
2019-11-26 23:54:11 +01:00
Łukasz Magiera
8297feb1d3
Pass correct randomness to EPoSt Verification
2019-11-26 18:29:18 +01:00
Łukasz Magiera
fc72da1d0c
chain: Pass correct prover to VerifyPost
2019-11-26 18:06:05 +01:00
Łukasz Magiera
23900964a1
Fix mixed up CommD/R in genesis creation
2019-11-26 17:35:37 +01:00
whyrusleeping
a98295a747
use the correct sector sizes in places
2019-11-25 20:43:43 -06:00
Jakub Sztandera
6423e5867d
Fix max batch error from badger
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-25 17:04:03 +01:00
Łukasz Magiera
67b22ac22e
stmgr: Fix WaitMessage with more than one msg from single origin
2019-11-25 14:59:12 +01:00
whyrusleeping
a0588d513d
Add lotus-gen, rewire genesis mining
2019-11-24 22:45:13 -06:00
Łukasz Magiera
3cf97c4278
events: Fix nnoce check in CheckMsg
2019-11-24 20:18:49 +01:00
Łukasz Magiera
a755ca5dae
stmgr: check for duplicate nonces when looking back for msg
2019-11-24 20:16:18 +01:00
Łukasz Magiera
c7b34153fb
more mpooland post sched fixes
2019-11-24 17:35:50 +01:00
Łukasz Magiera
43a5172944
mpool: persist local messages
2019-11-23 20:05:18 +01:00
Łukasz Magiera
6af2e946d1
wip mpool fixes
2019-11-23 02:26:40 +01:00
Łukasz Magiera
96023d415e
actors: Implement cron actor
2019-11-22 23:51:44 +01:00
Jakub Sztandera
6aa97fd89a
Fix change validation
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-22 12:31:15 -06: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
whyrusleeping
96482f456a
WIP: election post restructuring
2019-11-21 16:21:45 -06:00
Łukasz Magiera
37792b149f
sync: fix some issues
2019-11-20 20:49:29 +01:00
whyrusleeping
d57f048c2c
reject blocks with nil signatures
2019-11-20 11:14:08 -06:00
Łukasz Magiera
0a6a0e5e39
Address review
2019-11-20 18:00:05 +01:00
Łukasz Magiera
8de8fa9663
types: drop annoying signature error log
2019-11-20 18:00:05 +01:00
Łukasz Magiera
ddf2e05dd0
post: More correct 'wait' logic
2019-11-20 18:00:05 +01:00
Łukasz Magiera
4e2d7f0b1a
Merge pull request #632 from filecoin-project/feat/chainwatch
...
ChainWatch
2019-11-20 10:57:53 -06:00
whyrusleeping
c4564c0597
use proper round number, allow block signature to be nil
2019-11-20 10:54:10 -06:00
whyrusleeping
f8eabd3db4
Refactor mining logic to match specs ticket chain
2019-11-20 10:52:36 -06:00
whyrusleeping
71923c691d
dont publish nil message removed
2019-11-20 17:47:44 +01:00
Łukasz Magiera
4ee2fc4d9f
chain: call unsub in Incoming* methods
2019-11-20 17:47:44 +01:00
Łukasz Magiera
d3b980ef58
api.SyncIncomingBlocks
2019-11-20 17:47:44 +01:00
Łukasz Magiera
f40a1afac8
chainwatch: store mpool message additions
2019-11-20 17:45:02 +01:00
Łukasz Magiera
1f913b8df2
api.MpoolSub
2019-11-20 17:45:02 +01:00
Łukasz Magiera
8ac65cde80
api.StateLookupID
2019-11-20 17:45:02 +01:00
Łukasz Magiera
ab8407fb43
Merge pull request #636 from filecoin-project/fix/reorg-ops-order
...
fix ordering of block applies in reorg ops
2019-11-20 01:09:53 +01:00