-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
TransactionConfidence caching problem in Transaction #1769
Comments
@schildbach I will wait for your feedback before spending more time on this. |
About "When peers broadcast back the tx...": From a higher level perspective, the confidence listener problem makes PeerGroup.broadcastTransaction() return a TransactionBroadcast whose "future" is never done. |
I am working on a solution on https://github.com/oscarguindzberg/bitcoinj/commits/tx-confidence-cache but I am still not sure what would be the best solution (failing tests on that branch exposes that). From a high level perspective, the problem is once you get a reference to TransactionConfidence, you can not modify the Transaction, otherwise, you are in an inconsistent state. I evaluated 3 potential solutions:
|
The text was updated successfully, but these errors were encountered: