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

Avoid uncommon CoinJoin output amounts #1751

Merged
merged 1 commit into from
Jun 9, 2020
Merged

Conversation

jrick
Copy link
Member

@jrick jrick commented Jun 8, 2020

When large UTXOs are mixed, the mixed output amount was chosen as the
smallest preprogramed amount which would result in one or more mixed
outputs. This had the unfortunate side effect of advertising seldom
used mixed output amounts to a CoinShuffle++ server which were
uncommon relative to amounts advertised by clients participating in
mixed ticket buying.

As a workaround, the current sdiff is queried, and a decision is made
whether to use an even smaller mixed amount which will allow for
better pairings.

When large UTXOs are mixed, the mixed output amount was chosen as the
smallest preprogramed amount which would result in one or more mixed
outputs.  This had the unfortunate side effect of advertising seldom
used mixed output amounts to a CoinShuffle++ server which were
uncommon relative to amounts advertised by clients participating in
mixed ticket buying.

As a workaround, the current sdiff is queried, and a decision is made
whether to use an even smaller mixed amount which will allow for
better pairings.
@jrick jrick merged commit 8a3c4fc into decred:master Jun 9, 2020
@jrick jrick deleted the sdiffsplits branch September 1, 2020 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants