aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/crypto_contract.c14
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