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

Mempool feed stage #54

Merged
merged 5 commits into from
Mar 22, 2022
Merged

Mempool feed stage #54

merged 5 commits into from
Mar 22, 2022

Conversation

zeroecco
Copy link

reorg changes
ws disconnect bug (tested for over a week in staging)

dmarzzz and others added 5 commits February 1, 2022 14:48
* Add trace results to NewFullBlocksWithPeers feed

This commit runs the Go Call Tracer during the block import phase,
making those results available to the NewFullBlocksWithPeers feed.

The trace results are included with the transaction receipts. Even
transactions which are simple ETH transfers will have a trace
included.

The Go Call Tracer had to be moved from the core/tracers/ package to
core/tracers/custom/ to avoid import loops, but its functionality
has not changed.

* Add reorg feed

This adds a reorg feed, capturing reorgs in the block processor
and making them available to a reorgFeed subscription.

The response object include:

* common ancestor hash
* common ancestor number
* added block hashes
* removed block hashes

* Add json formatting

Co-authored-by: Austin Roberts <austin.roberts@openrelay.xyz>
@zeroecco zeroecco requested a review from dmarzzz March 21, 2022 21:38
Copy link

@dmarzzz dmarzzz left a comment

Choose a reason for hiding this comment

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

LGTM

@zeroecco zeroecco merged commit a4a77c3 into mempool-feed Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants