clifordsymack / Electron-Cash

Electrum; Bitcoin thin client
MIT License
6 stars 3 forks source link

Fix #105 - Remember change addresses shared with others over network #113

Closed cculianu closed 5 years ago

cculianu commented 5 years ago

If a client participates in a shuffle (even a failed shuffle or even a pool that fails), the change address (which is publicly shared with other peers) is marked as having been "shared with others" and it can never be used as a shuffled output address (but can continue to be used as a change address in subsequent shuffles).

This avoids privacy leaking as a client participates in pools and fixes the issue discussed in #105.