diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-05-16 10:53:42 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-05-16 10:53:42 +0200 |
commit | 439c872af48aed41dea1027fd03a28225d3bc59b (patch) | |
tree | 297ab9b23e67dfd492613a25278d013aa51eae89 /src/include | |
parent | 10a97996f70ffb4891bc62d06499833a03f0ebc9 (diff) | |
download | exchange-439c872af48aed41dea1027fd03a28225d3bc59b.tar.xz |
-implement purse_deposit error handling
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchange_service.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index cb4d83520..c615ca7c3 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -4493,6 +4493,31 @@ struct TALER_EXCHANGE_PurseDepositResponse struct { + /** + * When does the purse expire. + */ + struct GNUNET_TIME_Timestamp purse_expiration; + + /** + * How much was actually deposited into the purse. + */ + struct TALER_Amount total_deposited; + + /** + * How much should be in the purse in total in the end. + */ + struct TALER_Amount purse_value_after_fees; + + /** + * Hash of the contract (needed to verify signature). + */ + struct TALER_PrivateContractHashP h_contract_terms; + + /** + * Key with the merge capability (needed to verify signature). + */ + struct TALER_PurseMergePublicKeyP merge_pub; + } success; } details; |