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

Make pindexer more easily embeddable as a library #4712

Merged
merged 7 commits into from
Jul 23, 2024
Merged

Commits on Jul 23, 2024

  1. Add ContextualizedEvent to pindexer exports

    Necessary to allow implementing AppView
    cronokirby committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    c5691bc View commit details
    Browse the repository at this point in the history
  2. Reexport PgTransaction from cometindex

    Makes it much more convenient to implement AppView
    cronokirby committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    c3323a9 View commit details
    Browse the repository at this point in the history
  3. pindexer: pass source database to AppView

    This allows indexer components to read the cometbft database, if
    necessary. This is desirable for more advanced use cases.
    
    As a safeguard, we set the connection to read only. This can be
    overwritten by a savvy user, but this prevents basic accidental mistakes
    from modifying the cometbft database.
    cronokirby committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    c67fd52 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ef2a8e0 View commit details
    Browse the repository at this point in the history
  5. Pass Options around in indexer

    This is better than parsing inside the library
    cronokirby committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    794e0b4 View commit details
    Browse the repository at this point in the history
  6. Make Options Clone

    cronokirby committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    4a3830d View commit details
    Browse the repository at this point in the history
  7. Rustfmt

    cronokirby committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    fbff90c View commit details
    Browse the repository at this point in the history