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

Implement /accounts/{id} endpoint using experimental ingestion #1766

Closed
bartekn opened this issue Sep 20, 2019 · 1 comment
Closed

Implement /accounts/{id} endpoint using experimental ingestion #1766

bartekn opened this issue Sep 20, 2019 · 1 comment
Assignees
Labels

Comments

@bartekn
Copy link
Contributor

bartekn commented Sep 20, 2019

The /accounts/{id} endpoint is special because it contains balances of all assets. Here's the initial plan for this endpoint migration:

  • Create processors adding/updating/removing accounts and account data to Horizon DB.
  • Update existing action code to check if the data matches the data in core DB (it should display only the data from stellar-core in Horizon 0.22.0). (Compare local state with stellar-core state in actions #1726)
  • We should start displaying data ingested by the new system when history endpoints are implemented.
@bartekn bartekn added this to the Horizon 0.22.0 milestone Sep 20, 2019
@bartekn bartekn self-assigned this Oct 7, 2019
bartekn added a commit that referenced this issue Oct 8, 2019
…#1794)

This commit adds trust lines to ingestion pipeline.

In #1765, #1766 and #442 we need trust lines in Horizon DB to serve the
requests. This commit is adding a code needed by all of the issues
above.

List of changes:

* Adds a new migration file adding a new `trust_lines` table.
* Updates `db2/history` package with trust lines related interfaces and
structs.
* Updates `DatabaseProcessor` to process trust lines in state and ledger
pipelines.
@bartekn
Copy link
Contributor Author

bartekn commented Oct 30, 2019

Closed in #1868.

@bartekn bartekn closed this as completed Oct 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant