-
Notifications
You must be signed in to change notification settings - Fork 80
Track UTXOs in MockNetworkProvider #317
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
7457184
to
1a30c47
Compare
1a30c47
to
3fc272c
Compare
3fc272c
to
e221a28
Compare
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
e221a28
to
780a8c6
Compare
Can't wait for this to be merged :) |
Thanks for the PR @mainnet-pat, and thanks for the comment @kiok46! We made this new functionality optional to not introduce breaking changes right now. In the next big release (0.12.0) we want to make this the default behaviour. While looking at the changes, we noticed that the way UTXOs were stored added quite a bit of complexity to this code, so we changed the data structure from a map to a simple list of |
MockNetworkProvider now keeps track of utxo set - removes spent utxos and adds newly created