-
Notifications
You must be signed in to change notification settings - Fork 308
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
feat: support recovering parts from the mempool #1664
Conversation
There was a problem hiding this 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
// 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 | ||
} |
There was a problem hiding this comment.
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
Co-authored-by: Evan Forbes <[email protected]>
Co-authored-by: Evan Forbes <[email protected]>
Co-authored-by: Evan Forbes <[email protected]>
Co-authored-by: Evan Forbes <[email protected]>
Co-authored-by: Evan Forbes <[email protected]>
Co-authored-by: Evan Forbes <[email protected]>
Description
Closes #1661
PR checklist
.changelog
(we useunclog to manage our changelog)
docs/
orspec/
) and code comments