Skip to content
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

Add the currency to the transactions #1

Open
FlorianDubath opened this issue Dec 10, 2021 · 0 comments
Open

Add the currency to the transactions #1

FlorianDubath opened this issue Dec 10, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@FlorianDubath
Copy link

For monitoring purposes, the currency should be available in the transaction record (to avoid that a transaction is accounted for multiple currency (this is a marginal case which only can happen if an address has been approved for multiple currency)

What to do:

  1. on Cassandra ALTER TABLE comchain.testtransactions ADD currency text;

  2. add the currency in logtodb.TMPL to the watch function as an additional field of the result object

  3. modify parser.py to add the currencyif available

  4. deployement:

    • send the cassandra DDL
    • update logtodb.TMPL & parser.py on the node
    • reset (on one of the node) the block number to 0 to reparse the transaction and add the currency to existing ones
@FlorianDubath FlorianDubath added the enhancement New feature or request label Dec 10, 2021
@FlorianDubath FlorianDubath self-assigned this Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant