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
|
3b23ab952b
|
gofmt
|
2020-08-13 13:44:43 +02: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 |
|
whyrusleeping
|
b3a31d8823
|
add function to check entire state tree balance
|
2020-08-12 15:45:46 -07: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
|
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 |
|
Łukasz Magiera
|
e1a1b325bc
|
Merge remote-tracking branch 'origin/next' into feat/max-msg-fee-config
|
2020-08-12 21:55:03 +02:00 |
|
Łukasz Magiera
|
43586ed9a1
|
Merge pull request #3000 from filecoin-project/feat/mpool-add-semaphore
Add semaphore in push and friends to reduce lock contention
|
2020-08-12 21:53:59 +02:00 |
|
Łukasz Magiera
|
ba28169356
|
Merge remote-tracking branch 'origin/master' into next
|
2020-08-12 21:33:06 +02:00 |
|
Aayush Rajasekaran
|
b6b5a79833
|
Get FilMined from the reward actor's state, not balance
|
2020-08-12 15:32:11 -04:00 |
|
Aayush Rajasekaran
|
165bcc1e38
|
Extract stmgr's genesis infos into a new struct
|
2020-08-12 15:32:11 -04:00 |
|
Aayush Rajasekaran
|
48ab706691
|
Subtract out genesis pledge and market funds when calculating circ supply
|
2020-08-12 15:32:11 -04:00 |
|
Aayush Rajasekaran
|
fe2da35a45
|
Move GetCircSupply out of the vm, and into stmgr
|
2020-08-12 15:32:07 -04:00 |
|
Aayush Rajasekaran
|
5933e64de1
|
Include premined actors in vested funds calculation
|
2020-08-12 15:19:48 -04:00 |
|
Łukasz Magiera
|
bfa0ae16b0
|
Merge pull request #2965 from filecoin-project/steb/update-actors
Update specs-actors & cbor-gen
|
2020-08-12 21:18:05 +02:00 |
|
Jakub Sztandera
|
f7c222e42e
|
Validate message pool config, validate GasPremium < GasFeeCap
don't use configured RBF for mpool
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-12 20:31:34 +02:00 |
|
Jakub Sztandera
|
c68b023d3f
|
Merge pull request #2939 from filecoin-project/feat/mpool-repub
Update messagepool republish logic
|
2020-08-12 20:08:28 +02:00 |
|
Łukasz Magiera
|
6fe743f3a9
|
Fix tests
|
2020-08-12 20:03:07 +02:00 |
|
Łukasz Magiera
|
03c1776b43
|
types: Add text (un)marshaler on FIL
|
2020-08-12 19:58:39 +02:00 |
|
Steven Allen
|
e18904bff5
|
[WIP] fix post submission
|
2020-08-12 10:33:18 -07:00 |
|
Whyrusleeping
|
ed72aa1307
|
implement randomness distinction
|
2020-08-12 10:32:39 -07:00 |
|
Steven Allen
|
9248e5a572
|
Update specs-actors, cbor-gen, and go-address
|
2020-08-12 10:32:39 -07:00 |
|
Steven Allen
|
9135a5d048
|
Pass bitfields by-value
This ensures we can't end up decoding nil bitfields from clients when not
expecting them.
Part of https://github.com/filecoin-project/specs-actors/issues/895. Please see
this issue for details and leave any comments there.
|
2020-08-12 10:32:39 -07:00 |
|
vyzo
|
f2ac17845b
|
relinquish the lock while signing in PushWithNonce
|
2020-08-12 20:26:58 +03:00 |
|
Łukasz Magiera
|
d0147aa50f
|
Add maxFee param to MpoolPushMessage
|
2020-08-12 19:06:16 +02:00 |
|
Łukasz Magiera
|
e2c6cc6c6d
|
Merge pull request #2958 from filecoin-project/asr/sync-test
MessagesForTipset should filter out bad nonce messages
|
2020-08-12 13:05:57 +02:00 |
|
vyzo
|
7be18df6ea
|
add semaphore in push and friends to reduce lock contention
|
2020-08-12 10:38:40 +03:00 |
|
vyzo
|
472e502218
|
fix republishing chain selection to account for edge case of inordinately long chains
|
2020-08-12 09:41:02 +03:00 |
|
vyzo
|
7b16fe3792
|
hold ts lock longer
|
2020-08-12 09:18:04 +03:00 |
|
vyzo
|
47f81f1ad6
|
increase repub message limit to 30
|
2020-08-12 09:13:57 +03:00 |
|
vyzo
|
cf34fe5cc3
|
extend the republish interval to something more reasonable
pubsub timecache duration + 5 blocks + propagation delay
|
2020-08-12 09:13:57 +03:00 |
|
vyzo
|
7396212c89
|
slightly increase the replublish interval to include the propagation delay as well
|
2020-08-12 09:13:57 +03:00 |
|
vyzo
|
e876617c82
|
new message republishing logic
|
2020-08-12 09:13:57 +03:00 |
|
vyzo
|
42951d05a5
|
refactor messagepool provider out of the main messagepool implementation
|
2020-08-12 09:13:57 +03:00 |
|
Aayush Rajasekaran
|
922d568e12
|
Add checks to ValidForBlockInclusion
|
2020-08-11 19:51:12 -04:00 |
|
whyrusleeping
|
1fc768fb32
|
add env vars to configure chain store cache sizes
|
2020-08-11 15:07:17 -07: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 |
|
Jakub Sztandera
|
d6f9383528
|
Merge pull request #2979 from filecoin-project/feat/mpool-optimal-seletion
nearly optimal message pool seletion
|
2020-08-11 23:45:43 +02:00 |
|
Jakub Sztandera
|
f018e870dc
|
Address review
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-11 23:35:06 +02:00 |
|
vyzo
|
9032163c5a
|
turn probability eyeballing into an actual test
|
2020-08-11 20:47:50 +03: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 |
|
Łukasz Magiera
|
01af855450
|
Merge pull request #2983 from nikkolasg/feat/cachedrand
Use cache of verified drand values
|
2020-08-11 18:34:14 +02:00 |
|
vyzo
|
d3baf2b9eb
|
fix edge case in chain creation
|
2020-08-11 19:32:28 +03:00 |
|
Łukasz Magiera
|
0409c5a482
|
Merge pull request #2944 from filecoin-project/feat/stmgr-wait-ignore-gas
stmgr: Allow replacing gas values in WaitMsg
|
2020-08-11 17:51:28 +02: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
|
4da3aedacb
|
Work on competitve test a bit
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-11 16:14:27 +02:00 |
|
vyzo
|
0091f3a9ce
|
add competitive selection test
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-11 16:14:27 +02:00 |
|
vyzo
|
268d435ce0
|
add some optimal selection tests
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-11 16:14:27 +02:00 |
|
Jakub Sztandera
|
2057433f48
|
Add needed files
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-11 16:14:27 +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 |
|
nikkolasg
|
37fe0dbed2
|
correct return argument
|
2020-08-11 13:00:23 +01:00 |
|
nikkolasg
|
7a7cce2538
|
use cache from drand
|
2020-08-11 12:58:27 +01:00 |
|
whyrusleeping
|
347ed154b8
|
more informative chain list
|
2020-08-10 16:22:02 -07:00 |
|
Aayush Rajasekaran
|
532c32a741
|
Add new BlockMsgsForTipset()
|
2020-08-10 15:55:44 -04:00 |
|
Aayush Rajasekaran
|
c72f853e09
|
Add a test around duplicate nonces
|
2020-08-10 14:28:02 -04:00 |
|
Łukasz Magiera
|
bc381fc053
|
stmgr: Allow changing gas values in WaitMsg
|
2020-08-10 14:55:52 +02:00 |
|
Łukasz Magiera
|
0d1174cb81
|
Merge pull request #2924 from filecoin-project/feat/mpool-cfg-overesitm
Add GasLimitOverestimation to mpool config
|
2020-08-10 11:33:05 +02:00 |
|
Jakub Sztandera
|
3710f33e14
|
Don't reject messages that don't pass RBF, ignore them
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-09 03:17:40 +02:00 |
|
Jakub Sztandera
|
5ea9df1824
|
Use 25% overesitm
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-09 02:22:37 +02:00 |
|
Jakub Sztandera
|
a826877ee3
|
Reduce overesitm to 10%, remove pledgeSectors test rate limit
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-09 00:37:24 +02:00 |
|
Jakub Sztandera
|
ea92f5f1ff
|
Handle error
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-09 00:30:00 +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 |
|
Jakub Sztandera
|
ed2778f785
|
Make MpoolPushMessage message wait for the first message to be done
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-09 00:29:59 +02:00 |
|
vyzo
|
bcb33d75d0
|
Merge pull request #2918 from filecoin-project/feat/mpool-tests
Some more mpool tests
|
2020-08-08 22:03:07 +03:00 |
|
Jakub Sztandera
|
5f157affdd
|
Add GasLimitOverestimation to mpool config
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-08 17:09:47 +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
|
4cdb5f7b81
|
add unit test for priority message selection
|
2020-08-08 11:22:47 +03:00 |
|
vyzo
|
2d9f2c7e72
|
add unit test for message skipping in chain creation
|
2020-08-08 11:16:50 +03:00 |
|
Łukasz Magiera
|
e65db33d77
|
Merge pull request #2909 from filecoin-project/fix/mpool-bug
fix mpool bugs
|
2020-08-08 01:32:28 +02: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 |
|
Łukasz Magiera
|
af15273f71
|
gas: Corruntly do float math
|
2020-08-08 00:41:57 +02:00 |
|
Jakub Sztandera
|
bf774fc29b
|
Simplify sync logic around tipset expansions, ff and forking
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-07 23:02:13 +02:00 |
|
Whyrusleeping
|
383e28e6e7
|
Merge pull request #2902 from filecoin-project/asr/error-fix
Fix error message
|
2020-08-07 13:38:07 -07:00 |
|
whyrusleeping
|
fbe206f843
|
add command to view circulating supply
|
2020-08-07 12:57:03 -07:00 |
|
Aayush Rajasekaran
|
88f677e891
|
Fix error message
|
2020-08-07 14:36:24 -04:00 |
|
vyzo
|
7e16e3e220
|
satisfy linter
|
2020-08-07 20:20:22 +03:00 |
|
vyzo
|
f6e8f02fd2
|
add persistence for mpool config
|
2020-08-07 20:10:09 +03:00 |
|
vyzo
|
1b56b88132
|
add cooldown to message pruning
|
2020-08-07 19:51:49 +03:00 |
|
vyzo
|
c735d0da0e
|
fix test compilation issue
|
2020-08-07 19:51:49 +03:00 |
|
vyzo
|
b40346e1ea
|
never prune priority actor messages
|
2020-08-07 19:51:49 +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
|
e0b86782e9
|
Merge pull request #2895 from filecoin-project/feat/fix-tests
Fix
|
2020-08-07 18:37:40 +02:00 |
|
Łukasz Magiera
|
3fe8b1e732
|
Better slashfilter logging
|
2020-08-07 16:08:01 +02:00 |
|
Łukasz Magiera
|
cad59b045b
|
More pond-related fixes
|
2020-08-07 16:07:48 +02:00 |
|
Anton Evangelatov
|
9fa42680fe
|
rationalise annoying logs.
|
2020-08-07 15:53:55 +02:00 |
|
Łukasz Magiera
|
051be61452
|
gofmt
|
2020-08-07 15:04:10 +02:00 |
|
Łukasz Magiera
|
b216785071
|
sync: Revert #2858
|
2020-08-07 14:46:46 +02:00 |
|