diff options
author | Shen Noether <Shen.Noether@gmx.com> | 2016-07-09 19:30:28 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-08-28 21:29:14 +0100 |
commit | 4fd01f2bee0a64a72d67129e2f84007125e81ad2 (patch) | |
tree | 490e090d8253d7ccc7889369a76ea8b580d94187 /src/ringct/rctOps.h | |
parent | wallet: rct specific output selection (diff) | |
download | monero-4fd01f2bee0a64a72d67129e2f84007125e81ad2.tar.xz |
ringct: "simple" ringct variant
Allows the fake outs to be in different positions for each ring.
For rct inputs only.
Diffstat (limited to 'src/ringct/rctOps.h')
-rw-r--r-- | src/ringct/rctOps.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ringct/rctOps.h b/src/ringct/rctOps.h index 3eb51be28..ad6c520da 100644 --- a/src/ringct/rctOps.h +++ b/src/ringct/rctOps.h @@ -94,6 +94,8 @@ namespace rct { tuple<key, key> skpkGen(); //generates a <secret , public> / Pedersen commitment to the amount tuple<ctkey, ctkey> ctskpkGen(xmr_amount amount); + //generates C =aG + bH from b, a is random + void genC(key & C, const key & a, xmr_amount amount); //this one is mainly for testing, can take arbitrary amounts.. tuple<ctkey, ctkey> ctskpkGen(key bH); // make a pedersen commitment with given key |