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

[VDG] Fix wrong algorithm to create pockets #11242

Merged
merged 10 commits into from
Aug 14, 2023

Conversation

SuperJMN
Copy link
Collaborator

@SuperJMN SuperJMN commented Aug 9, 2023

Fixes #11101

Our previous algorithm failed when the first element had no labels al all.

Includes tests®

@SuperJMN SuperJMN requested a review from soosr August 9, 2023 13:06
@SuperJMN SuperJMN marked this pull request as ready for review August 10, 2023 09:43
@MarnixCroes
Copy link
Collaborator

Could you merge master once again please?
It currently doesn't build, #11248

Copy link
Collaborator

@yahiheb yahiheb left a comment

Choose a reason for hiding this comment

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

tACK

Copy link
Collaborator

@MarnixCroes MarnixCroes left a comment

Choose a reason for hiding this comment

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

t̶A̶C̶K̶ e7a63e4

@MarnixCroes
Copy link
Collaborator

a label/pocket of mine is missing in coin control?

Screencast.from.11-08-2023.11.50.04.webm

@yahiheb
Copy link
Collaborator

yahiheb commented Aug 11, 2023

a label/pocket of mine is missing in coin control?

The weird thing is that coin shouldn't have labels since it has AS 8.

Can you reproduce this on master?

@MarnixCroes
Copy link
Collaborator

a label/pocket of mine is missing in coin control?

The weird thing is that coin shouldn't have labels since it has AS 8.

Can you reproduce this on master?

It's at a different wallet as well. Where pocket has AS 2, AS target is 5, pocket is missing from Coin Control

@yahiheb
Copy link
Collaborator

yahiheb commented Aug 11, 2023

Where pocket has AS 2, AS target is 5

Any coin with AS 2 or above shouldn't have any label, this is the issue.

pocket is missing from Coin Control

I am sure it is not missing, and it is part of the private coins since its AS is above the target.

@MarnixCroes
Copy link
Collaborator

@yahiheb
ah yes of course.
Probably different bug then

it is part of the private coins since its AS is above the target

*it's not above the target, it's semi-private

@yahiheb
Copy link
Collaborator

yahiheb commented Aug 13, 2023

*it's not above the target, it's semi-private

Why? From the video that coin has AS 8 and you said the AS target is 5.

@MarnixCroes
Copy link
Collaborator

*it's not above the target, it's semi-private

Why? From the video that coin has AS 8 and you said the AS target is 5.

that's at a different wallet #11242 (comment)

It's at a different wallet as well. Where pocket has AS 2, AS target is 5, pocket is missing from Coin Control

@soosr soosr merged commit 1ad1402 into WalletWasabi:master Aug 14, 2023
7 checks passed
@MarnixCroes
Copy link
Collaborator

@soosr this should be merged to 2.0.4 branch as well?

@soosr
Copy link
Collaborator

soosr commented Aug 15, 2023

@soosr this should be merged to 2.0.4 branch as well?

Done #11284

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Coin Control: Coins with labels displayed without any label on the coin control dialog
4 participants