-
Notifications
You must be signed in to change notification settings - Fork 3
feat: create pro backend wrapper for getting pro proofs #41
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new backend wrapper function for generating pro proof request bodies. The implementation handles private key validation, signature generation, and JSON serialization for pro proof requests.
Key Changes:
- Added
proProofRequestBodystatic method to create signed pro proof requests - Introduced
toCppBufferViewutility for efficient buffer handling - Added pro_backend.hpp header inclusion for pro proof request functionality
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| include/utilities.hpp | Declares new toCppBufferView utility function for buffer view conversion |
| include/pro/pro.hpp | Implements proProofRequestBody method for generating signed pro proof request bodies with validation and signature creation |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
merging even if libsession-util is not up to date. We will fix it soon |
No description provided.