diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-04-11 19:22:30 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-04-11 19:22:30 +0200 |
commit | b91a4065257e1df0a7f6d3f8bc1cbe91a57aac00 (patch) | |
tree | 93e9af6667cb896315811e9bac1fe73d66cce3fa /src/util | |
parent | 78cf27aaac2bb93d34c2418ccfad8f8eda364886 (diff) | |
download | exchange-b91a4065257e1df0a7f6d3f8bc1cbe91a57aac00.tar.gz exchange-b91a4065257e1df0a7f6d3f8bc1cbe91a57aac00.tar.bz2 exchange-b91a4065257e1df0a7f6d3f8bc1cbe91a57aac00.zip |
-finish first implementaation of exchange_api_contracts_get.c
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/crypto_contract.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/util/crypto_contract.c b/src/util/crypto_contract.c index 026eec311..30fdec789 100644 --- a/src/util/crypto_contract.c +++ b/src/util/crypto_contract.c @@ -25,6 +25,20 @@ /** + * Different types of contracts supported. + */ +enum ContractFormats +{ + /** + * The encrypted contract represents a payment offer. The receiver + * can merge it into a reserve/account to accept the contract and + * obtain the payment. + */ + TALER_EXCHANGE_CONTRACT_PAYMENT_OFFER = 0 +}; + + +/** * Nonce used for encryption, 24 bytes. */ struct NonceP |