Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add safety detection to protocols where it is missing #172

Open
naterush opened this issue Feb 24, 2018 · 1 comment
Open

Add safety detection to protocols where it is missing #172

naterush opened this issue Feb 24, 2018 · 1 comment

Comments

@naterush
Copy link
Collaborator

naterush commented Feb 24, 2018

Issue

Currently, the sharded blockchain and concurrent schedule protocols do not have safety detection implemented.

Proposed Implementation

  • Define when two messages conflict. There's a placeholder here in sharded blockchain. There's a placeholder here in concurrent schedule. Both of the placeholders may provide some hints on how to do it - but it isn't working properly currently :)
  • Define update_safe_estimates function. Here for sharded blockchain. Here for concurrent schedule.
@staccDOTsol
Copy link

Hello! It seems like you're looking to add safety detection to the sharded blockchain and concurrent schedule protocols in Ethereum. Safety detection is an important aspect of protocol design to ensure the integrity and security of the system.

To implement safety detection in these protocols, you can follow the proposed steps:

  1. Define when two messages conflict: In the sharded blockchain protocol, you can refer to the placeholder here. Similarly, in the concurrent schedule protocol, you can refer to the placeholder here. These placeholders may provide some hints on how to define message conflicts, but please note that they might not be working properly at the moment.

  2. Define the update_safe_estimates function: In the sharded blockchain protocol, you can find the implementation of the update_safe_estimates function here. For the concurrent schedule protocol, you can find it here. This function is responsible for updating safe estimates based on the defined conflict detection mechanism.

By implementing these steps, you can enhance the safety detection capabilities of the sharded blockchain and concurrent schedule protocols in Ethereum. Remember to thoroughly test your changes to ensure the desired functionality and security. Let me know if you have any further questions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants