Aayush Rajasekaran
|
dfb65ed89f
|
Plumb contexts through
|
2021-12-11 17:04:00 -05:00 |
|
Łukasz Magiera
|
95b128b7bc
|
chain: Cleanup consensus logic
|
2021-09-02 18:09:37 +02:00 |
|
ZenGround0
|
b914e95f34
|
revert pricelist by version to pricelist by epoch
|
2021-08-11 09:49:23 -04:00 |
|
ZenGround0
|
f49a8248f0
|
PriceListByVersion
|
2021-07-22 09:49:47 -04:00 |
|
Łukasz Magiera
|
dc642d0b7b
|
Merge remote-tracking branch 'origin/feat/nv13' into feat/nv13-1.11
|
2021-06-01 21:06:58 +02:00 |
|
Aayush Rajasekaran
|
621e4eab0d
|
Address review
|
2021-05-31 18:13:23 -04:00 |
|
Aayush Rajasekaran
|
9ceee6028b
|
More tweaking of context handling in the messagepool
|
2021-05-31 18:13:23 -04:00 |
|
Aayush Rajasekaran
|
ed93d0725f
|
Protect mp.localAddrs and mp.pending behind helper functions
|
2021-05-31 18:13:23 -04:00 |
|
Aayush Rajasekaran
|
8d991283f4
|
Resolve to ID addresses when handling message selection
|
2021-05-31 18:13:23 -04:00 |
|
Aayush Rajasekaran
|
b5da2655dc
|
Introduce v5 actors
|
2021-05-10 19:44:28 -04:00 |
|
Łukasz Magiera
|
04c71b2c6b
|
mpool: Cleanup pre-nv12 selection logic
|
2021-04-30 10:10:42 +02:00 |
|
Aayush Rajasekaran
|
f1ded63d60
|
v4 specs-actors integration, nv12 migration
|
2021-04-27 02:02:44 -04:00 |
|
Łukasz Magiera
|
0c6aef221d
|
Fix error logging format strings
|
2021-02-11 12:00:26 +01:00 |
|
wangchao
|
ff62b64b4d
|
avoid use mp.cfg directly to avoid race
|
2021-01-25 10:13:31 +08:00 |
|
Jakub Sztandera
|
689b93dc0e
|
messagepool: small refactor
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-12-08 20:07:13 +01:00 |
|
vyzo
|
452c85de98
|
cap maximum number of messages per block in selection
|
2020-11-18 12:25:26 +02:00 |
|
vyzo
|
12f6119739
|
don't include messages that drop the balance below zero
|
2020-10-30 20:56:33 +02:00 |
|
Jakub Sztandera
|
8afceee7a9
|
Fix messagepool accounting
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-10-30 19:21:25 +01:00 |
|
Łukasz Magiera
|
e3ee4e4718
|
Fix lint errors
|
2020-09-30 20:24:03 +02:00 |
|
vyzo
|
d369f542c5
|
warn when optimal selection fails to pack a block and we fall back to random selection
|
2020-09-09 23:17:09 +03:00 |
|
vyzo
|
97cbfa11b7
|
fix nasty bug in optimal selection
the sort has to account for negative gasPerf and be stable; go figure.
|
2020-09-09 20:45:24 +03:00 |
|
vyzo
|
194b6eb9d8
|
fix issue with gasLimit check for trimming (> instead of >=)
|
2020-09-09 12:58:51 +03:00 |
|
vyzo
|
0b09082450
|
adjust optimal selection to always try to fill blocks
|
2020-09-09 12:37:03 +03:00 |
|
Jakub Sztandera
|
46ee2eeded
|
Upgrade to correct fork treshold
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-09-07 23:07:33 +02:00 |
|
Jakub Sztandera
|
704db225d1
|
Update the fork point
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-09-07 22:45:06 +02:00 |
|
Jakub Sztandera
|
ce0e9594df
|
Update to go-state-types
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-09-07 22:44:12 +02:00 |
|
Jakub Sztandera
|
835b7eb6f7
|
Make allowNegativeChains a function
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-09-07 22:44:12 +02:00 |
|
vyzo
|
172ff846fd
|
decouple negative chain selection from base fee lower bound validation
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-09-07 22:44:12 +02:00 |
|
vyzo
|
97fddc45d9
|
temporarily allow negative perfoming chains
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-09-07 22:44:09 +02:00 |
|
Aayush Rajasekaran
|
39755a294a
|
Update to specs v0.9.6
|
2020-09-07 15:48:41 -04:00 |
|
Łukasz Magiera
|
f58cbc2594
|
Merge pull request #3557 from filecoin-project/fix/mpool-repub-negative
republish messages even if the chains have negative performance
|
2020-09-05 21:48:39 +02:00 |
|
vyzo
|
0b3685e529
|
fix selection bug; priority messages were not included if other's chains were negative
|
2020-09-05 21:30:02 +03:00 |
|
vyzo
|
ad8d550d73
|
remove unused ts argument from Trim, replace it with allowNegative specifier
|
2020-09-04 22:32:30 +03:00 |
|
Jakub Sztandera
|
8111b227c4
|
Appease the linter
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-09-03 20:19:01 +02:00 |
|
Jakub Sztandera
|
8bb471bccd
|
Add getGasPerf test
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-09-03 20:19:01 +02:00 |
|
Jakub Sztandera
|
5074b526d0
|
Fix calculation of GasReward in messagepool
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-09-03 19:36:03 +02:00 |
|
vyzo
|
648130eec5
|
don't include negative performing chains in priority message selection
|
2020-08-29 15:55:19 +03:00 |
|
Jakub Sztandera
|
33b12782e4
|
Take into account messages in current tispet by executing it
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-25 04:02:06 +02:00 |
|
whyrusleeping
|
05d65c3f88
|
slightly better than panicking
|
2020-08-24 17:40:12 -07:00 |
|
whyrusleeping
|
cf3298cd04
|
more correctly handle discrepancies between mempools head and the mining base
|
2020-08-24 17:21:03 -07:00 |
|
vyzo
|
2eff03fa1f
|
small fixes in optimal selection
1. Remove noop updates from the previous dependencies
2. Update subsequent dependencies, which was the intention
|
2020-08-13 19:49:07 +03:00 |
|
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
|
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 |
|
Jakub Sztandera
|
2efb18f677
|
Small fixes to mpool Trim
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-11 23:55:06 +02:00 |
|
vyzo
|
a467deede6
|
fix typos in comment
|
2020-08-11 20:20:59 +03:00 |
|
vyzo
|
2aaf14b558
|
mute timing logs if they are under 1ms
|
2020-08-11 20:00:51 +03:00 |
|
vyzo
|
d3baf2b9eb
|
fix edge case in chain creation
|
2020-08-11 19:32:28 +03:00 |
|