diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-08-13 15:29:31 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-12-17 16:12:12 +0000 |
| commit | f4eda44ce35c6e1ab77566a462470deaae5376ec (patch) | |
| tree | c7705926d3794b066293c4dd440701f4c91049ca /src/ringct | |
| parent | cd64c7990ce1b6a9d88ff24e749fb906154c95dc (diff) | |
| download | monzero-core-f4eda44ce35c6e1ab77566a462470deaae5376ec.tar.gz monzero-core-f4eda44ce35c6e1ab77566a462470deaae5376ec.tar.xz monzero-core-f4eda44ce35c6e1ab77566a462470deaae5376ec.zip | |
N-1/N multisig
Diffstat (limited to 'src/ringct')
| -rw-r--r-- | src/ringct/rctTypes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ringct/rctTypes.h b/src/ringct/rctTypes.h index 1f44c1a9e..5ea2dcc7c 100644 --- a/src/ringct/rctTypes.h +++ b/src/ringct/rctTypes.h @@ -517,6 +517,11 @@ inline std::ostream &operator <<(std::ostream &o, const rct::key &v) { } +namespace std +{ + template<> struct hash<rct::key> { std::size_t operator()(const rct::key &k) const { return reinterpret_cast<const std::size_t&>(k); } }; +} + BLOB_SERIALIZER(rct::key); BLOB_SERIALIZER(rct::key64); BLOB_SERIALIZER(rct::ctkey); |
