Skip to content

Commit

Permalink
Restore the reserialize chain binary
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Jul 4, 2024
1 parent 0f9a5af commit e94a04d
Show file tree
Hide file tree
Showing 10 changed files with 401 additions and 325 deletions.
16 changes: 16 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ members = [
"coins/monero/wallet/seed",
"coins/monero/wallet/polyseed",
"coins/monero/wallet/util",
"coins/monero/verify-chain",

"message-queue",

Expand Down
1 change: 0 additions & 1 deletion coins/monero/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,4 @@ std = [

compile-time-generators = ["curve25519-dalek/precomputed-tables", "monero-bulletproofs/compile-time-generators"]
multisig = ["monero-clsag/multisig", "std"]
#binaries = ["tokio/rt-multi-thread", "tokio/macros", "http-rpc"]
default = ["std", "compile-time-generators"]
8 changes: 5 additions & 3 deletions coins/monero/ringct/bulletproofs/src/original/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,9 +257,11 @@ impl OriginalStruct {
let res = OriginalStruct { A, S, T1, T2, tau_x, mu, L, R, a: a[0], b: b[0], t };

#[cfg(debug_assertions)]
let mut verifier = BulletproofsBatchVerifier::default();
debug_assert!(res.verify(rng, &mut verifier, &commitments_points));
debug_assert!(verifier.verify());
{
let mut verifier = BulletproofsBatchVerifier::default();
debug_assert!(res.verify(rng, &mut verifier, &commitments_points));
debug_assert!(verifier.verify());
}

res
}
Expand Down
321 changes: 0 additions & 321 deletions coins/monero/src/bin/reserialize_chain.rs

This file was deleted.

Loading

0 comments on commit e94a04d

Please sign in to comment.