Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Ingest block_push #60

Merged
merged 3 commits into from
Nov 22, 2024
Merged

Ingest block_push #60

merged 3 commits into from
Nov 22, 2024

Conversation

zone117x
Copy link
Member

Progress towards #51

Ingest block_push messages. This allows for determining the time taken for a block_proposal to be accepted (more accurately than comparisons against /new_block events).

Additionally, block proposal endpoints now include status: accepted as soon as a block_push is received (fixes issue where socket listeners cannot easily determine this).

Finally, block proposal endpoints now include a push_time_ms field.

Copy link

Vercel deployment URL: https://signer-metrics-hjnxjea4i-hirosystems.vercel.app 🚀

Copy link

codecov bot commented Nov 20, 2024

Codecov Report

Attention: Patch coverage is 83.78378% with 36 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pg/types.ts 0.00% 19 Missing ⚠️
src/pg/chainhook/chainhook-pg-store.ts 89.55% 7 Missing ⚠️
src/helpers.ts 82.35% 6 Missing ⚠️
src/api/routes/socket-io.ts 87.50% 4 Missing ⚠️

📢 Thoughts on this report? Let us know!

@zone117x zone117x requested a review from janniks November 20, 2024 18:10
Copy link
Collaborator

@rafaelcr rafaelcr left a comment

Choose a reason for hiding this comment

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

Looks great!

@zone117x zone117x merged commit 47f524d into main Nov 22, 2024
5 checks passed
@zone117x zone117x deleted the feat/ingest-block-push branch November 22, 2024 07:53
blockstack-devops pushed a commit that referenced this pull request Nov 22, 2024
## [0.11.0](v0.10.1...v0.11.0) (2024-11-22)

### Features

* ingest block-push events ([#60](#60)) ([47f524d](47f524d))
@blockstack-devops
Copy link

🎉 This PR is included in version 0.11.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants