vyzo
|
c7a6e32c96
|
ignore, don't reject messages with nonce that is too low
we seem to have a problem with this leading to many rejected messages and negative scores for
potentially innocent peers.
|
2020-08-19 13:20:16 +03:00 |
|
Sami Mäkelä
|
99e71badbf
|
check that accounts aren't overwritten
|
2020-08-19 13:03:59 +03:00 |
|
Sami Mäkelä
|
e894f360a5
|
merge
|
2020-08-19 12:26:19 +03:00 |
|
Sami Mäkelä
|
63ad6bc325
|
need to merge
|
2020-08-19 12:25:38 +03:00 |
|
Łukasz Magiera
|
e47e51275a
|
Merge pull request #3138 from filecoin-project/feat/remainder
place the remainder of unallocated funds in a 'remainder' account
|
2020-08-18 23:52:19 +02:00 |
|
whyrusleeping
|
abca69b476
|
configurable remainder account
|
2020-08-18 14:30:49 -07:00 |
|
Łukasz Magiera
|
71aa3a59d9
|
Merge pull request #3047 from filecoin-project/asr/burn-genesis
Do not include the burnt funds actor as a genesis account actor
|
2020-08-18 23:10:32 +02:00 |
|
Łukasz Magiera
|
574a22de6c
|
genesis: Set remainder account balance correctly
|
2020-08-18 22:52:25 +02:00 |
|
Łukasz Magiera
|
1dd554ad71
|
Merge pull request #3155 from filecoin-project/misc/selection-misc
Use conditional probability for miners
|
2020-08-18 21:56:41 +02:00 |
|
vyzo
|
6d9707c784
|
fix OptimalSelection3 test
|
2020-08-18 22:24:07 +03:00 |
|
Łukasz Magiera
|
d23cd2e507
|
Merge pull request #3136 from filecoin-project/asr/genesis-hardcode
Create a testnet version of setupGenesisActors
|
2020-08-18 21:21:04 +02:00 |
|
Jakub Sztandera
|
e0b72ba049
|
Reduce number of runs to 1
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-18 21:10:04 +02:00 |
|
Jakub Sztandera
|
4d01cbfb62
|
Increase precision of output
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-18 21:10:04 +02:00 |
|
Jakub Sztandera
|
8d4427a8bc
|
add best ticket reward to tests
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-18 21:10:04 +02:00 |
|
Jakub Sztandera
|
8bca545cab
|
Add test for winnerProba
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-18 21:10:04 +02:00 |
|
Jakub Sztandera
|
9c98cf8bc1
|
Fix blockProbabilities
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-18 21:10:04 +02:00 |
|
Jakub Sztandera
|
8acd926636
|
Use conditional probability for noWinners, fix tests
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-18 21:10:04 +02:00 |
|
Jakub Sztandera
|
12f7ead55e
|
Merge pull request #3144 from filecoin-project/feat/dedup-for-basefee
Basefee change depends on unique messages not all messages
|
2020-08-18 21:08:29 +02:00 |
|
Łukasz Magiera
|
b23cac19ab
|
Merge pull request #3151 from filecoin-project/asr/specs-update
Update to specs-actors v0.9.3
|
2020-08-18 20:56:51 +02:00 |
|
Aayush Rajasekaran
|
446a4f6272
|
Update to specs-actors v0.9.3
|
2020-08-18 14:24:46 -04:00 |
|
whyrusleeping
|
42730bcf1c
|
handle potential overallocation
|
2020-08-18 10:56:54 -07:00 |
|
Aayush Rajasekaran
|
214eeccb18
|
Create a testnet version of setupGenesisActors
|
2020-08-18 13:56:47 -04:00 |
|
Łukasz Magiera
|
2570712a29
|
Merge pull request #3135 from filecoin-project/feat/genesis-block-linkage
proper genesis block history
|
2020-08-18 19:28:55 +02:00 |
|
Jakub Sztandera
|
c9fdd4bee2
|
Fix testgrounds build
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-18 17:40:53 +02:00 |
|
Jakub Sztandera
|
c841f26256
|
Basefee change depends on unique messages not all messages
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-18 15:28:50 +02:00 |
|
Łukasz Magiera
|
36d87eb8e9
|
more checks around genesis CID
|
2020-08-18 15:04:31 +02:00 |
|
Sami Mäkelä
|
4ae02ef1b9
|
looks like it's working
|
2020-08-18 13:58:32 +03:00 |
|
Sami Mäkelä
|
88fbc044b3
|
adding actors for genesis msig addresses
|
2020-08-18 13:58:29 +03:00 |
|
Aayush Rajasekaran
|
8942c02f28
|
Add a reminder comment
|
2020-08-18 06:01:48 -04:00 |
|
vyzo
|
4287f76ed4
|
fix deadlock in mpool.Push
|
2020-08-18 10:19:46 +03:00 |
|
whyrusleeping
|
64e18131c1
|
place the remainder of unallocated funds in a 'remainder' account
|
2020-08-17 23:38:58 -07:00 |
|
whyrusleeping
|
13e5b72cdb
|
proper genesis block history
Commit hash originally stamped into the ethereum blockchain:
https://etherscan.io/tx/0xe8f51c9eefb682cd866f059462577b6dd3d2685ff4b6437f6c940ff4f4aaf067
|
2020-08-17 21:13:43 -07:00 |
|
vyzo
|
ff7f0a9dcd
|
Merge pull request #3090 from filecoin-project/fix/pubsub-validation-clown-shoes
Fix clown shoes in pubsub validation
|
2020-08-17 23:31:45 +03:00 |
|
vyzo
|
ca552cf83b
|
deduplicate some block validation logic
|
2020-08-17 21:03:08 +03:00 |
|
Łukasz Magiera
|
6ef7a30b19
|
Merge pull request #3089 from filecoin-project/integrate/storage-fsm
integrate extern/{storage-fsm,sector-storage} into lotus source tree
|
2020-08-17 18:37:54 +02:00 |
|
Łukasz Magiera
|
704578c9c2
|
Merge pull request #3108 from austinabell/msload
Remove unnecessary miner state load for checking slashed
|
2020-08-17 18:11:09 +02:00 |
|
austinabell
|
c3c6fda9d5
|
Remove unnecessary miner state load for checking slashed
|
2020-08-17 09:32:47 -04:00 |
|
Raúl Kripalani
|
efdc428d5d
|
keep storage-fsm (renamed to storage-sealing) and sector-storage in extern.
|
2020-08-17 14:26:18 +01:00 |
|
vyzo
|
3b6e2bdb7b
|
trigger early republish from head changes
|
2020-08-17 10:03:39 +03:00 |
|
vyzo
|
ae88a99c84
|
add some lightweight validation of local messages
|
2020-08-17 09:04:22 +03:00 |
|
vyzo
|
884d4ad9df
|
fix clown shoes pubsub validation: we always accept our own self-published messages
|
2020-08-16 20:46:19 +03:00 |
|
Raúl Kripalani
|
3c17cd655e
|
integrate extern/sector-storage into lotus proper.
|
2020-08-16 11:09:58 +01:00 |
|
hannahhoward
|
aa419155f6
|
feat(fundmgr): temp fix for funding issues
|
2020-08-14 19:37:20 -07:00 |
|
Aayush Rajasekaran
|
0359a458e4
|
Include more info in StateCirculatingSupply
|
2020-08-14 16:53:30 -04:00 |
|
vyzo
|
a5d2ec0df8
|
appease linter
|
2020-08-14 10:12:55 +03:00 |
|
vyzo
|
b844f70a3c
|
make competitve selection test parameteric on distribution function, add test for Zipf distribution
|
2020-08-14 10:09:25 +03:00 |
|
Aayush Rajasekaran
|
5702ea236c
|
Do not include the burnt funds actor as a genesis account actor
|
2020-08-13 20:19:47 -04:00 |
|
Jakub Sztandera
|
f27a122787
|
Use Zipf distribution for messages
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-13 20:22:56 +02:00 |
|
vyzo
|
9aa8791920
|
make selection2 test less touchy
|
2020-08-13 20:02:08 +03: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 |
|
Jakub Sztandera
|
0daed04c07
|
Don't run the test 50 times
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2020-08-13 14:08:11 +02: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
|
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
|
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 |
|