diff options
Diffstat (limited to 'src/mint/mint_db.h')
-rw-r--r-- | src/mint/mint_db.h | 27 |
1 files changed, 26 insertions, 1 deletions
diff --git a/src/mint/mint_db.h b/src/mint/mint_db.h index 4f47aac1..eb7a105c 100644 --- a/src/mint/mint_db.h +++ b/src/mint/mint_db.h @@ -26,11 +26,36 @@ #include <libpq-fe.h> #include <gnunet/gnunet_util_lib.h> #include "taler_util.h" -#include "taler_types.h" #include "taler_rsa.h" /** + * Public information about a coin. + */ +struct TALER_CoinPublicInfo +{ + /** + * The coin's public key. + */ + struct GNUNET_CRYPTO_EcdsaPublicKey coin_pub; + + /* + * The public key signifying the coin's denomination. + */ + struct TALER_RSA_PublicKeyBinaryEncoded denom_pub; + + /** + * Signature over coin_pub by denom_pub. + */ + struct TALER_RSA_Signature denom_sig; +}; + + + + + + +/** * Reserve row. Corresponds to table 'reserves' in * the mint's database. */ |