aboutsummaryrefslogtreecommitdiff
path: root/src/ringct/rctSigs.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-05-28 11:34:32 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-08-28 21:27:45 +0100
commitd37c1db032defacc096af4337b3c95a74e8f88be (patch)
treed7e4d8f3bc6f35056aae7fc6e3d057738515c4d0 /src/ringct/rctSigs.h
parenttests: more ringct range proof tests (diff)
downloadmonero-d37c1db032defacc096af4337b3c95a74e8f88be.tar.xz
ringct: add a few consts where appropriate
Diffstat (limited to '')
-rw-r--r--src/ringct/rctSigs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ringct/rctSigs.h b/src/ringct/rctSigs.h
index cbb07111f..3d5f09942 100644
--- a/src/ringct/rctSigs.h
+++ b/src/ringct/rctSigs.h
@@ -133,9 +133,9 @@ namespace rct {
//decodeRct: (c.f. http://eprint.iacr.org/2015/1098 section 5.1.1)
// uses the attached ecdh info to find the amounts represented by each output commitment
// must know the destination private key to find the correct amount, else will return a random number
- rctSig genRct(ctkeyV & inSk, ctkeyV & inPk, const keyV & destinations, const vector<xmr_amount> amounts, const int mixin);
- bool verRct(rctSig & rv);
- xmr_amount decodeRct(rctSig & rv, key & sk, unsigned int i);
+ rctSig genRct(const ctkeyV & inSk, const ctkeyV & inPk, const keyV & destinations, const vector<xmr_amount> amounts, const int mixin);
+ bool verRct(const rctSig & rv);
+ xmr_amount decodeRct(rctSig & rv, const key & sk, unsigned int i);