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: Create some very basic mempool stuff #346

Merged
merged 3 commits into from
Feb 10, 2025

Conversation

Davidson-Souza
Copy link
Collaborator

We can now check proofs for unconfirmed transactions, cache them and create blocks. However, we won't ask for peers to send transactions for now.

@Davidson-Souza Davidson-Souza force-pushed the mempool-acc branch 2 times, most recently from 9c06b93 to 42e116b Compare January 31, 2025 18:11
@Davidson-Souza Davidson-Souza marked this pull request as ready for review January 31, 2025 18:30
@Davidson-Souza
Copy link
Collaborator Author

Note: The CI error will be fixed after mit-dci/rustreexo#65 gets merged and I update the dependency to either main or a released version.

Copy link
Contributor

@jaoleal jaoleal left a comment

Choose a reason for hiding this comment

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

Here some suggestions... Good code!

@jaoleal
Copy link
Contributor

jaoleal commented Feb 5, 2025

This mempool feature have already a big diff.

IMO you could put this changes on a branch so others(me?) can help you and have a proper mempool branch for testing before merging it.

@luisschwab
Copy link
Contributor

Agree, I'd also help with review and implementation as this is a requirement for the bdk_floresta crate

@Davidson-Souza
Copy link
Collaborator Author

Agree, I'd also help with review and implementation as this is a requirement for the bdk_floresta crate

I will make this for the next patches. I would like to get this on master because we can use this into our functional tests see #252 (comment)

This commit adds a partial forest to mempool, and the ability to verify
proofs.
Now, if you call `get_block_proof` for a block whose outputs we have in
our mempool, we'll get a proof for it.

This commit also adds some tests for mempool stuff
@Davidson-Souza Davidson-Souza merged commit 7083de4 into vinteumorg:master Feb 10, 2025
7 checks passed
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.

None yet

3 participants