GithubHelp home page GithubHelp logo

Comments (5)

schildbach avatar schildbach commented on May 2, 2024

What usecase do you have in mind?

I know the whole address handling is broken. In future, we will migrate to BIP32 deterministic wallets. This will mean a new change address is generated each time one is needed. The ability to manually specify a change address is however not planned.

from bitcoin-wallet.

janderholm avatar janderholm commented on May 2, 2024

I am uncomfortable using the same address all the time for two reasons. First reason is the security aspect. The more transactions sent from an address the more probable it is someone might be able to exploit any implementation problem.

The other is privacy. If I use just one address it is much much easier to pinpoint me in this giant graph of address nodes. The ability to split the node being me into several smaller nodes will greatly strengthen my pseudonymity.

A third reason is quite simply that the current situation is not very intuitive. Why have a concept of default addresses, or addresses at all, if all transactions still end up at an arbitrary address in the end?

My proposed change is that instead of picking an arbitrary (oldest) address in my wallet as change address, pick the one marked as default. I understand BIP32 wallets is a better fit but to be honest that might take quite a long time. It has been looming for well over a year and is still not finished. My understanding is that BIP32 is a long term goal and is no where near implementation.

from bitcoin-wallet.

schildbach avatar schildbach commented on May 2, 2024

I agree HD wallets may take another half a year to arrive. I also agree the current workaround of just picking the first (non-vulnerable) key is not very safe in terms of privacy. However, I think picking the selected address is not any better.

How is this. The change address is always one of the input addresses. If the default address is amongst them, it is preferred. Otherwise, the oldest address is preferred. If the tx does not have any input addresses (e.g. because the outputs pay to a pubkey), the default address is picked. Of course, all vulnerable addresses are excluded.

from bitcoin-wallet.

janderholm avatar janderholm commented on May 2, 2024

I think that would be very nice. Of course I would like to be able to choose change address entirely myself but I don't think that would be fitting for this particular wallet. There's plenty of other wallets with very advanced features for such things already!

from bitcoin-wallet.

schildbach avatar schildbach commented on May 2, 2024

Since version 4.11, change addresses are now used only once.

from bitcoin-wallet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.