summaryrefslogtreecommitdiff
path: root/taler-wallet.rst
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-05-04 14:50:05 -0300
committerTorsten Grote <t@grobox.de>2020-05-04 14:50:05 -0300
commit1496bf96e48eeef5dd25c601420c0f234a79d481 (patch)
treebf01b7a56e638bdac40acee9ed41accda9150fff /taler-wallet.rst
parent5f6334a60612c93acd6eb09bed2b7610e10586ac (diff)
downloaddocs-1496bf96e48eeef5dd25c601420c0f234a79d481.tar.gz
docs-1496bf96e48eeef5dd25c601420c0f234a79d481.tar.bz2
docs-1496bf96e48eeef5dd25c601420c0f234a79d481.zip
clarify wallet transactions API sorting
Diffstat (limited to 'taler-wallet.rst')
-rw-r--r--taler-wallet.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/taler-wallet.rst b/taler-wallet.rst
index f9161211..379dba0c 100644
--- a/taler-wallet.rst
+++ b/taler-wallet.rst
@@ -102,7 +102,10 @@ Transactions are all operations or events that are affecting the balance.
.. ts:def:: TransactionsResponse
interface TransactionsResponse {
- // a list of past and pending transactions
+ // a list of past and pending transactions sorted by pending, timestamp and transactionId.
+ // In case two events are both pending and have the same timestamp,
+ // they are sorted by the transactionId
+ // (lexically ascending and locale-independent comparison).
transactions: Transaction[];
}
@@ -120,6 +123,8 @@ Transactions are all operations or events that are affecting the balance.
timestamp: Timestamp;
// true if the transaction is still pending, false otherwise
+ // If a transaction is not longer pending, its timestamp will be updated,
+ // but its transactionId will remain unchanged
pending: boolean;
// Raw amount of the transaction (exclusive of fees or other extra costs)