Bitcoin Forum
May 31, 2024, 03:27:19 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Load a dumpfile  (Read 218 times)
Engelen (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 06, 2020, 01:13:07 PM
 #1

I hove put  the following statement in the Bitcoin.conf file:
prune=0

It is a "virgin" installation.  version 0.19.01

I have a dumpfile created with the previous Bitcoin version.
I am trying to import a dumpfile. I get the following error message

command:
importwallet "C:\Users\Ingvar\Desktop\WalletsDesktop\DumpedWallets\UsersAdministratorDesktopWalletsDesktopDBitcoinBUwallet.dat"

the dumpfile I try to import starts like this

# Wallet dump created by Bitcoin v0.18.1
# * Created on 2019-10-12T13:23:19Z
# * Best block at time of backup was 297837 (00000000000000001b230135c1b019c0959c89451f5af92bc2012192565f4c24),
#   mined on 2014-04-26T17:43:11Z

# extended private masterkey: xprv9s21ZrQH143K3CPuARCD5bADuDVs5zY6Vuh4YdmhhNUMgVRdJpytEzYuMr1qzTSY81G8Gwgyg4h MdLVZni5yNRBw629y1mcNb6DTPs9jqsm

KzTVZq6RQkTjntSqxwHpHVLmd8hxhkhKf3fxBxFTiy15hykFugQC 2019-10-12T09:40:52Z reserve=1 # addr=3MwTJm7ZMxnQYhAnQZxwpfHyAqUYBhJX6F hdkeypath=m/0'/0'/2'
L217y5pkjJamtxphbd1i95QUjPh8S7jFVuwo2uMvQhoG22Kr8TYj 2019-10-12T09:40:52Z reserve=1 # addr=37bKNqToKAUPWQPjXtmZJVNSVBdoDqZ9bC hdkeypath=m/0'/0'/4'



Get this error message:
"Error: std::bad_alloc"

Tried another dumpfile.  Same error

Huh
BitMaxz
Legendary
*
Offline Offline

Activity: 3276
Merit: 2987


BTC price road to $80k


View Profile WWW
March 06, 2020, 11:01:40 PM
Last edit: March 06, 2020, 11:17:33 PM by BitMaxz
 #2

Can you try to import the dump file directly into bitcoin core folder?
You can find the Bitcoin core folder on this path %APPDATA%\Bitcoin or this one below
Code:
C:\Users\Ingvar\AppData\Roaming\Bitcoin

Under that folder, if you see a wallet.dat file just rename it with different name like wallet.dat.bckup(or if currently no balance you can just delete it) then put the file dump which is this "UsersAdministratorDesktopWalletsDesktopDBitcoinBUwallet.dat" rename it to wallet.dat

Now you can open the bitcoin core wallet.


Be careful about posting this "extended private masterkey" you must be deleted it if this is your wallet with a bitcoin balance. Remove this as soon as possible because if someone finds this they can use it and import it to their wallet to get your bitcoins from this wallet.



It seems you already have a thread the same as this question before. Check your old thread from here https://bitcointalk.org/index.php?topic=5222213.0
You can find many answers from your thread related to this.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
nc50lc
Legendary
*
Offline Offline

Activity: 2436
Merit: 5660


Self-proclaimed Genius


View Profile
March 07, 2020, 02:58:23 AM
 #3

Get this error message:
"Error: std::bad_alloc"
How low is your Rig's RAM?
How much is the available memory (RAM) when you start Bitcoin Core?

If you're using dbcache in your config file or Qt settings, try to decrease it to half of your total RAM,
if it's already set to half, then lower it more.
-snip- then put the file dump which is this "UsersAdministratorDesktopWalletsDesktopDBitcoinBUwallet.dat" rename it to wallet.dat
The contents doesn't look like a wallet.dat to me, it's more of a "dumpwallet" command file export but OP might have included ".dat" extension to it.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
March 07, 2020, 11:01:59 AM
 #4

you can't import a dump file like that. instead to create a backup that will work with bitcoin core you need to use the option in the file menu and then in the destination system place that file in the data dir. if the dump file is all you have you're going to have to import each of the private keys individually into bitcoin core.
nc50lc
Legendary
*
Offline Offline

Activity: 2436
Merit: 5660


Self-proclaimed Genius


View Profile
March 08, 2020, 03:23:28 AM
 #5

you can't import a dump file like that. -snip-
Last time I tried, importing the keys from the dumpwallet file worked for "importwallet" command.
Of course, not the actual wallet.dat file or the file from "backup wallet" option.

In OP's case, it's a file from dumpwallet command with '.dat' extension, looks like he accidentally added the '.dat' extension through this:
Code:
dumpwallet "UsersAdministratorDesktopWalletsDesktopDBitcoinBUwallet.dat"

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
March 08, 2020, 03:43:53 PM
 #6

ah my bad

https://bitcoincore.org/en/doc/0.16.0/rpc/wallet/importwallet/
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!