ConsensusVisualization / protocols

Other
1 stars 3 forks source link

[Pxos, PBFT] Send custom values in client requests #6

Open zzlyn opened 4 years ago

zzlyn commented 4 years ago

Allow the user to enter a custom request (i.e. a value to commit to the log). This can take the form of ascii text. In RaftScope, this value is just the current term (repeated if there are multiple requests in the same term).

For Paxos and PBFT, we could show more details such as some sequence number and a timestamp (e.g. for PBFT, (view of Primary, timestamp). For full flexibility, adding a form to allow a nextRequestValue to be entered by the user could be added. I'd imagine this form would be easiest to add in the ServerModal (the window that comes up upon clicking a server), next to the Request button.

zzlyn commented 4 years ago

Original Issue: https://github.com/zzlyn/ConsensusVisualization/issues/48