Łukasz Magiera
|
6bdd433570
|
Merge pull request #3538 from filecoin-project/steb/safe-exports
Robustify state manager against holes in actor method numbers
|
2020-09-05 21:58:03 +02: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 |
|
Łukasz Magiera
|
1e190e462a
|
Merge pull request #3562 from filecoin-project/fix/mpool-log-spam
reduce mpool add failure log spam
|
2020-09-05 21:47:29 +02:00 |
|
vyzo
|
5037282b98
|
add test for priority selection with negative chains
|
2020-09-05 22:15:18 +03: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
|
275f071b12
|
reduce mpool add failure log spam
|
2020-09-05 00:28:13 +03:00 |
|
vyzo
|
ad8d550d73
|
remove unused ts argument from Trim, replace it with allowNegative specifier
|
2020-09-04 22:32:30 +03:00 |
|
Steven Allen
|
fceeaf42ca
|
Robustify state manager against holes in actor method numbers
Also, don't simply assume that the field order matches the method numbers in
`builtin.Method*` structs.
|
2020-09-04 12:26:55 -07:00 |
|
Steven Allen
|
30fdff17b5
|
Skip nil exports
The actors may skip previously used but no longer defined method numbers.
|
2020-09-04 12:26:55 -07:00 |
|
vyzo
|
6d53862142
|
republish messages even if the chains have negative performance
|
2020-09-04 22:16:10 +03:00 |
|
Łukasz Magiera
|
01449e486c
|
Merge pull request #3528 from filecoin-project/fix/sele-gas-reward
Fix calculation of GasReward in messagepool
|
2020-09-03 20:41:28 +02: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
|
d20b6adfd2
|
refuse to add duplicates in the mpool
|
2020-09-03 15:28:44 +03:00 |
|
vyzo
|
a4c650316a
|
fix test
|
2020-09-03 15:28:44 +03:00 |
|
vyzo
|
28f57667f0
|
cap MaxNonceGap to 4, add delay between batch messages during republish
|
2020-09-03 15:28:44 +03:00 |
|
vyzo
|
f53d2e3a46
|
cap MaxNonceGap to 16
|
2020-09-03 15:28:44 +03:00 |
|
vyzo
|
7b76aa2078
|
warn when adding a nonce-gapped message to the mpool
|
2020-09-03 15:28:44 +03:00 |
|
vyzo
|
d76a3b87c5
|
ignore messages with large nonce gaps
|
2020-09-03 15:28:44 +03:00 |
|
vyzo
|
da6d384300
|
fix tests
|
2020-09-03 15:28:44 +03:00 |
|
vyzo
|
4c489d18a2
|
track expected nonce in mpool, refuse messages with large gaps
|
2020-09-03 15:28:44 +03:00 |
|
Lucas Molas
|
ca8f5861fe
|
Update chain/blocksync/server.go
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
|
2020-09-02 17:07:39 -03:00 |
|
whyrusleeping
|
9a5542100a
|
load fewer messages from disk when serving blocksync requests
|
2020-09-02 11:43:05 -07:00 |
|
whyrusleeping
|
2b16e69e90
|
allow snapshot importing
|
2020-09-02 17:15:10 +02:00 |
|
whyrusleeping
|
09ebd1a557
|
allow exporting a number of recent chain state trees
|
2020-09-02 17:15:10 +02:00 |
|
austinabell
|
ba881eb4cf
|
Remove height from chain rand
|
2020-09-01 15:48:16 -04:00 |
|
Aayush Rajasekaran
|
93814cc85a
|
Merge pull request #3392 from filecoin-project/fix/mpool-priority-selection
Tweak priority selection to not select negative perfoming chains
|
2020-08-31 19:22:12 -04:00 |
|
刘林欣
|
0926f95979
|
remove the unnecessary err check
|
2020-08-31 15:11:45 +08:00 |
|
vyzo
|
648130eec5
|
don't include negative performing chains in priority message selection
|
2020-08-29 15:55:19 +03:00 |
|
Łukasz Magiera
|
953effcc43
|
Merge pull request #3350 from filecoin-project/fix/some-fsm-issues
Fix some fsm issues
|
2020-08-29 02:16:59 +02:00 |
|
Łukasz Magiera
|
a62e44c4e5
|
Fix lint
|
2020-08-29 02:13:38 +02:00 |
|
Łukasz Magiera
|
84a632787c
|
Merge pull request #3313 from filecoin-project/feat/mpool-balance-tracking
Message Pool Rudimentary Spam Protection Measures
|
2020-08-28 22:35:30 +02:00 |
|
vyzo
|
806f7dd15f
|
windowSize should not exceed blocksync.MaxRequestLength
|
2020-08-28 23:18:06 +03:00 |
|
vyzo
|
63a60cdd75
|
be more conservative in increasing the window size, check that we actually had more messages
|
2020-08-28 23:09:48 +03:00 |
|
vyzo
|
3935fd77ac
|
remember syncer windowSize
|
2020-08-28 22:52:40 +03:00 |
|
vyzo
|
4e7fd5b6d7
|
sync: increase window size when successful fetching messages
|
2020-08-28 22:03:06 +03:00 |
|
vyzo
|
1f660c9e04
|
sync: half window size and retry when fetching messages fails
|
2020-08-28 18:45:20 +03:00 |
|
Łukasz Magiera
|
20ffce5c0d
|
Merge remote-tracking branch 'origin/master' into fix/some-fsm-issues
|
2020-08-28 16:47:25 +02:00 |
|
lanzafame
|
64768f093d
|
rename local recordFailure func
|
2020-08-28 17:15:11 +10:00 |
|
lanzafame
|
a24db6c584
|
refactor block validate recordFailure func
|
2020-08-28 17:11:59 +10:00 |
|
lanzafame
|
050a0ec5e4
|
further reduce code duplication
|
2020-08-28 17:01:45 +10:00 |
|
lanzafame
|
0254e4b365
|
reduce code duplication
|
2020-08-28 16:53:59 +10:00 |
|
lanzafame
|
094baf8aa9
|
distinguish local message validation failures from remote
|
2020-08-28 16:11:24 +10:00 |
|
Łukasz Magiera
|
86c936759b
|
Merge pull request #3357 from filecoin-project/fix/block-validator-power
ignore, don't reject block if we can't determine power
|
2020-08-28 00:24:53 +02:00 |
|
austinabell
|
39ef3a701b
|
Remove unsigned message pointer from Runtime
|
2020-08-27 17:34:45 -04:00 |
|
vyzo
|
708a8b6543
|
flag to allow add to skip limit check
essential for correctness in the revert case
|
2020-08-28 00:04:21 +03:00 |
|
Łukasz Magiera
|
6c7874c883
|
Merge remote-tracking branch 'origin/master' into fix/some-fsm-issues
|
2020-08-27 21:37:08 +02:00 |
|
vyzo
|
6c3d8ec1de
|
ignore, don't reject block if we can't determine power
|
2020-08-27 16:53:53 +03:00 |
|
Łukasz Magiera
|
df635579c4
|
storagefsm: Handle sectors with expired deals better
|
2020-08-27 13:51:38 +02:00 |
|