Skip to content

Dynamically find the start ledger to be loaded to postgres #13

@amishas157

Description

@amishas157

What problem does your feature solve?

Currently, we pass at start ledger to the indexer service. Whenever we update image, or redeploy it will start from given start ledger, which is usually genesis ledger.

Or if not, developer finds max ledger sequence already loaded into postgres and then use that as the start ledger.

What would you like to see?

We want this ledger sequence to be dynamically calculated by querying postgres DB. So even if developer sends genesis ledger sequence (say 2) as start day, the program finds max ledger sequence from postgres and use that as starting point.

What alternatives are there?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions