Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: winnetou on April 04, 2012, 08:16:29 AM



Title: How about long-term support for accounts?
Post by: winnetou on April 04, 2012, 08:16:29 AM
Hello,

I am wondering if wallet accounts are long term supported because there are some voices out there who are saying that you should not use accounts for your bitcoin applications (handle accounts better by yourself/database...). But I like accounts because they are incredibly handy.

thx


Title: Re: How about long-term support for accounts?
Post by: wumpus on April 04, 2012, 09:03:01 AM
There may be other reasons not to use them in some cases (such as performance), but
AFAIK there are no plans to deprecate it.



Title: Re: How about long-term support for accounts?
Post by: ribuck on April 04, 2012, 09:46:42 AM
If you use wallet accounts, you need to design your business to work the same way as wallet accounts. If the block chain gets reorganized, the wallet account balances may change. And if you need to switch wallets for some reason, it's messy to handle.

On the other hand, most businesses will prefer to work like this: "After some fixed number of confirmations, I credit the customer's account on my database. From that point on, it's the balance in the customer's account on the database that matters, not the balance in the wallet account".

If you are building a business that is critically dependent on wallet accounts, you need to accept the worst-case scenario: that you may need to provide the long-term support yourself, if no-one else is interested. And, due to the wonders of open-source software, you are able to do that.


Title: Re: How about long-term support for accounts?
Post by: Stephen Gornick on April 04, 2012, 06:00:40 PM
I am wondering if wallet accounts are long term supported because there are some voices out there who are saying that you should not use accounts for your bitcoin applications (handle accounts better by yourself/database...). But I like accounts because they are incredibly handy.

That kind of locks you into using the Bitcoin.org client though, right?  Some day that might not be the best tool for the job.


Title: Re: How about long-term support for accounts?
Post by: winnetou on April 04, 2012, 06:13:49 PM
Convinced. thX