fix: changes in rln in details section

This commit is contained in:
Magamedrasul Ibragimov
2023-07-14 22:53:47 +04:00
committed by GitHub
parent 3b84d0a94c
commit 60f94e5e06

View File

@@ -51,7 +51,7 @@ It's sound, because if we use the same \\(messageId\\) twice - we'll share two d
### Different rate-limits for different users ### Different rate-limits for different users
It's also may be desired to have different rate-limits for different users, for example based on their stake amount. We can also achieve that by calculating \\(userMessageLimit\\) value and then deriving \\(rateCommitment\\): It's also may be desired to have different rate-limits for different users, for example based on their stake amount. We can also achieve that by calculating \\(userMessageLimit\\) value and then deriving \\(rateCommitment\\):
\\[rateCommitment = Poseidon(identityCommitment, rateCommitment)\\] \\[rateCommitment = Poseidon(identityCommitment, userMessageLimit)\\]
during the registration phase. during the registration phase.
And it's the \\(rateCommitment\\) values that are stored in the membership Merkle tree. And it's the \\(rateCommitment\\) values that are stored in the membership Merkle tree.