Jump to content
  • 0
bitcometrader

WorldcoinBC 2.0.2 Fitnes Hippo problem

Question

Hi I try to import a private key into the new client and always get the massage:"Command not found in definitions!. Type help for a list of known commands...
This is the first time I had problems importing a private key into a client. Are there any other ways of importing private keys ? What am I doing wrong ?

Thanks for the answer.

 

 

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hello, effectively we only enabled most common commands; all keys management was disabled in case a serious bug was found on new code, fortunately this is not the case so it will be available next version.

But I will post a simple solution later tonight.

 

Share this post


Link to post
Share on other sites
  • 0

Hello, sorry I forgot.

In file CommandDefinitions.cfg add this line:

importprivkey="String"

The order is not important. That's it!

Don`t forget to unlock your wallet before importing keys. 

Now when you import your private key a message error may appear (code -4), no problem the key is imported. It means that you already imported the key. 

You can check it out executing: getaddressesbyaccount ""

 

Share this post


Link to post
Share on other sites
  • 0
On 11.5.2016 at 9:21 AM, Berzeck said:

Hello, sorry I forgot.

In file CommandDefinitions.cfg add this line:

importprivkey="String"

The order is not important. That's it!

Don`t forget to unlock your wallet before importing keys. 

Now when you import your private key a message error may appear (code -4), no problem the key is imported. It means that you already imported the key. 

You can check it out executing: getaddressesbyaccount ""

 

Hi Berzeck, I wish this would work, it imports the private key but the balance stays zero, so there is no way of transferring funds.

 

worldcoin 11.jpg

worldcoin222.jpg

Share this post


Link to post
Share on other sites
  • 0

When you import a priv key the daemon automatically start a 'rescan' procedure which means that it will browse across every transaction in the database and add those that match your know addresses to the wallet.

Start up the program again and check if you have your balance.

If not please use Command Prompt program and enter this command:

cd <intall_dir>/Daemons

change <install_dir> with the directory where Worldcoin is installed

execute 

WorldcoinDaemon.exe -conf=<Chain_Dir>\worldcoin.conf -datadir=<Chain_Dir>\WorldcoinChain -rescan

Change <Chain_Dir> with the directory where blcokchain is installed (Use absolute paths!)

thats it

We inherited this behavior from BTC daemon and will get better when we rebase to newer versions this year

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×