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

Refactor protocol state machine #26

Merged
merged 1 commit into from
Feb 27, 2022
Merged

Conversation

agaffney
Copy link
Contributor

  • move state checking/management into Protocol object
  • define state maps for each mini-protocol
  • create separate ProtocolConfig struct instead of passing a long list
    params to protocol.New()
  • add tracking/checks for protocol agency

Fixes #25

@agaffney agaffney force-pushed the feature/protocol-refactor branch from 5e7737a to bbb0df3 Compare February 26, 2022 21:46
* move state checking/management into Protocol object
* define state maps for each mini-protocol
* create separate ProtocolConfig struct instead of passing a long list
  params to protocol.New()
* add tracking/checks for protocol agency
@agaffney agaffney force-pushed the feature/protocol-refactor branch from bbb0df3 to 38748ad Compare February 26, 2022 21:47
@agaffney agaffney merged commit d6ee6ff into main Feb 27, 2022
@agaffney agaffney deleted the feature/protocol-refactor branch February 27, 2022 02:03
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

Successfully merging this pull request may close these issues.

Refactor protocol state machine
2 participants