Bitcoin Forum
May 06, 2024, 04:45:27 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Imported private key  (Read 1469 times)
auberon (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
October 16, 2012, 05:46:17 PM
 #1

This may be a strange question, so I'll explain my issue first:  I have an online wallet, but I have run into issues using them, especially the fact I now can't seem to send any coins from it.  It (supposedly) generates a block chain, but my balance does not get debited, and the receiver never gets the coins.  (It receives just fine.)  I've tried it in different browsers and on different machines, so I'm feeling confident the problem isn't me.  That, along with the fact they periodcally have security certificate issues, has made me decide to install my own wallet on my computer.  The thing is - I want to get my coins from the online wallet, but as just explained, I can't just send them to the new address, so I decoded the private key used by the online wallet and imported it into a new wallet in my software.  I assumed the coins associated with that key would make their way through the chain and show up in my software's wallet, but apparently I am mistaken (at least, they haven't done so within 18 hours or so).

Can someone explain how this works?  It's my understanding that if you have the private key, you can send whatever bitcoins are associated with it.  Even if the wallet I imported them into shows a balance of zero, can I still try to send the amount that should be there?  Do I need to give it more time to "see" the coins in the wallet first?

Thanks!
TalkImg was created especially for hosting images on bitcointalk.org: try it next time you want to post an image
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1028



View Profile WWW
October 16, 2012, 07:19:48 PM
 #2

The "wallet.dat" data file maintains a current balance for your addresses. Every time that a new block is downloaded, any payment to you is noted and the balance in addresses you own is updated in this local file.

However, if your local client is in sync, having already downloaded the entire blockchain, and you then import a private key through a third-party utility, the Bitcoin client doesn't go back in history searching for old payments to this new address. You must close Bitcoin, and relaunch it with the command-line option "bitcoin-qt -rescan". This will start up Bitcoin in a mode where for several minutes it will re-examine the blockchain and attempt to detect any missing payments to you to correct your balance.

auberon (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
October 16, 2012, 07:35:14 PM
 #3

Thanks, deepceleron.  I'll try that tonight when I get home and see how it goes.
BitBlitz
Sr. Member
****
Offline Offline

Activity: 285
Merit: 250


Turning money into heat since 2011.


View Profile
October 16, 2012, 07:47:35 PM
 #4

When you send coins, the wallet needs to sign the inputs.  If the wallet does not know what the inputs are, it cannot generate a transaction.   
If you're trying to send coins from a local wallet-- does that mean you've imported the private key with pywallet?  If so, use --rescan, like deepceleron mentioned.  You should see a balance.

Also - Have you looked up the address in blockchain.info to see if transactions are making it onto the network/blockchain?

Not being able to send from an online wallet sounds a lot like the issue we discussed at:
https://bitcointalk.org/index.php?topic=104641.msg1145818#msg1145818

I see the value of Bitcoin, so I don't worry about the price...
Stephen Gornick
Legendary
*
Offline Offline

Activity: 2506
Merit: 1010


View Profile
October 16, 2012, 08:26:39 PM
 #5

I have an online wallet

An online wallet is going to be either a hosted (shared) EWallet or a hybrid EWallet.

The hosted (shared) EWallet category includes Paytunia, Instawallet, Coinbase, exchange accounts (e.g., your BTC account at Mt. Gox, Bitfloor), or accounts with specific merchants (e.g., your BTC account with bitZino, bitMit.net, etc.).

None of these hosted wallets will provide you with the private key for your deposit addresses.

Another type of online wallet is a hybrid EWallet where you hold the private keys but the service is used for the spend transactions.  Examples of hybrid EWallets are Blockchain.info/wallet and StrongCoin.   You can see your private keys for your addresses in your hybrid EWallet, and transfer these keys elsewhere.

There are also mobile clients where the keys are stored on the mobile and not with a back-end host and the method of getting the private keys varies depending on the approach the mobile app uses.

Which type of service are you using, a hosted (shared) EWallet or a hybrid EWallet?  (or, for more specific assistance, what EWallet service specifically are you referring to?)

I decoded the private key used by the online wallet and imported it into a new wallet in my software.

"Decoded"?  Do you simply mean that you copied the private key (or exported it) from a hybrid EWallet (e.g., Blockchain.info/wallet) and then imported that key into the Bitcoin.org client?


Unichange.me

            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █
            █


auberon (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
October 16, 2012, 09:42:54 PM
 #6

Stephen, I use StrongCoin, and so yes, I was able to get my private key from them.  The key is encrypted on their server, and so to obtain it they have a "decode" function that unencrypts it in my browser.  I'm then able to copy and paste.

I didn't use pywallet to import the key because the client I'm using (MultiBit) has its own import functionality.  I was able to paste the key into a file which I imported into MultiBit.

Based on that, the command line option apparently won't work (I just tried it) because that apparently must use the bitcoin daemon, which is not used by MultiBit.

Did that help?
auberon (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
October 16, 2012, 09:52:28 PM
 #7

I just discovered MultiBit has a "reset block chain and transactions" option...perhaps that'll take care of things.  I just started it, so I'll see.
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!