[Bitcoin-development] Lexicographical Indexing of Transaction Inputs and Outputs

Kristov Atlas kristovatlas.lists at gmail.com
Sat Jun 6 00:12:08 UTC 2015

Hello all,

I have written a draft of a BIP to standardize the sorting of tx inputs and
outputs for privacy and security reasons. A few colleagues have reviewed
this and provided feedback privately, but now it's ready for feedback from
a wider audience.

If there is positive sentiment about the proposal after feedback is
integrated, I aim for a bip number to be assigned and have it accepted into


For your convenience, here's the abstract:

"Currently there is no standard for bitcoin wallet clients when ordering
transaction inputs and outputs. As a result, wallet clients often have a
discernible blockchain fingerprint, and can leak private information about
their users. By contrast, a standard for non-deterministic sorting could be
difficult to audit. This document proposes deterministic lexicographical
sorting, using hashes of previous transactions and output indices to sort
transaction inputs, as well as value and locking scripts to sort
transaction outputs."


Kristov Atlas
Open Bitcoin Privacy Project Contributor, Blockchain.info Security
Engineer, etc.
Twitter: @kristovatlas
Blog: kristovatlas.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20150605/9ba7bf54/attachment.html>

More information about the bitcoin-dev mailing list