Bitcoin Forum
November 11, 2024, 04:51:01 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How do I import my Bitcoin Core wallet.dat file into Bitcoin ABC?  (Read 3095 times)
InvestingEagle (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
August 03, 2017, 09:45:51 PM
 #1

I went to Help > Debug Window > Console, unlocked the wallet with my passphrase, and tried using the command "importprivkey <private key>" (note that this private key was copied down from Help > Debug Window > Console on the Bitcoin Core client as a 40-50 character line of letters and numbers). However, it returned "Rescan is disabled in pruned mode (code -4)". I had previously set up a bitcoin.conf file for Bitcoin ABC with "prune=550" in the datadir folder because my HDD only holds about 125 GB. What does this error code mean? How can it be resolved? All input is valued and appreciated.
aleksej996
Sr. Member
****
Offline Offline

Activity: 490
Merit: 389


Do not trust the government


View Profile
August 04, 2017, 11:36:08 AM
 #2

I believe Bitcoin ABC uses the same data file. So just copy it in Bitcoin ABC data folder.
onnz423
Hero Member
*****
Offline Offline

Activity: 840
Merit: 508


Make winning bets on sports with Sportsbet.io!


View Profile
August 04, 2017, 11:53:36 AM
 #3

I went to Help > Debug Window > Console, unlocked the wallet with my passphrase, and tried using the command "importprivkey <private key>" (note that this private key was copied down from Help > Debug Window > Console on the Bitcoin Core client as a 40-50 character line of letters and numbers). However, it returned "Rescan is disabled in pruned mode (code -4)". I had previously set up a bitcoin.conf file for Bitcoin ABC with "prune=550" in the datadir folder because my HDD only holds about 125 GB. What does this error code mean? How can it be resolved? All input is valued and appreciated.

The easiest method would simply be just downloading Electron Cash (Port of electrum for BCC) and then just importing the private key to the wallet, and using that as a wallet.
I am not very familiar with bitcoin-qt, but BTC and BCC use same wallet.dat files if i remember right. You can import the private key if you start the client at unpruned mode, import it there, and there restart on pruned mode.
However, if you restart it on unpruned mode, you might have to sync the whole again again for the Bitcoin ABC client. That is why i recommend just installing electron cash for the lightweight wallet, or just simply store the data on a external hard drive for example. If you have a external hard drive, i can help you out to store all of the chaindata and wallet files there, if you tell me your Operating System.

Best Regards.

   ▄▄██████▄▄
  ████████████
███▄▄
 ██████████████▀▀▀██▄
████████████████   ▀██▄
████████████████     ▀██
██████████████       ██▌
██████████████        ▐██
██▌▀▀██████▀▀         ▐██
▐██                   ██▌
 ██▄                 ▄██
  ▀██▄             ▄██▀
    ▀██▄▄▄     ▄▄▄██▀
      ▀▀█████████▀▀





███████████████████████████
████████▀▀       ▀▀████████
█████▀   ▄ ▀███▀ ▄   ▀█████
████  ▄████▄ ▀ ▄████▄  ████
███  ▄ ▀███▀ ▄ ▀███▀ ▄  ███
██  ▄██ ▀▀ ▄███▄ ▀▀ ██▄  ██
██  █▀ ▄█ ███████ █▄ ▀█  ██
██   ▄███▄ █████ ▄███▄   ██
███  ████▀ ▄▄▄▄▄ ▀████  ███
████  ▀ ▄ ▀█████▀ ▄ ▀  ████
█████▄  ▀▀▄ ███ ▄▀▀  ▄█████
████████▄▄       ▄▄████████
███████████████████████████





█▀▀











█▄▄
▀▀█











▄▄█
█▀▀











█▄▄
▀▀█











▄▄█
Coin++
Sr. Member
****
Offline Offline

Activity: 810
Merit: 444


View Profile
August 04, 2017, 03:46:16 PM
 #4

I went to Help > Debug Window > Console, unlocked the wallet with my passphrase, and tried using the command "importprivkey <private key>" (note that this private key was copied down from Help > Debug Window > Console on the Bitcoin Core client as a 40-50 character line of letters and numbers). However, it returned "Rescan is disabled in pruned mode (code -4)". I had previously set up a bitcoin.conf file for Bitcoin ABC with "prune=550" in the datadir folder because my HDD only holds about 125 GB. What does this error code mean? How can it be resolved? All input is valued and appreciated.

The easiest method would simply be just downloading Electron Cash (Port of electrum for BCC) and then just importing the private key to the wallet, and using that as a wallet.
I am not very familiar with bitcoin-qt, but BTC and BCC use same wallet.dat files if i remember right. You can import the private key if you start the client at unpruned mode, import it there, and there restart on pruned mode.
However, if you restart it on unpruned mode, you might have to sync the whole again again for the Bitcoin ABC client. That is why i recommend just installing electron cash for the lightweight wallet, or just simply store the data on a external hard drive for example. If you have a external hard drive, i can help you out to store all of the chaindata and wallet files there, if you tell me your Operating System.

Best Regards.
Be carreful !
Electron cash is not a port of Electrum for BCC !!!
Electron cash seems to be not safe and Electrum team is not supported this wallet at all !!!

Use Google to knows all the details.

My favorite faucets to earn real free bitcoins/satoshis : Moon BitCoin and Bit Fun.
You want some free AltCoins ? It's here : BCH (Bitcoin Cash) Moon BitCoinCash - DASH (Dash) Moon Dash - DOGE (DogeCoin) Moon DogeCoin - LTC (LiteCoin) Moon LiteCoin.
You want some free LBC (Lbry Credits) ? My LBC invite : Lbry.tv - LBC (Lbry Credits).
onnz423
Hero Member
*****
Offline Offline

Activity: 840
Merit: 508


Make winning bets on sports with Sportsbet.io!


View Profile
August 04, 2017, 03:57:12 PM
 #5

Be carreful !
Electron cash is not a port of Electrum for BCC !!!
Electron cash seems to be not safe and Electrum team is not supported this wallet at all !!!

Use Google to knows all the details.


Electrum team does not support Electrum LTC either, which has been proved to be safe as well.
They are not of course supporting any wallets that are not officially released by them.
It contains peer poisoning yes, but this can be avoided by disabling auto-connect.
However i think this can be a succesful project.

However, funny as it is that electrum.org contains instructions to use electron cash client:
https://electrum.org/bcc.txt
https://electrum.org/bcc2.txt

It does however copy all of the files into its own directory:

https://www.reddit.com/r/Bitcoin/comments/6qnirt/warning_electron_cash_will_copy_all_your_electrum/


So how it is not safe?
If you are paranoid, you can always review the code and compile the binaries by yourself, simple as that.

   ▄▄██████▄▄
  ████████████
███▄▄
 ██████████████▀▀▀██▄
████████████████   ▀██▄
████████████████     ▀██
██████████████       ██▌
██████████████        ▐██
██▌▀▀██████▀▀         ▐██
▐██                   ██▌
 ██▄                 ▄██
  ▀██▄             ▄██▀
    ▀██▄▄▄     ▄▄▄██▀
      ▀▀█████████▀▀





███████████████████████████
████████▀▀       ▀▀████████
█████▀   ▄ ▀███▀ ▄   ▀█████
████  ▄████▄ ▀ ▄████▄  ████
███  ▄ ▀███▀ ▄ ▀███▀ ▄  ███
██  ▄██ ▀▀ ▄███▄ ▀▀ ██▄  ██
██  █▀ ▄█ ███████ █▄ ▀█  ██
██   ▄███▄ █████ ▄███▄   ██
███  ████▀ ▄▄▄▄▄ ▀████  ███
████  ▀ ▄ ▀█████▀ ▄ ▀  ████
█████▄  ▀▀▄ ███ ▄▀▀  ▄█████
████████▄▄       ▄▄████████
███████████████████████████





█▀▀











█▄▄
▀▀█











▄▄█
█▀▀











█▄▄
▀▀█











▄▄█
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4361

<insert witty quote here>


View Profile
August 05, 2017, 08:00:02 AM
 #6

Electron cash is not a port of Electrum for BCC !!!
Huh? Huh "a port of Electrum for BCC" is EXACTLY what Electron cash is!!?!

They forked the Electrum code on github and modified it to work with BCC Sighashing rules etc... Granted, it has a few teething issues at the moment, but a few patches have been included to help with a couple of the more urgent ones...

It isn't that it is "not safe"... it's more just that it is currently somewhat "unproven"...

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
ranochigo
Legendary
*
Offline Offline

Activity: 3038
Merit: 4420


Crypto Swap Exchange


View Profile
August 10, 2017, 03:09:23 AM
 #7

i found this helpful for PRUNED clients, when importing private keys, set rescan to false:

Code:
importprivkey <5K43tXXX-Private-Key--in-Wallet-import-format-(WIF)> "your-wallet-LABEL" false
that does the trick
The client will not scan your address for coins and your past transactions and coins will not be visible. You can spend the coins but you have to input the transactions yourself. The future transactions will be visible however.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
ruclassic
Member
**
Offline Offline

Activity: 96
Merit: 100

RUcoin - Revolution on Universe


View Profile WWW
August 13, 2017, 01:14:33 PM
 #8

I believe Bitcoin ABC uses the same data file. So just copy it in Bitcoin ABC data folder.
Exactly, Bitcoin ABC use same wallet.dat file so just copy it and paste.

    ● Virtual Reality Industry                                             Get profit from 1st day of ICO.
VR in Psychotherapy | VR in the Military                        ANN Thread|Facebook|Twitter
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!