Author

Topic: How to dump all private keys (Read 1869 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
January 28, 2016, 06:17:45 PM
#10
Thank you very mach I hope this is addresses not from your wallet  Grin
The private keys that shorena posted are for testnet, so they don't matter.

So only used addresses have "label" and "change" & "reserve"addresses is not important - right?
Those addresses are still important. After you send from you wallet, the change addresses are for your change and the reserve addresses are where you get new addresses from. When you click on "New" in the receiving addresses window, you are getting an address from the list of reserve addresses. Change addresses will also be able to spend Bitcoin as Bitcoin Core uses a new change address for the change of every transaction.

Thank you @knightdk to clear for me - I like to migrate to another wallet like Electrum so for me was important to know
So I can filter only "label"&"change"
Yes. Those will be the only ones that actual contain your coins. The reserve ones will be empty.
jr. member
Activity: 58
Merit: 3
January 28, 2016, 06:00:53 PM
#9
Thank you very mach I hope this is addresses not from your wallet  Grin
The private keys that shorena posted are for testnet, so they don't matter.

So only used addresses have "label" and "change" & "reserve"addresses is not important - right?
Those addresses are still important. After you send from you wallet, the change addresses are for your change and the reserve addresses are where you get new addresses from. When you click on "New" in the receiving addresses window, you are getting an address from the list of reserve addresses. Change addresses will also be able to spend Bitcoin as Bitcoin Core uses a new change address for the change of every transaction.

Thank you @knightdk to clear for me - I like to migrate to another wallet like Electrum so for me was important to know
So I can filter only "label"&"change"
staff
Activity: 3458
Merit: 6793
Just writing some code
January 28, 2016, 05:42:45 PM
#8
Thank you very mach I hope this is addresses not from your wallet  Grin
The private keys that shorena posted are for testnet, so they don't matter.

So only used addresses have "label" and "change" & "reserve"addresses is not important - right?
Those addresses are still important. After you send from you wallet, the change addresses are for your change and the reserve addresses are where you get new addresses from. When you click on "New" in the receiving addresses window, you are getting an address from the list of reserve addresses. Change addresses will also be able to spend Bitcoin as Bitcoin Core uses a new change address for the change of every transaction.
jr. member
Activity: 58
Merit: 3
January 28, 2016, 05:14:03 PM
#7
But this command give me all 100 addresses not only this which consist bitcoins.

Yes, you can filter it for "change" and "label" (all used received addresses should have a label).

Code:
# Wallet dump created by Bitcoin v0.9.1.0-g026a939-beta (Tue, 8 Apr 2014 12:04:06 +0200)
# * Created on 2014-04-29T20:46:09Z
# * Best block at time of backup was 227221 (0000000026ede4c10594af8087748507fb06dcd30b8f4f48b9cc463cabc9d767),
#   mined on 2014-04-29T21:15:07Z

cTtefiUaLfXuyBXJBBywSdg8soTEkBNh9yTi1KgoHxUYxt1xZ2aA 2014-02-05T15:44:03Z label=test1 # addr=mnUbTmdAFD5EAg3348Ejmonub7JcWtrMck
cQNY9v93Gyt8KmwygFR59bDhVs3aRDkuT8pKaCBpop82TZ8ND1tH 2014-02-05T16:58:41Z reserve=1 # addr=mp4MmhTp3au21HPRz5waf6YohGumuNnsqT
cNTEPzZH9mjquFFADXe5S3BweNiHLUKD6PvEKEsHApqjX4ZddeU6 2014-02-05T16:58:41Z reserve=1 # addr=n3pdvsxveMBkktjsGJixfSbxacRUwJ9jQW
cTVNtBK7mBi2yc9syEnwbiUpnpGJKohDWzXMeF4tGKAQ7wvomr95 2014-02-05T16:58:41Z change=1 # addr=moQR7i8XM4rSGoNwEsw3h4YEuduuP6mxw7
cNCD679B4xi17jb4XeLpbRbZCbYUugptD7dCtUTfSU4KPuK2DyKT 2014-02-05T16:58:41Z reserve=1 # addr=mq8fzjxxVbAKxUGPwaSSo3C4WaUxdzfw3C

Thank you very mach I hope this is addresses not from your wallet  Grin
So only used addresses have "label" and "change" & "reserve"addresses is not important - right?
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
January 28, 2016, 04:19:36 PM
#6
But this command give me all 100 addresses not only this which consist bitcoins.

Yes, you can filter it for "change" and "label" (all used received addresses should have a label).

Code:
# Wallet dump created by Bitcoin v0.9.1.0-g026a939-beta (Tue, 8 Apr 2014 12:04:06 +0200)
# * Created on 2014-04-29T20:46:09Z
# * Best block at time of backup was 227221 (0000000026ede4c10594af8087748507fb06dcd30b8f4f48b9cc463cabc9d767),
#   mined on 2014-04-29T21:15:07Z

cTtefiUaLfXuyBXJBBywSdg8soTEkBNh9yTi1KgoHxUYxt1xZ2aA 2014-02-05T15:44:03Z label=test1 # addr=mnUbTmdAFD5EAg3348Ejmonub7JcWtrMck
cQNY9v93Gyt8KmwygFR59bDhVs3aRDkuT8pKaCBpop82TZ8ND1tH 2014-02-05T16:58:41Z reserve=1 # addr=mp4MmhTp3au21HPRz5waf6YohGumuNnsqT
cNTEPzZH9mjquFFADXe5S3BweNiHLUKD6PvEKEsHApqjX4ZddeU6 2014-02-05T16:58:41Z reserve=1 # addr=n3pdvsxveMBkktjsGJixfSbxacRUwJ9jQW
cTVNtBK7mBi2yc9syEnwbiUpnpGJKohDWzXMeF4tGKAQ7wvomr95 2014-02-05T16:58:41Z change=1 # addr=moQR7i8XM4rSGoNwEsw3h4YEuduuP6mxw7
cNCD679B4xi17jb4XeLpbRbZCbYUugptD7dCtUTfSU4KPuK2DyKT 2014-02-05T16:58:41Z reserve=1 # addr=mq8fzjxxVbAKxUGPwaSSo3C4WaUxdzfw3C
jr. member
Activity: 58
Merit: 3
January 28, 2016, 04:15:44 PM
#5

the command is dumpwallet you can use it from the terminal and you must give it a full path, e.g.

dumpwallet c:\mykeys.txt

If you have set a password you need to unlock the wallet first. The below command will unlock it for 60 seconds.

walletpassphrase PASSWORD 60

They will be exported unencrypted(!) so be careful.

But this command give me all 100 addresses not only this which consist bitcoins.
copper member
Activity: 1498
Merit: 1528
No I dont escrow anymore.
January 28, 2016, 03:16:05 PM
#4
Which wallet are you using?

Bitcoin Core 0.11.2

the command is dumpwallet you can use it from the terminal and you must give it a full path, e.g.

dumpwallet c:\mykeys.txt

If you have set a password you need to unlock the wallet first. The below command will unlock it for 60 seconds.

walletpassphrase PASSWORD 60

They will be exported unencrypted(!) so be careful.
jr. member
Activity: 58
Merit: 3
January 28, 2016, 03:02:32 PM
#3
Which wallet are you using?

Bitcoin Core 0.11.2
legendary
Activity: 1143
Merit: 1000
January 28, 2016, 02:49:04 PM
#2
Which wallet are you using?
jr. member
Activity: 58
Merit: 3
January 28, 2016, 02:43:21 PM
#1
How to dump all private keys which consist bitcoins.

I know how to dump single private key but when I make transaction change can coming back to one hidden address
Jump to: