Bitcoin Forum
May 30, 2024, 08:20:39 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to dump all private keys  (Read 1851 times)
vfilchef (OP)
Jr. Member
*
Offline Offline

Activity: 58
Merit: 3


View Profile
January 28, 2016, 07: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
Reynaldo
Legendary
*
Offline Offline

Activity: 1143
Merit: 1000


View Profile
January 28, 2016, 07:49:04 PM
 #2

Which wallet are you using?
vfilchef (OP)
Jr. Member
*
Offline Offline

Activity: 58
Merit: 3


View Profile
January 28, 2016, 08:02:32 PM
 #3

Which wallet are you using?

Bitcoin Core 0.11.2
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
January 28, 2016, 08: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.

Im not really here, its just your imagination.
vfilchef (OP)
Jr. Member
*
Offline Offline

Activity: 58
Merit: 3


View Profile
January 28, 2016, 09: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.
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
January 28, 2016, 09: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

Im not really here, its just your imagination.
vfilchef (OP)
Jr. Member
*
Offline Offline

Activity: 58
Merit: 3


View Profile
January 28, 2016, 10: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?
achow101
Staff
Legendary
*
Offline Offline

Activity: 3402
Merit: 6659


Just writing some code


View Profile WWW
January 28, 2016, 10: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.

vfilchef (OP)
Jr. Member
*
Offline Offline

Activity: 58
Merit: 3


View Profile
January 28, 2016, 11: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"
achow101
Staff
Legendary
*
Offline Offline

Activity: 3402
Merit: 6659


Just writing some code


View Profile WWW
January 28, 2016, 11: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.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!