Skip to content

Update/downloads p2p#92

Merged
mateeullahmalik merged 3 commits intomasterfrom
update/downloads-p2p
Jul 3, 2025
Merged

Update/downloads p2p#92
mateeullahmalik merged 3 commits intomasterfrom
update/downloads-p2p

Conversation

@mateeullahmalik
Copy link
Collaborator

No description provided.

- Added optional parameters for Lumera binary path and installation mode in Makefile.
- Refactored GetSupernodeStatus to return a pointer type for better handling.
- Improved error handling and logging in health check and download processes.
- Implemented concurrent download attempts from supernodes for efficiency.
- Updated installation script to verify binary installation and handle different modes.
- Enhanced tests to validate supernode status and downloaded files.
@mateeullahmalik mateeullahmalik merged commit a4ec901 into master Jul 3, 2025
2 of 7 checks passed
mateeullahmalik added a commit that referenced this pull request Jul 7, 2025
* Update: download-cascade, p2p (#92)

* feat: add GetSupernodeStatus method to retrieve supernode status and update dependencies

* feat: enhance supernode functionality and improve installation script

- Added optional parameters for Lumera binary path and installation mode in Makefile.
- Refactored GetSupernodeStatus to return a pointer type for better handling.
- Improved error handling and logging in health check and download processes.
- Implemented concurrent download attempts from supernodes for efficiency.
- Updated installation script to verify binary installation and handle different modes.
- Enhanced tests to validate supernode status and downloaded files.

* feat: Implement SupernodeService for system status reporting

- Added gRPC service SupernodeService with GetStatus method to provide system status.
- Created StatusRequest and StatusResponse messages to encapsulate request and response data.
- Integrated CPU and memory metrics retrieval using gopsutil library in SupernodeStatusService.
- Removed HealthCheck RPC from CascadeService and replaced it with a centralized status service.
- Updated CascadeAdapter to utilize the new SupernodeService for status checks.
- Implemented unit tests for SupernodeServer and SupernodeStatusService to ensure correct functionality.
- Refactored existing health check logic into common service for better reusability.

* refactor: Update SupernodeStatusresponse

---------

Co-authored-by: Matee ullah Malik <46045452+mateeullahmalik@users.noreply.github.com>
@mateeullahmalik mateeullahmalik deleted the update/downloads-p2p branch July 15, 2025 13:20
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.

2 participants