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

feat: support recovering parts from the mempool #1664

Merged
merged 20 commits into from
Mar 12, 2025

Conversation

rach-id
Copy link
Member

@rach-id rach-id commented Mar 11, 2025

Description

Closes #1661

PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use
    unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

Sorry, something went wrong.

@rach-id rach-id self-assigned this Mar 11, 2025
@rach-id rach-id requested a review from a team as a code owner March 11, 2025 11:01
@rach-id rach-id requested review from cmwaters and ninabarbakadze and removed request for a team March 11, 2025 11:01
rach-id added 2 commits March 11, 2025 15:08
Copy link
Member

@evan-forbes evan-forbes left a comment

Choose a reason for hiding this comment

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

nice! only one or two blocking comments

Comment on lines 93 to 100
// UnmarshalledTx is an intermediary type that allows keeping the transaction metadata,
// its Key and the actual tx bytes.
// This will be used to create the parts from the local txs.
type UnmarshalledTx struct {
MetaData TxMetaData
Key types.TxKey
TxBytes []byte
}
Copy link
Member

Choose a reason for hiding this comment

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

in the future, we might want to consider use this type as types.Tx, as that simplifies the caching of metadata and hashes

rach-id and others added 2 commits March 11, 2025 13:28

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Co-authored-by: Evan Forbes <[email protected]>

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Co-authored-by: Evan Forbes <[email protected]>
rach-id and others added 4 commits March 11, 2025 13:28

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Co-authored-by: Evan Forbes <[email protected]>

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Co-authored-by: Evan Forbes <[email protected]>

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Co-authored-by: Evan Forbes <[email protected]>

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Co-authored-by: Evan Forbes <[email protected]>
rach-id added 2 commits March 11, 2025 16:45
@tzdybal tzdybal merged commit f5b67be into feature/recovery Mar 12, 2025
18 of 19 checks passed
@tzdybal tzdybal deleted the rachid/recovery/mempool-to-compact-block branch March 12, 2025 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants