You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 28, 2021. It is now read-only.
The number of storage reads for the handler of the RegisterUser message is linear in the number of users. Similarly the number of reads for the UnregisterUser message is linear in the number of orgs and requires a number of comparisons linear in the size of all members of orgs.
These complexity characteristics may have a drastic effect on the incentives and prices in the network and may open the door for DoS attacks. Moreover fixing this will likely be very invasive. (For example it may require additional on-chain or off-chain storage.) This means that this problem needs to be solved earlier than later.
The first step would be to come up with potential solutions using on-chain and off-chain storage that reduce the complexity to sub-linear.
The text was updated successfully, but these errors were encountered:
The number of storage reads for the handler of the
RegisterUser
message is linear in the number of users. Similarly the number of reads for theUnregisterUser
message is linear in the number of orgs and requires a number of comparisons linear in the size of all members of orgs.These complexity characteristics may have a drastic effect on the incentives and prices in the network and may open the door for DoS attacks. Moreover fixing this will likely be very invasive. (For example it may require additional on-chain or off-chain storage.) This means that this problem needs to be solved earlier than later.
The first step would be to come up with potential solutions using on-chain and off-chain storage that reduce the complexity to sub-linear.
The text was updated successfully, but these errors were encountered: