Skip to content

Commit ebd4a09

Browse files
authored
feat(api): define core api and applcition specific code
* Refactor Waku message handling to use OutboundPacket - Updated the `UserAction` enum to replace `SendToWaku` with `Outbound`, streamlining message processing. - Refactored `WakuNode` and related components to utilize the new `OutboundPacket` struct for sending messages. - Enhanced error handling and message conversion logic to improve clarity and maintainability. - Updated tests to reflect changes in message handling and ensure compatibility with the new structure. * Refactor message handling to utilize InboundPacket and DeliveryService - Replaced `WakuMessage` with `InboundPacket` across various modules to streamline message processing. - Updated `Gateway` and `User` structs to send and receive messages using the new `DeliveryService`. - Refactored topic filtering logic to accommodate the new message structure, enhancing clarity and maintainability. - Removed deprecated `net.rs` and `waku_actor.rs` files, consolidating message handling into the `transport` module. - Enhanced error handling and logging for improved traceability during message processing. - Updated tests to reflect changes in message handling and ensure compatibility with the new structure. * Enhance Gateway and CoreCtx to support generic DeliveryService * Remove unused dependency `async-trait` from `Cargo.lock` to streamline project dependencies. * fix lint error * fully moved to hashgraph-consensus library * Define identity and openmls api * Present de-mls api * Refactor group management logic and voting * Enhance consensus handling and UI integration - Introduced new epoch history management in the `User` and `Gateway` structs to track past batches of approved proposals. - Updated the `push_consensus_state` function to push epoch history and approved queue events to the UI. - Refactored the `GroupHandle` and `CurrentEpochProposals` to support epoch history, ensuring that approved proposals are archived after processing. - Enhanced the desktop UI to display epoch history and improve user experience during group management and voting processes. * Implement group state management and UI updates - Added a new `group_state` field to the `ConsensusState` struct to track the current state of the group. - Enhanced the UI to display group state changes, including new styles for warning and muted states. - Introduced event handling for group state changes in the `GatewayEventHandler`, allowing the UI to react to state updates. - Updated the `User` struct to handle state transitions, including entering and leaving groups, with appropriate notifications to the UI. - Refactored group management logic to support the new state handling, ensuring a seamless user experience during group operations. * Refactor group management and enhance state handling - Removed the `GroupRegistry` struct to simplify group management logic. - Updated the `Gateway` and `User` structs to eliminate references to the removed `GroupRegistry`. - Introduced a new `GroupConfig` struct to manage group-specific configurations, including epoch duration. - Enhanced the `GroupStateMachine` to support custom configurations and added commit timeout handling. - Updated the `create_group` and `create_group_with_config` methods to utilize the new configuration system. - Improved documentation across modules to clarify usage and functionality of the new structures and methods. * moved mls_crypto and ds into src folder * update deps * update docs * reorganize identity and mls service * Enhance error handling and add digest computation for proposals, add tests * merge proto file * update hashgraph-like-consensus version
1 parent ae4ee90 commit ebd4a09

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+8568
-9793
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ apps/de_mls_desktop_ui/logs
2222
lcov.info
2323
yarn.lock
2424

25-
.certora_internal
25+
.claude
26+
docs/

0 commit comments

Comments
 (0)