Bitcoin Forum
December 14, 2024, 09:46:54 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: does bitcore create a new private key when importing addy using commanline  (Read 437 times)
robertbruce (OP)
Member
**
Offline Offline

Activity: 61
Merit: 10

AWorldWideWebOfReasons AWorldWideWebOfResults


View Profile
August 09, 2017, 12:13:01 AM
 #1

1) i tried importing my main btc address using bitcores command line function, just the adress, not the key. It used the adress as a "label" and associated another address to it... has bitcore now created a different key for that original address i imported...

I hope I am answering my own question correctly...

yes, btcore creates another key and address but that is only associated to that label and no real changes have been made to the original addy and key - What you may find is you can now get confused between label's and addrss's

2) i exported some recieving address but can't find the keys in wallet.dat or the csv file? Is this correct?

many thanks for any help

A World Wide Web Of Reasons
A World Wide Web Of Results
DannyHamilton
Legendary
*
Offline Offline

Activity: 3514
Merit: 4894



View Profile
August 09, 2017, 02:11:53 AM
 #2

1) i tried importing my main btc address using bitcores command line function, just the adress, not the key.

What command did you use for that?

It used the address as a "label" and associated another address to it... has bitcore now created a different key for that original address i imported...

It sounds like perhaps you used the command:
Code:
getnewaddress

If so, then you did not import an address.  You asked the wallet to generate a new address of its own with its own private key, and then you created an account associated with that new receiving address.  You used your pre-existing address as the name for the account.  You could have just as easily named the account "MyNewAccount", but instead you chose to use a bitcoin address that is not associated with the wallet at all as an account name.  That is likely to be confusing.


2) i exported some receiving addresses but can't find the keys in wallet.dat or the csv file? Is this correct?

What command did you use to export the addresses?
robertbruce (OP)
Member
**
Offline Offline

Activity: 61
Merit: 10

AWorldWideWebOfReasons AWorldWideWebOfResults


View Profile
August 09, 2017, 03:43:48 AM
 #3

thanks buddy, that was a huge help...i've got a follow up on my next excercise if you like.... for the first many thanks again..

https://bitcointalk.org/index.php?topic=2074964.new#new

A World Wide Web Of Reasons
A World Wide Web Of Results
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!