diff options
author | Florian Dold <florian@dold.me> | 2023-12-18 19:25:26 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-12-18 19:25:26 +0100 |
commit | 12a9b08c6f8c31f684239a30fc39acc9189c6571 (patch) | |
tree | 3755eb1a6b7659d44059ddb4cf85c832a8f88a8e /packages/taler-wallet-core/src/db.ts | |
parent | a488ce70d6dbfe08845eccaeb2375b367f7c307a (diff) | |
download | wallet-core-12a9b08c6f8c31f684239a30fc39acc9189c6571.tar.xz |
wallet-core: towards properly handling peer-pull-debit expiry
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r-- | packages/taler-wallet-core/src/db.ts | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index d2c6b8368..6f6aad256 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -1799,12 +1799,20 @@ export enum PeerPushDebitStatus { PendingCreatePurse = 0x0100_0000 /* ACTIVE_START */, PendingReady = 0x0100_0001, AbortingDeletePurse = 0x0103_0000, - AbortingRefresh = 0x0103_0001, + /** + * Refresh after the purse got deleted by the wallet. + */ + AbortingRefreshDeleted = 0x0103_0001, + /** + * Refresh after the purse expired. + */ + AbortingRefreshExpired = 0x0103_0002, SuspendedCreatePurse = 0x0110_0000, SuspendedReady = 0x0110_0001, SuspendedAbortingDeletePurse = 0x0113_0000, - SuspendedAbortingRefresh = 0x0113_0001, + SuspendedAbortingRefreshDeleted = 0x0113_0001, + SuspendedAbortingRefreshExpired = 0x0113_0002, Done = 0x0500_0000, Aborted = 0x0503_0000, |