Pages:
Author

Topic: [PULL] private key and wallet export/import - page 6. (Read 39577 times)

legendary
Activity: 1596
Merit: 1100
pulled into upstream

Eh no, not yet...

Sorry, cross-thread stupidity on my part.  Wallet encryption was pulled, not import/export -- though we do want to merge import/export soon!

legendary
Activity: 1072
Merit: 1181
pulled into upstream

Eh no, not yet...
sr. member
Activity: 252
Merit: 250
Until its added:
check what Joric made: https://github.com/joric/pywallet
It makes exporting/importing keys easy without recompiling Bitcoin. It does it right to the wallet using a python script! Still new but pretty cool and easy!

Nice tool!

But it only works on freshly created wallet.dat files. If you try to dump, or to add a priv. key on to long-term used wallet, the program yields an error message.
hero member
Activity: 672
Merit: 500
BitLotto - best odds + best payouts + cheat-proof
pulled into upstream
GREAT! I can't wait!!
legendary
Activity: 1596
Merit: 1100
pulled into upstream
hero member
Activity: 672
Merit: 500
BitLotto - best odds + best payouts + cheat-proof
Until its added:
check what Joric made: https://github.com/joric/pywallet
It makes exporting/importing keys easy without recompiling Bitcoin. It does it right to the wallet using a python script! Still new but pretty cool and easy!
member
Activity: 92
Merit: 10
Alright, whatever.  I guess our ideas of incredibly useful are different.  Personally, I don't want to have to export my entire wallet, cherry-pick addresses out of it that I want to delete, then re-import the rest, just to delete a simple key.  It makes sense to create an easier process for this.

I agree with you, I like easy, easy is good, easy makes my head not hurt.  Uhm... I guess that's all.  When can I do dumpwallet and importwallet?  Or whatever.  I want to fix my wallet, dangit.   Cry

*sigh* I haven't run the bitcoin app in a while, and I have lost all interest in doing so, until my wallet can be fixed.  What ever shall I do?  I love bitcoin, the idea, the revolution, but... I am too frustrated with this technical issue and the total lack of a solution I can implement Right Now.  Angry
member
Activity: 61
Merit: 10
This is awesome. When will it be part of the actual client?
legendary
Activity: 1400
Merit: 1005
So you're saying that every time I want to remove a private key from my wallet, it's better that I should dump all of my private keys, then create a new wallet with all the keys except the one that I wanted to remove?  Instead of just clicking a button or typing a command to remove the key?

That's absolutely ridiculous.

No, I'm saying that if you have a button that does A and a button that does B then having a button that does "A then B" isn't "incredibly useful".  It's merely convenient.
Roll Eyes

Alright, whatever.  I guess our ideas of incredibly useful are different.  Personally, I don't want to have to export my entire wallet, cherry-pick addresses out of it that I want to delete, then re-import the rest, just to delete a simple key.  It makes sense to create an easier process for this.
legendary
Activity: 2940
Merit: 1333
So you're saying that every time I want to remove a private key from my wallet, it's better that I should dump all of my private keys, then create a new wallet with all the keys except the one that I wanted to remove?  Instead of just clicking a button or typing a command to remove the key?

That's absolutely ridiculous.

No, I'm saying that if you have a button that does A and a button that does B then having a button that does "A then B" isn't "incredibly useful".  It's merely convenient.
full member
Activity: 134
Merit: 102
When you import a private key, the client has to search the block chain for transactions involving this key's address. How will importing private keys work with a partial block chain client? Such a client wouldn't have it's own full copy of the chain to search. It could fetch, scan, and discard the blockchain from the network piece-by-piece, but that seems like it will be very slow. I guess this feature could just be left out of such a client.
hero member
Activity: 546
Merit: 500
Just dont put removekey in the gui. That will be enough to stop noobs from losing there keys.
Importkey and Dump wallet should be in the gui tho since no harm can come from them.

"Dumpwallet" should surely be renamed if it is to be included in the GUI.


member
Activity: 98
Merit: 10
Just dont put removekey in the gui. That will be enough to stop noobs from losing there keys.
Importkey and Dump wallet should be in the gui tho since no harm can come from them.
sr. member
Activity: 322
Merit: 251
FirstBits: 168Bc
Users should have maximum freedom, so I am all for importprivkey, dumpprivkey, and removeprivkey.

I completely agree. We should not be protecting users from themselves. Provide the tools to empower users and explain the consequences. We should not engage in obscurity.

I believe part of the issue are the metaphors used. 'Wallet' implies a static singleton entity. We should be referring to addresses as 'accounts' - it's a metaphor familiar to most users and their grandparents and is much closer to the reality.

We'd have no problem understanding export, importing or removing accounts from portfolios rather than wallets.
legendary
Activity: 1400
Merit: 1005
I am not sure this a suitable to be on by default. This will cause a great amount of lost bitcoins because unsophisticated users are careless.

+1

This is fine living in a separate branch.

Being able to recompile a branch is a nice
barrier of entry for the tech. clueless.
This SHOULD be included in the default client.  Reason being, it is incredibly useful for people who know how to use it, and not all of us know how to use linux or feel like spending hours on Windows attempting to compile the source with all of the dependencies.

Discluding a feature like this from anyone who doesn't know how to compile c code would be a terrible thing.

I think "I am not sure this a suitable to be on by default" was referring to the "Can i also remove a key from the wallet with this patch?" request.  Removing keys from wallets isn't "incredibly useful" if you already have the ability to dump wallets and import those dumped keys into other wallets.
So you're saying that every time I want to remove a private key from my wallet, it's better that I should dump all of my private keys, then create a new wallet with all the keys except the one that I wanted to remove?  Instead of just clicking a button or typing a command to remove the key?

That's absolutely ridiculous.
legendary
Activity: 2940
Merit: 1333
I am not sure this a suitable to be on by default. This will cause a great amount of lost bitcoins because unsophisticated users are careless.

+1

This is fine living in a separate branch.

Being able to recompile a branch is a nice
barrier of entry for the tech. clueless.
This SHOULD be included in the default client.  Reason being, it is incredibly useful for people who know how to use it, and not all of us know how to use linux or feel like spending hours on Windows attempting to compile the source with all of the dependencies.

Discluding a feature like this from anyone who doesn't know how to compile c code would be a terrible thing.

I think "I am not sure this a suitable to be on by default" was referring to the "Can i also remove a key from the wallet with this patch?" request.  Removing keys from wallets isn't "incredibly useful" if you already have the ability to dump wallets and import those dumped keys into other wallets.
donator
Activity: 2772
Merit: 1019
Another idea I had was to expect the dumped private key passed in with removeprivkey, as proof that the user really has it and didn't mix up addresses etc.

now that is an awesome idea!
member
Activity: 73
Merit: 10
How about a setting in bitcoin.conf to allow removeprivkey? Still a barrier but very little, and it prevents completely novice users from 'trying what that does'. Another idea I had was to expect the dumped private key passed in with removeprivkey, as proof that the user really has it and didn't mix up addresses etc.
donator
Activity: 2772
Merit: 1019

I was making no assumptions; I was under the impression that molecular was pondering a way to gift his friend a "pre-loaded" bitcoin address/privkey without being able to accidentally spend the coins himself. I was merely pointing out that there is a way to do this, albeit not with standard, unmodified client alone.

No, I was trying to make the point that we need removeprivkey as soon as we have dumpprivkey.

(I know of vanitykeygen and will definitely use that next time I give a key to a friend)

I'm all for freedom to import/export as people want.
member
Activity: 92
Merit: 10
I may have completely missed it, but, I still can't figure out a way to fix my wallet by using dumpwallet to a JSON text file, then create a new wallet file and import that text file, minus the hung transactions, into the new wallet file, with all the keys and stuff from the damaged one.  Can you please help me do this?  Or do I have to wait until these new commands are included in the main branch, and then I download and install a newer version of the client to be able to use them?

Warning, I'm not a programmer, I don't understand C++, java, python, or anything even remotely as complex.  I understand plain HTML and BBS scripting, that's pretty much it.  So, don't just tell me to recompile this and that on my machine, I have no idea how to do that.  A step by step set of instructions, I can follow.  Just don't be vague, expecting me to already understand stuff that you do.

I'm using windows XP, and I'm not about to upgrade to windows 7 any time soon.  I also use Kubuntu, but not a whole lot, as this is my Dad's laptop, and my old laptop died a while ago.
Pages:
Jump to: