vyzo
09f5a64ce0
use gasPerf for negative performance check
...
it's the same in actually because effPerf<0 iff gasPerf<0, but we should be consistent
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-13 14:08:11 +02:00
vyzo
f3eec33bec
make OptimalSelection3 test pass
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-13 14:08:11 +02:00
vyzo
1aa8b6cab2
make OptimalSelection2 test pass
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-13 14:08:11 +02:00
vyzo
0f5598e59b
compute average boost in tests
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-13 14:08:11 +02:00
vyzo
5e8ae7498a
only adjust next chains if they have positve perf
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-13 14:08:11 +02:00
vyzo
7bbf1c7db2
don't mix negative performing chains with their parent, add some comments
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-13 14:08:10 +02:00
Jakub Sztandera
f35555964d
Better "optimal selection
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-13 14:08:10 +02:00
vyzo
d25f386bb5
mixin the previous chain's effective performance to capture effect of dependencies
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-08-13 14:08:10 +02:00
Łukasz Magiera
a366522c8d
Fix lotus-fountain build
2020-08-13 14:04:45 +02:00
Łukasz Magiera
9a39bb4e78
api: Remove unused StatePledgeCollateral
2020-08-13 14:03:59 +02:00
Łukasz Magiera
ccfb33c294
Merge pull request #3028 from filecoin-project/feat/fix-sched-deadlock
...
sealing sched: Fix deadlock in worker watcher
2020-08-13 13:46:07 +02:00
Łukasz Magiera
0cb58311c3
Merge pull request #3029 from filecoin-project/feat/net-reachability
...
cli: net reachability command
2020-08-13 13:45:19 +02:00
Łukasz Magiera
3b23ab952b
gofmt
2020-08-13 13:44:43 +02:00
Łukasz Magiera
069c39fc12
Add reachability info to miner info all
2020-08-13 13:44:03 +02:00
Łukasz Magiera
3f2a62b5e2
cli: net reachability command
2020-08-13 13:18:14 +02:00
Łukasz Magiera
632fd36205
sealing sched: Fix deadlock in worker watcher
2020-08-13 12:17:24 +02:00
Łukasz Magiera
f212ca60c8
Merge pull request #3027 from yaohcn/change-lock
...
change to RLock
2020-08-13 11:39:13 +02:00
yaohcn
1555984785
change to RLock
2020-08-13 17:31:18 +08:00
Łukasz Magiera
066bac0607
miner: Add retrieval deal list to miner allinfo
2020-08-13 10:51:13 +02:00
Łukasz Magiera
02650c7f25
miner: drop rewardsCmd from miner cmd list
2020-08-13 10:25:21 +02:00
Łukasz Magiera
936d861df5
gofmt
2020-08-13 10:20:41 +02:00
Łukasz Magiera
f0d32f2c01
miner: fix/rename miner actor withdraw
2020-08-13 10:20:09 +02:00
Łukasz Magiera
7e36188519
Merge pull request #3013 from filecoin-project/frrist/fix-id-map-table
...
fix: id_address_map conflicts
2020-08-13 09:55:48 +02:00
Łukasz Magiera
97489f8bf9
config: Set lower default max commit maxfee
2020-08-13 09:40:19 +02:00
Whyrusleeping
5ac8424f93
Merge pull request #3014 from filecoin-project/feat/update-markets-v0.5.5
...
Update markets v0.5.5
2020-08-12 19:25:24 -07:00
hannahhoward
c9a4bfba1a
feat(markets): update markets v0.5.5
2020-08-12 19:02:20 -07:00
Whyrusleeping
bd31e8d37e
Merge pull request #2991 from filecoin-project/refactor/paych-lane-amt
...
paych: use spec-actors paych with AMT for lane states
2020-08-12 17:51:17 -07:00
Steven Allen
cac3d07abb
Fix payment channel for actor changes
...
Also, allocate the next available lane, instead of max+1. That way, we fill
holes.
Finally, check some error cases.
2020-08-12 17:29:00 -07:00
Dirk McCormick
335d165db6
refactor: use spec-actors paych with AMT for lane states
2020-08-12 17:06:18 -07:00
frrist
69a472c4ea
bug: fix id_address_map table conflicts on reorg
2020-08-12 16:54:45 -07:00
frrist
ce21557d64
bug: fix bug in predicate and add tests
2020-08-12 16:52:08 -07:00
Łukasz Magiera
0a2c2e9a07
Merge pull request #3012 from filecoin-project/feat/balance-checking
...
add function to check entire state tree balance
2020-08-13 01:29:38 +02:00
whyrusleeping
b3a31d8823
add function to check entire state tree balance
2020-08-12 15:45:46 -07:00
Łukasz Magiera
4308d37c84
Merge pull request #3011 from filecoin-project/fix/nil-tipset-storageprovider
...
Add nil check in tipset change handler
2020-08-13 00:04:17 +02:00
Whyrusleeping
cc54efd88b
Merge pull request #2678 from filecoin-project/asr/genesis-expected
...
Check repo's genesis against baked-in genesis
2020-08-12 15:02:59 -07:00
Aayush Rajasekaran
cae98ac0ab
Update local-dev-net.md
2020-08-12 17:38:27 -04:00
Łukasz Magiera
e7e068ebb5
Merge pull request #3008 from filecoin-project/fix/lints
...
Fix lint errors an broken tests
2020-08-12 23:28:01 +02:00
Ingar Shu
43e1b57c3f
add nil check in tipset change handler
2020-08-12 14:27:39 -07:00
Łukasz Magiera
5561d66082
Merge pull request #3002 from keyko-io/feat/verified-price
...
Showing verified price in asks
2020-08-12 23:26:53 +02:00
Aayush Rajasekaran
d614135ebb
Check repo's genesis against baked-in genesis
2020-08-12 17:22:16 -04:00
Steven Allen
3ef3f570fb
Fix lint errors an broken tests
2020-08-12 23:16:44 +02:00
Aayush Rajasekaran
c73d597d87
Merge pull request #2961 from filecoin-project/asr/genesis-premined
...
Revise TotalCircSupply
2020-08-12 17:12:54 -04:00
Łukasz Magiera
e83fa0dd04
Merge pull request #3009 from filecoin-project/feat/offline_commp_calculation
...
Stop requiring miner address / sector size for `lotus client commP`
2020-08-12 22:51:34 +02:00
Łukasz Magiera
73ad453748
Merge pull request #3010 from filecoin-project/fix/paych-sentinel-type
...
Use regular cid as paych sentinel type
2020-08-12 22:49:56 +02:00
Łukasz Magiera
8408a56e55
Merge pull request #3005 from filecoin-project/feat/max-msg-fee-config
...
Miner fee config
2020-08-12 22:37:15 +02:00
Dirk McCormick
e689c305d2
fix: revert to using cid for paych wait sentinel
2020-08-12 16:29:44 -04:00
Łukasz Magiera
12f7e2d9bf
Use a struct for send metadata in MpoolPushMessage
2020-08-12 22:17:29 +02:00
Aayush Rajasekaran
5b280057b8
Move genesis locked funds into filVested
2020-08-12 16:16:35 -04:00
Peter Rabbitson
fd49ef8de6
Stop requiring miner address / sector size for lotus client commP
...
At present, and at least for the medium term (even with the transition to NSE)
the structure of a piece (and thus commP) will remain identical for every size
of sector.
The offline deal flow would benefit greatly if the `lotus client commP`
interface is able to calculate commP without having access to a fully synced
sync, or without even being online.
This is particularly important for filecoin-discover, as we want to allow
miners to spot-check their purchased HDDs, way before they need to accept
the mainnet deal proposals.
See comment/links in node/impl/client/client.go for details on code flow
2020-08-12 22:03:00 +02:00
Łukasz Magiera
fd4d2067a9
mpool: Fix capGasFee math
2020-08-12 22:01:31 +02:00