Skip to content

Pass sigs and associated types by value#2899

Merged
apoelstra merged 2 commits intorust-bitcoin:masterfrom
tcharding:06-24-pass-sigs-by-value
Jun 28, 2024
Merged

Pass sigs and associated types by value#2899
apoelstra merged 2 commits intorust-bitcoin:masterfrom
tcharding:06-24-pass-sigs-by-value

Conversation

@tcharding
Copy link
Copy Markdown
Member

We should pass Copy types by value not by reference.

Currently this is not done in secp, but lets do it here in bitcoin.

Pass by value:

  • SerializedSignature
  • bitcoin sigs
  • secp sigs
  • secp Message

This is a continuation of the work to split up #2404 into manageable PRs.

We should pass `Copy` types by value not by reference.

Currently this is not done in secp, but lets do it here in bitcoin.

Pass by value:

- `SerializedSignature`
- bitcoin sigs
- secp sigs
- secp `Message`
@github-actions github-actions bot added the C-bitcoin PRs modifying the bitcoin crate label Jun 24, 2024
Copy link
Copy Markdown
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK dc10a49

Copy link
Copy Markdown
Collaborator

@Kixunil Kixunil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK dc10a49

@apoelstra apoelstra merged commit 7ca7128 into rust-bitcoin:master Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-bitcoin PRs modifying the bitcoin crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants