-
Notifications
You must be signed in to change notification settings - Fork 3
SmartBFT support #16
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
Merged
Merged
SmartBFT support #16
+27,526
−3,133
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
dviejokfs
commented
Jul 21, 2025
- SmartBFT support
- ACL update Support
- Network Map Support
Signed-off-by: David VIEJO <[email protected]>
Signed-off-by: David VIEJO <[email protected]>
…ions - Removed the unused formatCertificate function from ChannelConfigCard to streamline the component. - Updated the getOrganizationsOptions in FabricNetworkDetails to include a query limit of 1000, improving data retrieval efficiency. These changes enhance code clarity and optimize data fetching for better performance. Signed-off-by: David VIEJO <[email protected]>
…queries - Introduced GetConversation method to retrieve conversation details by ID, enhancing conversation management capabilities. - Added CountFabricOrganizations method to count the number of fabric organizations, improving data retrieval for organizational management. - Updated SQL queries to include new functionalities, ensuring better integration with the existing database structure. These changes enhance the overall functionality and maintainability of the application, providing better tools for managing conversations and organizations. Signed-off-by: David VIEJO <[email protected]>
…agement
- Added a new POST endpoint `/keys/{keyID}/sign-data` to sign data using a specific key with configurable parameters, enhancing the key management capabilities.
- Introduced `SignRequest` and `SignResponse` models to handle request and response structures for the signing operation, ensuring clear data representation.
- Updated Swagger documentation to include detailed descriptions and examples for the new endpoint, improving API usability and clarity.
- Enhanced error handling in the `SignData` method to provide informative feedback for various failure scenarios, ensuring robust operation.
These changes significantly improve the functionality and maintainability of the key management API, providing better tools for signing data securely.
Signed-off-by: dviejokfs <[email protected]>
Signed-off-by: dviejokfs <[email protected]>
Signed-off-by: dviejokfs <[email protected]>
Signed-off-by: dviejokfs <[email protected]>
- Regenerated Swagger documentation to reflect the latest changes, including the addition of the `base64Data` field in the block data structure. - Updated `docs.go`, `swagger.json`, and `swagger.yaml` to include the new field, ensuring accurate representation of the API. - Enhanced the `Block` struct in the service layer to incorporate `Base64Data`, improving data handling and representation. These changes improve the clarity and usability of the API documentation, ensuring that users have accurate information regarding the block data structure. Signed-off-by: dviejokfs <[email protected]>
- Updated the metrics service to include the `configService` in the initialization of the metrics service, improving its configuration handling. - Added a new endpoint `/metrics/defaults` to return default configuration values for Prometheus deployment, enhancing usability. - Regenerated Swagger documentation to reflect the new endpoint and its parameters, ensuring accurate API representation. - Updated `swagger.json`, `swagger.yaml`, and `docs.go` to include the new endpoint details, improving API clarity and usability. These changes enhance the functionality of the metrics service and improve the overall API documentation, providing better tools for managing Prometheus deployments. Signed-off-by: dviejokfs <[email protected]>
Signed-off-by: dviejokfs <[email protected]>
Signed-off-by: dviejokfs <[email protected]>
Signed-off-by: dviejokfs <[email protected]>
…ality
- Added a new PUT endpoint `/networks/{id}/genesis` to update the genesis block for a network with change tracking, improving network management capabilities.
- Introduced `UpdateGenesisBlockRequest` and `UpdateGenesisBlockResponse` models to handle request and response structures for the genesis block update operation, ensuring clear data representation.
- Updated Swagger documentation (`swagger.json`, `swagger.yaml`, and `docs.go`) to include details for the new endpoint and its parameters, enhancing API clarity and usability.
- Implemented service-level logic to handle genesis block updates with tracking, including validation and error handling, ensuring robust operation.
These changes significantly improve the functionality and maintainability of the network management API, providing better tools for managing genesis block updates effectively.
Signed-off-by: David VIEJO <[email protected]>
Signed-off-by: dviejokfs <[email protected]>
- Added new endpoints for QBFT operations: `/nodes/{id}/rpc/qbft-discard-validator-vote`, `/nodes/{id}/rpc/qbft-pending-votes`, `/nodes/{id}/rpc/qbft-propose-validator-vote`, and `/nodes/{id}/rpc/qbft-validators-by-block-number`.
- Implemented request and response models for QBFT operations, ensuring clear data representation.
- Updated Swagger documentation (`swagger.json`, `swagger.yaml`, and `docs.go`) to include details for the new endpoints and their parameters, enhancing API clarity and usability.
- Improved the Besu network components to manage validators and pending votes effectively.
These changes significantly enhance the functionality of the QBFT operations within the API, providing better tools for managing validator proposals and votes.
Signed-off-by: David VIEJO <[email protected]>
- Added a new endpoint `/networks/besu/{id}/nodes` to retrieve all nodes associated with a Besu network, improving network management capabilities.
- Updated Swagger documentation (`swagger.json`, `swagger.yaml`, and `docs.go`) to include details for the new endpoint and its parameters, enhancing API clarity and usability.
- Improved the Besu network components to support block exploration and transaction details, providing better tools for users to interact with Besu networks.
These changes significantly enhance the functionality of the Besu network API, offering improved management and exploration capabilities.
Signed-off-by: dviejokfs <[email protected]>
Signed-off-by: David VIEJO <[email protected]>
Signed-off-by: David VIEJO <[email protected]>
- Changed references from "General Information" to "Hyperledger Fabric Node" in the E2E tests for better accuracy and consistency with the updated UI. Signed-off-by: David VIEJO <[email protected]>
Signed-off-by: David VIEJO <[email protected]>
Signed-off-by: David VIEJO <[email protected]>
Signed-off-by: David VIEJO <[email protected]>
Signed-off-by: David VIEJO <[email protected]>
- Modified the external endpoint in the E2E tests to use listenPort instead of generating a random port, ensuring consistency in test behavior. Signed-off-by: David VIEJO <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.