MCPcopy Create free account
hub / github.com/docknetwork/crypto / get_pedersen_commitment_key

Method get_pedersen_commitment_key

bulletproofs_plus_plus/src/setup.rs:109–111  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

107 }
108
109 pub fn get_pedersen_commitment_key(&self) -> (G, G) {
110 (self.G, self.H_vec[0])
111 }
112
113 /// Get number of generators `G_i` required for creating proofs
114 pub fn get_no_of_G(base: u16, num_value_bits: u16, num_proofs: u32) -> u32 {

Callers 1

Calls

no outgoing calls

Tested by 1