Comments (7)
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.
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.
Just delete all the block data and redownload the block chain.
from bitcoin.
Deletion is not necessary,
doesn't it already happen anyway when wallet is replaced ?
from bitcoin.
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.
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.
#220 wallet import and export should resolve this issue, please contribute to that thread.
from bitcoin.
Related Issues (20)
- ci: failure in `wallet_basic.py --descriptors` HOT 2
- Test case for spending bare multisig? HOT 1
- bitcoind ubuntu generating fake addresses ? HOT 2
- Transfer from closed coinbase acc. HOT 1
- Operation Sweep HOT 1
- .
- Spam Filter Code in Tx Relay & Mempool Acceptance Ignores OFAC SDN Sanctions HOT 3
- Bitcoin: Operation Sweep - an L1 upgrade proposition
- ./bitcoin.conf file should not cause confusion with ./datadir/bitcoin.conf HOT 6
- [Bug]: Blockspace price shouldn't be higher for a simple transaction (price discrimination against simple txs) HOT 4
- Mark Transactions with OFAC Addresses as Non-Standard
- .
- Mark Transactions with OFAC Addresses as Non-Standard HOT 1
- new crash in v26.0 HOT 5
- `./configure` fails for clang-14 on Ubuntu 23.10 HOT 6
- is a getBlockTemplate transactions's bug? HOT 2
- .
- Broken `--enable-suppress-external-warning` for Apple Clang 15 on `x86_64` HOT 4
- ubsan: misaligned-pointer-use in crc32c/src/crc32c_arm64.cc HOT 10
- Prune Node Rescan Project Tracking
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitcoin.