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

feat(group): Add functionality for processing membership requests in batch once per epoch #34

Merged
merged 4 commits into from
Apr 1, 2025

Conversation

seemenkina
Copy link
Contributor

  • Separate Admin struct for managing key pairs and message signing within the group context.
  • Enhanced user action handling with new messages for preparing and processing income key packages.
  • Updated main application structure to integrate new group and admin functionalities, improving overall message flow and state management.

- Added `run_waku_node` function to initialize and manage the Waku node, including peer connections and message handling.
- Introduced `Admin` struct for managing key pairs and message signing within the group context.
- Created `Group` struct to handle group creation, member management, and message processing.
- Enhanced user action handling with new messages for preparing and processing income key packages.
- Updated main application structure to integrate new group and admin functionalities, improving overall message flow and state management.
@seemenkina seemenkina mentioned this pull request Mar 31, 2025
- Updated `Admin` struct to use `Arc<Mutex<Vec<KeyPackage>>` for income key packages, improving concurrency handling.
- Refactored `Group` and `User` structs to streamline the processing of income key packages and user invitations.
- Enhanced `invite_users` method to handle user invitations more effectively.
- Updated benchmark tests to reflect changes in user invitation flow and key package processing.
- Renamed message types for clarity, including changing `WelcomeShare` to `InvintationToJoin` and `KeyPackageShare` to `UserKeyPackage`.
- Improved test cases to validate the new user invitation flow and ensure correct group member management.
@seemenkina seemenkina merged commit 53fab78 into main Apr 1, 2025
2 checks passed
@seemenkina seemenkina deleted the batch_key_package branch April 1, 2025 10:55
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.

1 participant