summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/db.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-08-24 15:08:34 +0200
committerFlorian Dold <florian@dold.me>2021-08-24 15:08:34 +0200
commita09359bd3930f2a4550de22bd018122a2c7846e6 (patch)
tree9adad799168353bad6e0eb9e6df8744463ba2f56 /packages/taler-wallet-core/src/db.ts
parent408d8e9fc896193fbcff1afd12aa04ab6d513798 (diff)
downloadwallet-core-a09359bd3930f2a4550de22bd018122a2c7846e6.tar.gz
wallet-core-a09359bd3930f2a4550de22bd018122a2c7846e6.tar.bz2
wallet-core-a09359bd3930f2a4550de22bd018122a2c7846e6.zip
implement freezing for payments
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r--packages/taler-wallet-core/src/db.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts
index ef6b45c11..66d79ebc0 100644
--- a/packages/taler-wallet-core/src/db.ts
+++ b/packages/taler-wallet-core/src/db.ts
@@ -1276,6 +1276,12 @@ export interface PurchaseRecord {
* Continue querying the refund status until this deadline has expired.
*/
autoRefundDeadline: Timestamp | undefined;
+
+ /**
+ * Is the payment frozen? I.e. did we encounter
+ * an error where it doesn't make sense to retry.
+ */
+ payFrozen?: boolean;
}
export const WALLET_BACKUP_STATE_KEY = "walletBackupState";