![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
A commitment, complete with contents and opening randomness. More...
#include <Commitment.h>
Public Member Functions | |
| Commitment (const IntegerGroupParams *p, const CBigNum &bnSerial, const CBigNum &bnRandomness) | |
| Commitment (const IntegerGroupParams *p, const CBigNum &value) | |
| const CBigNum & | getCommitmentValue () const |
| const CBigNum & | getRandomness () const |
| const CBigNum & | getContents () const |
Private Member Functions | |
| SERIALIZE_METHODS (Commitment, obj) | |
Private Attributes | |
| const IntegerGroupParams * | params |
| CBigNum | commitmentValue |
| CBigNum | randomness |
| const CBigNum | contents |
A commitment, complete with contents and opening randomness.
These should remain secret. Publish only the commitment value.
Definition at line 33 of file Commitment.h.
|
inlineexplicit |
|
inline |
Definition at line 44 of file Commitment.h.
|
inline |
Definition at line 47 of file Commitment.h.
|
inline |
Definition at line 49 of file Commitment.h.
|
inline |
Definition at line 48 of file Commitment.h.
|
inlineprivate |
Definition at line 57 of file Commitment.h.
|
private |
Definition at line 53 of file Commitment.h.
|
private |
Definition at line 55 of file Commitment.h.
|
private |
Definition at line 52 of file Commitment.h.
|
private |
Definition at line 54 of file Commitment.h.