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

Feature/tx timestamp #7

Merged
merged 3 commits into from
May 27, 2021
Merged

Feature/tx timestamp #7

merged 3 commits into from
May 27, 2021

Conversation

AusIV
Copy link
Collaborator

@AusIV AusIV commented May 21, 2021

This adds a p2pts for both newPendingTransactionsWithPeers and newHeadsWithPeers, which indicates when those items were received by the peer-to-peer subsystems, before they were validated.

Note that this PR is on top of #6, which has not currently been merged.

Austin Roberts added 3 commits April 15, 2021 15:22
At Chris's request, adding full transactions instead of hashes in
the custom mempool feeds.

Additionally, I've added timestamps in nano-seconds for when each
message is emitted.
p2pts indicates the timestamp of when a transaction was first
received by the p2p subsystem, prior to being validated.
@AusIV
Copy link
Collaborator Author

AusIV commented May 21, 2021

I can roll back the newHeadsWithPeers if it's not wanted, but it was super easy to do and would have very minimal performance implications, so I thought it might plausibly be useful.

@liamaharon liamaharon merged commit 39f0578 into mempool-feed May 27, 2021
@liamaharon liamaharon deleted the feature/tx-timestamp branch May 27, 2021 04:00
AusIV pushed a commit that referenced this pull request Jun 21, 2021
…er (#7) (ethereum#22989)

Co-authored-by: Gary Rong <garyrong0905@gmail.com>
Co-authored-by: Mikhail Kalinin <noblesse.knight@gmail.com>
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