Conversation
add network trait add storage traits
2b8a2a8 to
76f7b84
Compare
Fix other lints. Note: not everything needs to be boxed, but doing so for simplicity. Smaller values should be used directly here.
48f8351 to
b65ba8a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
scaffolding for state machine integration + some other traits. Still messy, but I'm trying to keep the mess away from the cac protocol state machine.
mosaic-cac-protocolhold the protocol state machines (garbler setup, evaluator setup, garbler deposit, evaluator deposit) and these are based onStateMachineSpectrait. This will only deal with state, inputs and actions.StateMachineAdaptorSpecimpls (1 - 1 with protocol state machines) hold the messier bits of translating between network/job messages and the protocol state machine inputs, actions.StateMachineExecutor<StateMachineAdaptorSpec>is responsible for running all state machines of a given type and manage its inputs and outputs.a
Routercomponent (TODO) will handle coordination between the 4 types of state machine executors and the other parts of the system (rpc, p2p, jobs)Storage is currently divided into 2 parts: StateMachineDb and JobStateDb.
A third storage,
ArtifactDbmay be required if storing ~200mb blobs (adaptors, polynomial commitments) in the state directly proves problematic.Type of Change
Notes to Reviewers
Checklist
Related Issues