Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: Farghaly on March 13, 2014, 12:13:26 AM



Title: Backing up online wallet accounts
Post by: Farghaly on March 13, 2014, 12:13:26 AM
I am developing online Bitcoin application, i want to give the users the ability to backup their accounts. Is backup in this case is giving them the ability to download their (address, private_key) for each address associated with their account including change addresses ?

backup:
Code:
result = []
foreach address d associated with account a:
    p = dumpprivkey d
    result <<  (d,p)

download result in appropiate format, is this every thing ?


Title: Re: Backing up online wallet accounts
Post by: Farghaly on March 13, 2014, 12:18:05 PM
I don't understand this part
Quote
Bitcoin-Qt (and bitcoind) do not segregate the bitcoin funds into accounts in the wallet
As far as i know, each account has receiving address(es), and funds received on these address(es), can only be spent by this account. i tested it my self, sendfrom <account> method choose transaction output sent to <account>'s addresses, and don't mess with other accounts' coins.



Title: Re: Backing up online wallet accounts
Post by: E.exchanger on March 14, 2014, 05:54:07 PM
I think it is already available and OP you seems quite confused himself, anyways good luck and update us when you get your application in action !!!


Title: Re: Backing up online wallet accounts
Post by: medUSA on March 14, 2014, 06:11:01 PM
So, OP you want to code another online wallet like Blockchain.info? I believe there is a market for another online wallet, but you need to put a lot of thought on security.


Title: Re: Backing up online wallet accounts
Post by: kjj on March 14, 2014, 06:49:15 PM
I don't understand this part
Quote
Bitcoin-Qt (and bitcoind) do not segregate the bitcoin funds into accounts in the wallet
As far as i know, each account has receiving address(es), and funds received on these address(es), can only be spent by this account. i tested it my self, sendfrom <account> method choose transaction output sent to <account>'s addresses, and don't mess with other accounts' coins.

Your understanding of what is happening in the account system is completely and utterly wrong.  Please go educate yourself before you lose a bunch of money that doesn't belong to you.  The search function will probably help you in this matter, or google.


Title: Re: Backing up online wallet accounts
Post by: Farghaly on March 14, 2014, 08:35:54 PM
what's wrong with you people ?