diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-19 21:09:47 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-19 21:09:47 +0100 |
commit | f9347d23953f771689d339b544370d3f9fdd97ba (patch) | |
tree | b0c0f3ee392b81dac99659ab7b7b2f0464b8a66a /src/mint/taler-mint-httpd_db.h | |
parent | a1f20a92a0578e63b2b5d764ac802dbe45ab08e0 (diff) | |
download | exchange-f9347d23953f771689d339b544370d3f9fdd97ba.tar.xz |
document TODOs
Diffstat (limited to 'src/mint/taler-mint-httpd_db.h')
-rw-r--r-- | src/mint/taler-mint-httpd_db.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/mint/taler-mint-httpd_db.h b/src/mint/taler-mint-httpd_db.h index 959b5582b..1829f3d37 100644 --- a/src/mint/taler-mint-httpd_db.h +++ b/src/mint/taler-mint-httpd_db.h @@ -13,11 +13,13 @@ You should have received a copy of the GNU General Public License along with TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/> */ - /** * @file mint/taler-mint_httpd_db.h * @brief Mint-specific database access * @author Chrisitan Grothoff + * + * TODO: + * - revisit and document `struct Deposit` members. */ #ifndef TALER_MINT_HTTPD_DB_H #define TALER_MINT_HTTPD_DB_H @@ -28,7 +30,6 @@ #include "taler_util.h" #include "taler_rsa.h" -GNUNET_NETWORK_STRUCT_BEGIN /** * Specification for a /deposit operation. @@ -37,7 +38,9 @@ struct Deposit { /* FIXME: should be TALER_CoinPublicInfo */ struct GNUNET_CRYPTO_EddsaPublicKey coin_pub; + struct TALER_RSA_PublicKeyBinaryEncoded denom_pub; + struct TALER_RSA_Signature coin_sig; struct TALER_RSA_Signature ubsig; @@ -47,10 +50,15 @@ struct Deposit * #TALER_SIGNATURE_DEPOSIT or #TALER_SIGNATURE_INCREMENTAL_DEPOSIT. */ struct TALER_RSA_SignaturePurpose purpose; + uint64_t transaction_id; + struct TALER_AmountNBO amount; + struct GNUNET_CRYPTO_EddsaPublicKey merchant_pub; + struct GNUNET_HashCode h_contract; + struct GNUNET_HashCode h_wire; /* TODO: uint16_t wire_size */ @@ -58,8 +66,6 @@ struct Deposit }; -GNUNET_NETWORK_STRUCT_END - /** * Execute a deposit. The validity of the coin and signature |