diff options
Diffstat (limited to '')
-rw-r--r-- | src/ringct/rctOps.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ringct/rctOps.h b/src/ringct/rctOps.h index b3a5b8e52..3eb51be28 100644 --- a/src/ringct/rctOps.h +++ b/src/ringct/rctOps.h @@ -96,6 +96,10 @@ namespace rct { tuple<ctkey, ctkey> ctskpkGen(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 + key commit(xmr_amount amount, key mask); + // make a pedersen commitment with zero key + key zeroCommit(xmr_amount amount); //generates a random uint long long xmr_amount randXmrAmount(xmr_amount upperlimit); |