-
Notifications
You must be signed in to change notification settings - Fork 220
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: swap dalek bulletproofs for bulletproofs-plus #4213
feat: swap dalek bulletproofs for bulletproofs-plus #4213
Conversation
dc10c2d
to
1f1d425
Compare
25bca9c
to
8895b3c
Compare
base_layer/core/src/transactions/transaction_components/test.rs
Outdated
Show resolved
Hide resolved
Swapped out Dalek Bulletproofs for Tari Bulletproofs+ using the most basic range proof creation and verification update to references + igor genesis block
@@ -610,27 +607,14 @@ impl OutputManagerHandle { | |||
} | |||
} | |||
|
|||
pub async fn get_outputs_by(&mut self, q: OutputBackendQuery) -> Result<Vec<UnblindedOutput>, OutputManagerError> { |
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.
This seems to be a bad merge
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.
O, that was a piece of unused code that I cleaned up.
let mut rewound_outputs: Vec<(UnblindedOutput, BulletRangeProof)> = Vec::new(); | ||
for output in outputs { | ||
// TODO: Only outputs with scripts `== script!(Nop)` is recover-able - can this be improved? | ||
if output.script != script!(Nop) { |
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.
Is this really the case?
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.
The previous version of the code had this exact check - if a rewound was successful but the script was not script!(Nop)
it dropped the output. Maybe this is latent defect? That is why I logged a TODO
, but I will also register an issue.
8895b3c
to
4e3f1c5
Compare
Description
Swapped out Dalek Bulletproofs for Tari Bulletproofs+ using the most basic range proof creation and verification
Motivation and Context
How Has This Been Tested?