From 4c3787b4ff21fb14a5c0fbc2cd82a9edeea335e1 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 16 May 2023 19:09:20 +0200 Subject: DD37: tip query happens before transaction is created! --- .../037-wallet-transactions-lifecycle.rst | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) (limited to 'design-documents') diff --git a/design-documents/037-wallet-transactions-lifecycle.rst b/design-documents/037-wallet-transactions-lifecycle.rst index 25dcde9b..338795bd 100644 --- a/design-documents/037-wallet-transactions-lifecycle.rst +++ b/design-documents/037-wallet-transactions-lifecycle.rst @@ -528,26 +528,12 @@ the same as if the double-spending transaction had been deleted by the user. Transaction Type: Tip --------------------- -* ``pending(query)`` - - The wallet is downloading the metadata for the tip from the merchant to store it in the database. - - * ``[failure] => deleted``: We only show a transient warning that the tip was invalid. - * ``[action:suspend] => suspended(pickup)`` - * ``[success] => pending(user)`` - -* ``suspended(query)`` - - The user suspended the operation to download the tip data. - - * ``[action:resume] => pending(query)`` - * ``pending(user)`` - We have downloaded the metadata for the tip. The user needs to accept/refuse - the tip. + We have downloaded the metadata for the tip. This is the initial state for a + tip transaction. The user needs to accept/refuse the tip. - * ``[tip-expired] => failed`` + * ``[tip-expired] => expired`` * ``[action:accept] => pending(pickup)`` * ``pending(pickup)`` -- cgit v1.2.3