Closed antiochp closed 6 years ago
Looks like this is actually failing on travis - Specifically -
cargo test --release
error: process didn't exit successfully: `/home/travis/build/antiochp/rust-secp256k1-zkp/target/release/deps/secp256k1-ad626f6a439ee1c8` (signal: 11, SIGSEGV: invalid memory reference)
This PR ports across the various changes to rust-secp256k1-zkp that had accumulated in grin. And updates
pedersen.rs
andffi.rs
to work with the updatedsecp256k1-zkp
lib.If this gets merged I think we should aim to preserve the history of these individual commits in this PR (I have kept original authors as much as possible from the grin PRs).
TODO -
gen
passed intosecp256k1_rangeproof_sign
range_proof
generator_h
(placeholder for now but we need to pass somethingextract_commit
andextra_commit_length
size_t
where necessarysecp256k1zkp
for grin dependencysecp256k1_pedersen_commit_sum
is missing frommain_impl.h
to_pubkey
no longer works for commitmentsverify_from_commit
andto_two_pubkeys
workaroundPorted across -