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

Init asset stats command #764

Merged
merged 2 commits into from
Nov 26, 2018
Merged

Init asset stats command #764

merged 2 commits into from
Nov 26, 2018

Conversation

bartekn
Copy link
Contributor

@bartekn bartekn commented Nov 15, 2018

Something we discussed in #147 but never implemented.

Adds a command horizon db init-asset-stats that calculates the stats from the current state of core DB. To achieve this I refactored AssetsModified to remove dependency on ingest.Session struct and to allow to use it outside ingestion context.

@bartekn bartekn added this to the Horizon patch releases milestone Nov 15, 2018
Copy link
Contributor

@tomerweller tomerweller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bartekn bartekn merged commit cede6fb into master Nov 26, 2018
@bartekn bartekn deleted the init-asset-stats branch November 26, 2018 12:52
oryband added a commit to kinecosystem/go that referenced this pull request Jan 28, 2019
- this commit included all files that have status "both modified" with conflicts
- in addition, i removed all files that had status "removed by them"
  since we didn't have any conflicts in these

* tag 'horizon-v0.15.3': (322 commits)
  Horizon 0.15.3
  Validate UTF-8 strings in params (stellar#800)
  Fix horizon reap. (stellar#782)
  Fix query checking (stellar#792)
  Fix run_tests (stellar#793)
  Update protocols/horizon README
  Horizon Documentation (stellar#763)
  Horizon 0.15.2
  Rebuild test scenarios and fix travis builds (stellar#787)
  Fix slow trades page query (stellar#785)
  Update docs with information about successful transactions
  Fix init-asset-stats command (stellar#775)
  Change `glide` to `dep` in Horizon README (stellar#784)
  Update asset.md (stellar#766)
  update path-finding docs (stellar#776)
  Update responses.md (stellar#765)
  Add "Postgres configuration" section in Horizon Admin Guide (stellar#773)
  Init asset stats command (stellar#764)
  Go 1.11 builds (stellar#762)
  Horizon 0.15.1
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants