Skip to content
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

feat: allow input set padding #57

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

AaronFeickert
Copy link
Collaborator

This PR adds optional input set padding, which allows you to specify an input set that is too short for the given parameters. It does this by repeating the last element of the input set until the result is the correct length. Because not all use cases may be able to do this safely, this functionality is added via a new InputSet::new_with_padding function.

Closes #56.

@AaronFeickert AaronFeickert merged commit 2dc3185 into tari-project:main Feb 7, 2024
6 checks passed
@AaronFeickert AaronFeickert deleted the input-set-padding branch February 7, 2024 00:47
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.

Support input set padding
1 participant