-
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
WIP: Get rid of depth in TransactionConfidence. #1553
base: master
Are you sure you want to change the base?
Conversation
2604b6e
to
53a63c4
Compare
a36f832
to
05efa7e
Compare
a697561
to
81ddd50
Compare
I can see a possible solution to this. It would involve creating a new |
confidence.clearBroadcastBy(); | ||
confidenceChanged.put(tx, TransactionConfidence.Listener.ChangeReason.DEPTH); |
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.
@schildbach I suppose this is the line that is causing the so called "useless work" referenced in #877 ?
This is work on #877. It's very preview, breaks tests and therefore not intended for merging soon.
Issues:
confidence.getDepthInBlocks()
byconfidence.getDepthInBlocks(wallet.getLastBlockSeenHeight());
.