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

Backward Compatibility Support for Gossip. #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adityadani
Copy link
Contributor

  • Modify the StoreMap from map[string]interface{} to map[string][]byte
  • A node only decodes those entries in the store map whose keys it knows
  • Keys are registered with a gossip node using the RegisterKey api.
  • In the new format gossip data is prefixed with a header pattern to
    identify the type of gossip data.
  • Current gossip handles both kinds of data - with an without header.

- Modify the StoreMap from map[string]interface{} to map[string][]byte
- A node only decodes those entries in the store map whose keys it knows
- Keys are registered with a gossip node using the RegisterKey api.
- In the new format gossip data is prefixed with a header pattern to
identify the type of gossip data.
- Current gossip handles both kinds of data - with an without header.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant