diff options
author | Sebastian <sebasjm@gmail.com> | 2023-07-03 12:42:44 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-07-03 12:42:44 -0300 |
commit | 5d76573ac054c4204e95a26dc286eb0af1f2d10d (patch) | |
tree | 602e90b51b1f5989776bc0b727b7956a3432c676 /packages/taler-wallet-core/src/db.ts | |
parent | f47b5bd783def7481233f94275e333365d50b08b (diff) | |
download | wallet-core-5d76573ac054c4204e95a26dc286eb0af1f2d10d.tar.xz |
#7741 share payment
save shared state in backup
if purchase is shared check before making the payment of before claim the order
already confirmed order can return without effective if coin selection was not made
sharePayment operation
Diffstat (limited to 'packages/taler-wallet-core/src/db.ts')
-rw-r--r-- | packages/taler-wallet-core/src/db.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/db.ts b/packages/taler-wallet-core/src/db.ts index c12d0f2f7..6a7a26f2f 100644 --- a/packages/taler-wallet-core/src/db.ts +++ b/packages/taler-wallet-core/src/db.ts @@ -1145,6 +1145,11 @@ export enum PurchaseStatus { * Proposal downloaded, but the user needs to accept/reject it. */ DialogProposed = 30, + /** + * Proposal shared to other wallet or read from other wallet + * the user needs to accept/reject it. + */ + DialogShared = 31, /** * The user has rejected the proposal. @@ -1271,6 +1276,12 @@ export interface PurchaseRecord { posConfirmation: string | undefined; /** + * This purchase was created by sharing nonce or + * did the wallet made the nonce public + */ + shared: boolean; + + /** * When was the purchase record created? */ timestamp: TalerPreciseTimestamp; |