Comments (1)
The only two reasons I can come up with to have a secp256k1_bppp_generators
object in the API are:
- Avoid hard coding too many generators in the source code. For single (unaggregated) rangeproofs, we need at most 71 generators, so I don't think this is a conern. We could easily hard code them and remove
secp256k1_bppp_generators
from the API. - Allow using specific generators. We currently use this in testing to cross-test the rust and C implementation with diverging generator generation code. However, we could relatively easily hard code the same generators in the rust implementation.
Another reason to use specific generators is that the rangeproof prover/verifier need to be aware of the "asset generator" and use it as one of the generators. But the asset generator is already an extra argument in the rangeproof API and does not require messing withsecp256k1_bppp_generators
.
from secp256k1-zkp.
Related Issues (20)
- Can one prove that a particular public key is part of an aggregated (MuSig) public key? HOT 1
- Fix backport of bitcoin-core/secp256k1#925 (drop 'include/' prefix from -I) HOT 12
- secp256k1-zkp with CMakeLists? HOT 5
- Rebase onto libsecp256k1 release HOT 1
- Feature Request: "public" version of secp256k1_musig_partial_sign to get public key of psig HOT 5
- bppp: add transcript object that is resistant to collisions in the hash inputs
- bppp: bring variable names in sync with Bulletproofs++ paper
- Musig: different agg_pk when pubkey_ptr sequences and verify failed HOT 3
- dead store in secp256k1_ecmult_gen HOT 4
- [about homomorphic update pedersen commitments] HOT 12
- Remove SECP256K1_WARN_UNUSED_RESULT from `secp256k1_keypair_*` functions HOT 2
- question: Build library without standard IO functions HOT 4
- bppp: test failure related to `secp256k1_bppp_parse_one_of_points` HOT 1
- Question: Is it possible to multiply `secp256k1_musig_secnonce * secp256k1_xonly_pubkey`? HOT 2
- [question] Error with `--enable-external-default-callbacks` HOT 1
- shallue_van_de_woestijne returns an off-curve point when t is 0. HOT 1
- Is the Musig code compatible with BIP 327? HOT 2
- Follow-ups to #261
- `secp256k1_pedersen_commitment_serialize` decompresses the point then recompresses it
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from secp256k1-zkp.