Skip to content

Conversation

@Aerilym
Copy link
Collaborator

@Aerilym Aerilym commented Oct 27, 2025

No description provided.

Copilot AI review requested due to automatic review settings October 27, 2025 04:11
Copy link

Copilot AI left a 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 proProofRequestBody static method to create signed pro proof requests
  • Introduced toCppBufferView utility 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.

@Bilb
Copy link
Collaborator

Bilb commented Oct 29, 2025

merging even if libsession-util is not up to date. We will fix it soon

@Bilb Bilb merged commit 29699f6 into feat-add-pro-backend-fns Oct 29, 2025
0 of 4 checks passed
@Bilb Bilb deleted the feat/pro-backend-wrappers branch October 29, 2025 04:08
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.

3 participants