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 |
|
Jakub Sztandera
|
56e3f7da7d
|
Fix getGasReward and Trim
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-11 17:18:46 +02:00 |
|
Jakub Sztandera
|
d3c8f295c2
|
Use real blockProbabilities function
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-11 16:14:27 +02:00 |
|
vyzo
|
080614098d
|
fix edge case of effective performance for chains that dont fit in any partition
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-11 16:14:27 +02:00 |
|
vyzo
|
8eff3a25f9
|
use BlockGasLimit instead of residual for partitioning
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-11 16:14:26 +02:00 |
|
vyzo
|
ca803d99fe
|
nearly optimal message selection for a given ticket quality
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-11 16:14:20 +02:00 |
|
Jakub Sztandera
|
46fd9d5e80
|
Quiet down pending messages, fix GasLimit estimation, reduce fee cap
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-09 00:29:59 +02:00 |
|
vyzo
|
9bc5d9489d
|
also log chain creation timings
|
2020-08-08 17:07:37 +03:00 |
|
vyzo
|
b469277046
|
use structured logging for timings
|
2020-08-08 16:59:08 +03:00 |
|
vyzo
|
809e7d5390
|
add timings to various components of message selection
|
2020-08-08 16:51:30 +03:00 |
|
vyzo
|
4c8c8f48f1
|
skip messages with nonce before the current nonce in chain creation
|
2020-08-08 02:16:56 +03:00 |
|
vyzo
|
01b8a6de94
|
remove bug line
|
2020-08-08 01:45:34 +03:00 |
|
vyzo
|
56c2894c80
|
add priority actor message selection
|
2020-08-07 19:51:49 +03:00 |
|
vyzo
|
42e1338ffe
|
mpool config
|
2020-08-07 19:51:49 +03:00 |
|
Łukasz Magiera
|
60545e6722
|
mempool: Allow 0 gasPerf chains
|
2020-08-07 14:43:32 +02:00 |
|
vyzo
|
b31b322e77
|
also check for 0 in early gasPerf check
|
2020-08-07 10:55:43 +03:00 |
|