-
Notifications
You must be signed in to change notification settings - Fork 54
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
Conversation
9c06b93
to
42e116b
Compare
Note: The CI error will be fixed after mit-dci/rustreexo#65 gets merged and I update the dependency to either |
42e116b
to
000ba19
Compare
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.
Here some suggestions... Good code!
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. |
Agree, I'd also help with review and implementation as this is a requirement for the |
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
000ba19
to
5ead3e8
Compare
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.