Coder Social home page Coder Social logo

Comments (7)

cdecker avatar cdecker commented on May 17, 2024

We already have generic keystores on Linux machines, why not adapt Bitcoin to use them and provide a really simple one for systems that do not provide their own?

from bitcoin.

gavinandresen avatar gavinandresen commented on May 17, 2024

See my python bitcointools for code that can read and write the key/value pairs in wallet.dat (fixwallet.py reads the wallet and writes out a new wallet, leaving out any keys that seem to be mis-formatted).

Merging wallets is hard because you have to teach bitcoin to re-scan the block chain for transactions to or from keys you just imported.

from bitcoin.

cdecker avatar cdecker commented on May 17, 2024

Just delete all the block data and redownload the block chain.

from bitcoin.

davout avatar davout commented on May 17, 2024

Deletion is not necessary,
doesn't it already happen anyway when wallet is replaced ?

from bitcoin.

mndrix avatar mndrix commented on May 17, 2024

Easy import and export of keys would make it easier for trusted vendors to sell Bitcoin stored-value cards (USB sticks, mini CDs, etc) with a private key on them. The buyer then just imports the private key from the card.

Easy import/export also addresses parts of issue #2

from bitcoin.

gasteve avatar gasteve commented on May 17, 2024

Easy import/export is an important feature for the day when transactions are no longer free on the network. People won't want to pay transaction fees when consolidating or moving btc value between different wallets they own. Also, easy import/export should be treated like moving (rather than copying) to prevent keys from ending up in multiple, concurrently active wallets (backup should be used for ensuring you don't lose keys).

I think I'll create a separate issue for this (since it is straying from this topic).

As for treating the wallet as a generic key store or using existing key store solutions, I think it's better to stay away from that in the short term. That could pose quite a few technical and integration challenges, and if not done very carefully, could pose a security risk (you would be putting bitcoin users at the mercy of third party key storage solutions that may or may not be very well implemented).

from bitcoin.

alexwaters avatar alexwaters commented on May 17, 2024

#220 wallet import and export should resolve this issue, please contribute to that thread.

from bitcoin.

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.