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

shuffle transaction inputs and outputs #272

Merged
merged 1 commit into from
Jan 30, 2023

Conversation

PiRK
Copy link
Collaborator

@PiRK PiRK commented Jan 30, 2023

Change strategy regarding transaction inputs/outputs ordering.

The Bitcoin ABC wallet shuffles inputs and outputs, while Electrum was sorting them in a deterministic order. Both strategies are viable ways of improving user privacy and making wallet fingerprinting harder, but the randomization helps also users of other wallets. If most wallets apply randomization, then the wallets that don't will stand out less. It will be difficult to guess if a simple transaction (one or two inputs, one or two outputs) that matches some sorting rules did it intentionally or by random luck.

Change strategy regarding transaction inputs/outputs ordering. The node shuffles inputs and outputs, while Electrum was sorting them in a deterministic order. Both strategies are viable ways of improving user privacy, but the randomization helps also users of other wallets. If most wallets apply randomization, then the few wallets that don't will stand out less. It will be difficult to guess if a simple transaction (one or two inputs, two outputs) that matches some sorting rules did it intentionnaly or by random luck.
@PiRK PiRK merged commit 7853985 into Bitcoin-ABC:master Jan 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant