Łukasz Magiera
814e01cc05
gofmt
2019-11-09 01:18:32 +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
ee2cf48566
Merge pull request #513 from steven004/Refactor-PowerCmp
...
Refactor the PowerCmp function
2019-11-09 00:59:10 +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
f3ae7eb7a3
events: Test 2 block tipsets with duplicated message
2019-11-08 21:25:02 +01:00
Łukasz Magiera
aaa073bdf8
deals: Inactive deal in client.sealing is an error
2019-11-08 21:18:16 +01:00
Łukasz Magiera
8c39486736
some import fixes
2019-11-08 21:11:56 +01:00
Łukasz Magiera
071f05fa95
Storage miner API improvements
2019-11-08 19:23:58 +01:00
Łukasz Magiera
be2e58a2fb
Simple market fund manager
2019-11-08 18:15:56 +01:00
Łukasz Magiera
d664e90d7c
Merge pull request #535 from filecoin-project/fix/temporal-problems
...
Fix temporal problems in bad block cache
2019-11-08 12:22:52 +01:00
whyrusleeping
af2789c3d8
fix non-deterministic map serialization
2019-11-07 14:55:24 -08:00
Łukasz Magiera
2d26a4edf7
Sector storage refactor
2019-11-07 19:22:59 +01:00
Łukasz Magiera
3fbe0abb75
cborrpc -> cborutil
2019-11-07 15:11:39 +01:00
Łukasz Magiera
58472afa3a
deals: Verify network message signatures
2019-11-07 15:09:11 +01:00
Łukasz Magiera
2588a6a7eb
deals: check msg params in ProveCommitSector event handler
2019-11-07 14:41:41 +01:00
Łukasz Magiera
8ec37e8728
deals: cleanup client state machine
2019-11-07 14:29:43 +01:00
Łukasz Magiera
79c9fb719e
deals: disconnect early, rely on chain
2019-11-07 13:57:40 +01:00
Łukasz Magiera
eca5501923
remove some outdated todos
2019-11-07 13:06:32 +01:00
Łukasz Magiera
be0d07e143
pass deal IDs in SectorPreCommitInfo
2019-11-07 13:03:18 +01:00
Łukasz Magiera
12161fc607
deals: Finish client sealing state handler
2019-11-07 10:13:42 +01:00
Łukasz Magiera
6cc360e0f7
events: Execute Called handlers in the correct tipset
2019-11-07 10:02:29 +01:00
whyrusleeping
54722a0d38
WIP: fixing the tests by waiting for chain activity
2019-11-06 23:57:10 -08:00
Łukasz Magiera
69d7a9910e
deals: remove outdated comment
2019-11-07 01:32:10 +01:00
Łukasz Magiera
29778cd653
Mostly fix TestDealFlow
2019-11-07 01:18:06 +01:00
Łukasz Magiera
d45544c90c
Correct proposal cid on provider side
2019-11-07 01:01:05 +01:00
whyrusleeping
597dbe369c
Add method to query latest deal state
2019-11-07 00:39:34 +01:00
whyrusleeping
9863942fe2
WIP: trying to write a test to reproduce the storage deal error
2019-11-07 00:39:34 +01:00
Łukasz Magiera
f7651f180b
Create filler deals
2019-11-07 00:09:48 +01:00
Jakub Sztandera
b3fe304d82
add is permanent
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-06 20:27:21 +01:00
Łukasz Magiera
37721b2a22
Get some deals to work
2019-11-06 20:00:04 +01:00
Łukasz Magiera
68c2d4f58a
deals: Set correct Refs
2019-11-06 18:38:42 +01:00
Jakub Sztandera
2b57fd14f1
Fix temporal problems in bad block cache
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-06 16:11:19 +01:00
Łukasz Magiera
cb3965bcf5
Improve errors around deal handling
2019-11-06 13:04:33 +01:00
whyrusleeping
b447b6cf0a
only trim zeros to the right of the decimal
2019-11-05 10:50:27 -08:00
Łukasz Magiera
630134486d
Mostly fix deals
2019-11-05 19:40:51 +01:00
Łukasz Magiera
bcf9778b18
Update cbor-gen post-merge
2019-11-05 19:02:28 +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
ebdaa3f020
Fix TestSyncBadTimestamp with low BlockDelay
2019-11-05 18:33:58 +01:00
Łukasz Magiera
6a802cc9db
WIP fixing tests
2019-11-05 18:09:42 +01:00
whyrusleeping
4321256992
fix retrieval protocol error by wrapping stream in peeker
2019-11-05 08:38:54 -08:00
Łukasz Magiera
1f56bcf581
Some param changes
2019-11-05 17:15:52 +01:00
Łukasz Magiera
4c4c2095a6
events: Basic tracing
2019-11-05 15:36:44 +01:00
Łukasz Magiera
eb28c45c00
events: Plumb context to callbacks
2019-11-05 15:03:59 +01:00
whyrusleeping
9a398c6260
Track down all the uses of cboripld and eliminate them
2019-11-04 19:42:13 -08:00
whyrusleeping
83868d3eed
fix serialization of paych vouchers
2019-11-04 11:07:11 -08:00
Łukasz Magiera
c550e030b1
INTERACTIVE PROEP IS ALIVE
2019-11-02 16:07:26 +01:00
Łukasz Magiera
3e515ab24c
Merge branch 'feat/interactive-porep' of github.com:filecoin-project/go-lotus into feat/interactive-porep
2019-11-02 15:13:48 +01:00
Łukasz Magiera
be8fe54ea3
Set correct Provider addr in StoreGarbage
2019-11-02 15:13:37 +01:00
whyrusleeping
68de42df8c
increase actor error log verbosity
2019-11-01 23:30:06 -07:00
Łukasz Magiera
3bc4a5dddf
More progress on fixing storing garbage data
2019-11-02 00:43:54 +01:00
Łukasz Magiera
1dcebece71
Some smaller fixes
2019-11-01 23:44:55 +01:00
whyrusleeping
a13dfcf96b
Add extra check sanity check for timing
2019-11-01 13:27:59 -07:00
Łukasz Magiera
82344649d3
Use state store for sectors
2019-11-01 15:06:49 +01:00
Łukasz Magiera
2343ebc5b8
statestore: Use reflect for mutators
2019-11-01 12:07:05 +01:00
whyrusleeping
fc9091cc89
Get interactive porep sector sealing mostly working
2019-10-31 20:57:10 -07:00
steven004
dd8642c43c
Omit double delaration
2019-11-01 09:43:22 +08:00
Steven Li
9a5adfed3a
change with @Kubuxu's comment
2019-11-01 08:56:15 +08:00
Łukasz Magiera
3cde267a2a
Move statestore to lib
2019-10-31 22:01:44 +01:00
Łukasz Magiera
ba937cf859
Fix sectorbuilder.VerifySeal
2019-10-31 20:03:26 +01:00
whyrusleeping
4e478330a4
more refactoring for interactive porep scheduling
2019-10-31 09:55:35 -07:00
Whyrusleeping
44710ca4e4
Merge pull request #484 from hfmhx/master
...
fix NewTipSet
2019-10-31 09:53:56 -07:00
steven004
a917ffee16
minor code change, no function impact
2019-10-31 18:54:13 +08:00
Steven Li
85854578d1
Update chain/types/blockheader.go
...
Co-Authored-By: Łukasz Magiera <magik6k@users.noreply.github.com>
2019-10-31 16:44:26 +08:00
Łukasz Magiera
5c065f0187
Merge pull request #506 from filecoin-project/feat/dual-config
...
Add support for different configs
2019-10-31 09:02:10 +01:00
Steven Li
0aa56ba665
Refactor the PowerCmp function
...
Why we have this:
This algorithm here directly follow the rule of ratio to win, and easier to understand.
Just think about a smaller space, e.g. 100, instead of 2^256.
When one miner has 10% power, it should have 10% ratio to win. that is, when the h is in {0..9}, it wins. Simply speaking, it is:
(h + 1) / 100 <= 10% , instead of
h / 99 < 10%
The former is easier to understand, though both are equivalent when h is an integer and power_ratio < 1)
2019-10-31 13:36:33 +08:00
whyrusleeping
759094198c
Some more progress on interactive porep
2019-10-30 18:22:50 -07:00
hans
6c4537f6a8
fix NewTipSet
2019-10-31 09:19:25 +08:00
Łukasz Magiera
7fa3e2db7a
WIP Interactive PoRep
2019-10-30 19:10:29 +01:00
Whyrusleeping
790ac7b510
Merge pull request #485 from lanzafame/feat/connect-chain-sync-trace
...
add statemanager.CallRaw span
2019-10-30 10:57:09 -07:00
Łukasz Magiera
46d782b30b
storageminer: Drop commitment tracker
2019-10-30 18:37:38 +01:00
Jakub Sztandera
3ea0997c93
Add support for different configs
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-30 17:38:39 +01:00
Łukasz Magiera
a4c0610cc3
actors: Rename some storageminer stuff to match the spec
2019-10-30 16:55:55 +01:00
whyrusleeping
3e5654d575
initial actor changes for interactive porep
2019-10-30 16:05:31 +01:00
Jakub Sztandera
bc97a73d67
Implment formatter on FIL to override big.Int
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-30 01:52:24 +01:00
Łukasz Magiera
be4a5665fe
deals: gofmt
2019-10-29 13:02:24 +01:00
Łukasz Magiera
bee0ecf97f
deals: Nicer output in client cli
2019-10-29 13:02:13 +01:00
Łukasz Magiera
738e8c5a3c
deals: Ask prices per GiB
2019-10-29 11:19:39 +01:00
Łukasz Magiera
72af55d067
deals: Price per epoch
2019-10-29 11:01:18 +01:00
Łukasz Magiera
e98feb4a39
fix PowerCmp
2019-10-28 21:28:01 +01:00
Jakub Sztandera
563c0e494e
Use div-free EC power selection function
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-28 20:01:10 +01:00
Łukasz Magiera
6d766ab241
Set e=3
2019-10-28 19:22:40 +01:00
Łukasz Magiera
237f8e8018
Set proving params matching the spec more closely
2019-10-28 17:51:45 +01:00
Adrian Lanzafame
0822bdadac
add statemanager.CallRaw span
...
This allows for the chain.Sync trace to be connected to the
entire chain sync operation, when viewing in Jaeger.
2019-10-28 19:29:41 +10:00
Łukasz Magiera
117ec636c5
paramfetch: check checksums in parallel
2019-10-27 10:18:27 +01:00
Łukasz Magiera
874be79958
very basic sector seal scheduling
2019-10-27 09:56:53 +01:00
whyrusleeping
874ab1456c
WIP: updating to new proofs code
2019-10-25 18:07:34 +02:00
Łukasz Magiera
b8b081faa6
Merge pull request #454 from waynewyang/InitActorState-AddActor
...
fix method:InitActorState.AddActor
2019-10-25 17:40:12 +02:00
Łukasz Magiera
55f22884ab
Merge pull request #457 from waynewyang/MinerActor-CommitSector
...
Check if fromaddress equal workaddress when CommitSector
2019-10-25 17:39:28 +02:00
Łukasz Magiera
bbe5afeee4
Merge pull request #379 from filecoin-project/feat/variable-sector-sizes
...
Allow miners to create differently sized sectors
2019-10-25 17:37:54 +02:00
Łukasz Magiera
cf2bbeb775
Merge pull request #410 from filecoin-project/feat/multisig-lockout
...
Add linear vesting to multisig
2019-10-25 17:34:41 +02:00
whyrusleeping
4890f577f5
give miners the ability to select different sector sizes
2019-10-25 17:26:15 +02:00
Łukasz Magiera
eeca3d86df
Merge pull request #415 from filecoin-project/feat/deals-on-chain
...
On-Chain deals
2019-10-25 17:03:25 +02:00
Łukasz Magiera
3137ffb347
on chain deals: Check StoragePrice
2019-10-25 14:44:34 +02:00
Łukasz Magiera
f2550f9e36
on chain deals: Deal not found is not fatal
2019-10-24 17:56:32 +02:00
Łukasz Magiera
0b1427e487
on chain deals: Fix lint warnings
2019-10-24 17:46:21 +02:00
Łukasz Magiera
9bd086bf7b
Use shorter code cids
2019-10-24 17:39:16 +02:00
Łukasz Magiera
e148f33008
on chain deals: Address review comments
2019-10-24 17:14:25 +02:00
Łukasz Magiera
76f1e6e207
on chain deals: Put dealIDs in CommitSector messages
2019-10-24 16:24:31 +02:00
Whyrusleeping
705637b69f
Merge pull request #448 from filecoin-project/fix/wallet-error
...
Cleanup GetBalance call and warn if actor does not exist
2019-10-24 21:17:23 +08:00
Jakub Sztandera
dd9978b418
Merge pull request #468 from filecoin-project/feat/cache-msg-cids
...
cache block message cids to make blocksync cheaper
2019-10-24 14:47:06 +02:00