-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transaction History #22
Comments
First proposal for transactions-format (extracted from
|
We'll probably want a |
That would be the block height of the transaction? |
What about transaction-id and fees? |
First look seems okay. Question about multi-input/outputs. Either we support them fully or not at all. The simple form is:
which is perfect for one sender and receiver (turned array of inputs into one item). If we want to support multiple senders/receivers (which is allowed in the app, but not exposed in the ui at all):
then we show every transaction that includes this account as any input or any output. Note: I discussed the indexing with anton, and it seems the indexer doesn't support indexing multiple sender and receivers on one transaction. It might be simple to enforce only one sender and receiver, in the ui and the api. The app supports this since forever, but it is never used afaik. But enforcing only one in the UI would require approval from someone (probably @jaekwon ) |
I also think we should allow attaching short notes to each tx (data field to be processed by receiver eg. ref number for paying an invoice), but that is not supported in the backend |
I vote for the complex format you posted. If it is possible to have multiple in- and outputs (using the cli) this needs to be reflected in the UI somehow or users will miss crucial information. |
Summing up a discussion with Frey:
|
@nylira here we discussed the transaction format |
so multiple keys can be indexed
but there is no way right now to query for both
or
In the future, it will be totally possible to provide complex queries. I am going to push for implementing https://github.com/postgrespro/jsquery format (or a subset), which allows for building complex queries. |
All single parts are tested. Waiting for the release of gaia-2-dev network with activated indexing. |
As a user
I want to have access to my transaction history
So I am able to review past transactions for malicious transactions and to be able to tie transactions to a certain time and user/account.
AC:
Note:
The text was updated successfully, but these errors were encountered: