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

selective permanode feature #40

Open
louaykamel opened this issue May 17, 2020 · 1 comment
Open

selective permanode feature #40

louaykamel opened this issue May 17, 2020 · 1 comment
Labels
C-feature Category: feature

Comments

@louaykamel
Copy link
Contributor

Currently Chronicle is designed to store the full history of Tangle, but I believe a selective feature is an important one that we should implement after the first release.

Data model:

  • Transaction Table (the single source of truth)
    • Each row represents a unique transaction.
    • Point query by transaction hash.
  • Edge Table (index table)
    • Each row represents a relation to a transaction hash
    • Point queries by address/trunk/branch/bundle
  • Data Table (index table)
    • Hold unbounded relations(tags/zero-value-address)
    • Point queries by address/tag followed by year and month
    • Timeserise lookup

Enhancements:

  • Let the node owner defines what to insert/index into each table
  • Triggers when a certain condition is met
    • Example: trigger a microservice to do something
@louaykamel louaykamel changed the title Selective permanode feature selective permanode feature May 17, 2020
@louaykamel louaykamel added the C-feature Category: feature label May 17, 2020
@louaykamel
Copy link
Contributor Author

Can only be implemented after solidifier implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature Category: feature
Projects
None yet
Development

No branches or pull requests

1 participant