Bitcoin Forum
November 14, 2024, 10:15:13 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Best way to handle multiple accounts (like a bank)?  (Read 3461 times)
wslh (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
November 25, 2014, 06:23:02 PM
Last edit: November 25, 2014, 06:52:15 PM by wslh
 #1

I am developing a virtual bank using bitcoins using the reference client multiple accounts capability. My main concern is scaling it to hundreds of thousands of accounts and transactions fired all the time.

What are other alternatives to this approach? I read that using multiple address assigned to different users is one way to handle it but would like to hear your opinion about other alternatives.

Thanks,
wslh
doge94
Sr. Member
****
Offline Offline

Activity: 349
Merit: 250


View Profile
November 29, 2014, 10:18:11 PM
 #2

If you don't know what you are doing PLEASE don't develop banking software, especially for bitcoin. That being said assigning each user an address in a DB and checking transactions as they come in seems to be a good approach.
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4284
Merit: 8808



View Profile WWW
November 30, 2014, 11:19:33 AM
 #3

If you don't know what you are doing
To make this solid advice more useful, I'll add... How do you know when you don't know what you're doing?  If you think you know what you're doing thats a strong indicator that you don't.
cbeast
Donator
Legendary
*
Offline Offline

Activity: 1736
Merit: 1014

Let's talk governance, lipstick, and pigs.


View Profile
November 30, 2014, 11:30:19 AM
 #4

One word: Ripple.
It claims to do everything you could ever dream of.

Any significantly advanced cryptocurrency is indistinguishable from Ponzi Tulips.
doof
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
December 03, 2014, 10:47:31 PM
 #5

If you don't know what you are doing
To make this solid advice more useful, I'll add... How do you know when you don't know what you're doing?  If you think you know what you're doing thats a strong indicator that you don't.
I lol'd!
doof
Hero Member
*****
Offline Offline

Activity: 765
Merit: 503


View Profile WWW
December 03, 2014, 10:50:25 PM
 #6

What are other alternatives to this approach? I read that using multiple address assigned to different users is one way to handle it but would like to hear your opinion about other alternatives.
MS SQL Enterprise will handle alot of load.
BitcoinPappi
Legendary
*
Offline Offline

Activity: 915
Merit: 1005


View Profile
December 04, 2014, 10:16:28 PM
 #7

If you don't know what you are doing
To make this solid advice more useful, I'll add... How do you know when you don't know what you're doing?  If you think you know what you're doing thats a strong indicator that you don't.

^^^This
newIndia
Legendary
*
Offline Offline

Activity: 2226
Merit: 1052


View Profile
December 04, 2014, 10:49:04 PM
 #8

What are other alternatives to this approach? I read that using multiple address assigned to different users is one way to handle it but would like to hear your opinion about other alternatives.
MS SQL Enterprise will handle alot of load.

For god's sake, DO NOT get trapped by MS. Once you are in, there is no way out.

dsly
Full Member
***
Offline Offline

Activity: 168
Merit: 100


View Profile
December 05, 2014, 01:37:09 PM
 #9

I am developing a virtual bank using bitcoins using the reference client multiple accounts capability. My main concern is scaling it to hundreds of thousands of accounts and transactions fired all the time.

What are other alternatives to this approach? I read that using multiple address assigned to different users is one way to handle it but would like to hear your opinion about other alternatives.

Thanks,
wslh

Maybe if bitcoin had a POS , it would also be like a bank. But, I seriously doubt, a virtual bank for bitcoins would be preferred by most.

altcoinex
Sr. Member
****
Offline Offline

Activity: 293
Merit: 251


Director - www.cubeform.io


View Profile WWW
December 05, 2014, 03:42:15 PM
 #10

"Don't you think If I were wrong, Id know it?"


                                     ╓╢╬╣╣╖
                                   ┌║██████║∩
                                   ]█████████
                                    ╜██████╝`
                                      ╙╜╜╜`
                                   ╓╥@@@@@@╥╓
         ╓╖@@╖,                 ,@║██████████╢@,                 ,╓@@╖╓
       ╓╢██████╢.              ╓╢███████████████╖               ║╢█████║╓
       ║█████████    ,,╓╓,,   ┌║█████████████████┐   ,,╓╓,,    ]█████████
       └╢██████║` ╓╢║██████╢║∩``╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙╙`»╢╢██████╢║╖  ║███████╜
         "╜╜╜╜` ╖╢█████████╣╜                      └╢██████████@ `╜╜╜╜╜
               ║██████████╜                          ╙╢██████████
              ┌█████████╜                              ╙╢█████████
              └███████╨`                                 ╜████████
               ║████╨╜                                    `╢█████
                ╙╢╣╜                                        └╢█╜
                ,,                                            ,,
             ╓@║██┐                                          ┌██║@╓
            ╢██████                                          ]█████H
           ╢███████∩                                        ┌████████
  ╓@@@@╓   █████████                                        ║████████`  ╓@@@@╖
╓╢██████║. █████████∩                                      ┌█████████ ,║███████╖
██████████ └█████████                                      ██████████ ]█████████
`║██████╜`  └╢████████                                    ┌███████╣╜   ╙██████╨`
  `╙╜╜╙`      `╙╨╢████                                    █████╝╜`       `╙╜╜`
                      ]@╓                              ╓╖H
                      ███╢║@╓,                    ,╓@╢╢███`
                      ████████╢@╖╓.           ╓╖@║████████`
                      ]███████████╢║@╓,  ,╓@╢╢████████████
                       ╙╢█████████████╨` ╜██████████████╜
                         ╙╝╢███████║╜`    `╜║████████╝╜`
                     ,╓@@@╓  `²╙``             `╙²`  ╓@@@╖,
                    ║╢█████╢H                      ╓╢██████H
                    █████████                      █████████`
                    ╙╢██████╜                      ╙╢██████╜
                      └╨╩╝┘                          └╨╩╝╜
WINFLOW.
██
██
██
██
██
██
██
██
██
██
██
██
██
..
██
██
██
██
██
██
██
██
██
██
██
██
██
.
throwingbones1
Full Member
***
Offline Offline

Activity: 183
Merit: 100


View Profile
December 10, 2014, 04:30:48 PM
 #11

What are other alternatives to this approach? I read that using multiple address assigned to different users is one way to handle it but would like to hear your opinion about other alternatives.
MS SQL Enterprise will handle alot of load.

For god's sake, DO NOT get trapped by MS. Once you are in, there is no way out.

i agree totally, there are plenty of other alternatives.

Without The Hyena The Lion Cannot Be King Of The Jungle
mlferro
Sr. Member
****
Offline Offline

Activity: 252
Merit: 250


View Profile
December 13, 2014, 04:10:03 PM
 #12

the topic idea is good! I liked ... but I do not particularly have the courage to invest, because nowadays, there is no security on the Internet

wslh (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
December 16, 2014, 11:05:34 PM
Last edit: December 16, 2014, 11:29:05 PM by wslh
 #13

If you don't know what you are doing
To make this solid advice more useful, I'll add... How do you know when you don't know what you're doing?  If you think you know what you're doing thats a strong indicator that you don't.

I always have someone in my team that knows what he is doing. Anyway, the main question was about a bitcoin implementation that can handle multiple accounts.

I wonder why nobody suggested Copay, BitcoinJS-Lib, or a fork of BTCWallet handling multiple accounts.
BITMIXER.IO
Sr. Member
****
Offline Offline

Activity: 261
Merit: 265


View Profile
December 17, 2014, 01:02:40 AM
 #14

In case of "bank" no way than use unique address for every customer. Combined with no-sql-database it should work pretty fast.
noobtrader
Legendary
*
Offline Offline

Activity: 1456
Merit: 1000



View Profile
December 17, 2014, 02:18:51 AM
 #15

One word: Ripple.
It claims to do everything you could ever dream of.

wow... it can take me to the moon Huh LOL

"...I suspect we need a better incentive for users to run nodes instead of relying solely on altruism...",  satoshi@vistomail.com
lontivero
Full Member
***
Offline Offline

Activity: 164
Merit: 128

Amazing times are coming


View Profile
December 17, 2014, 10:52:36 PM
 #16

In case of "bank" no way than use unique address for every customer. Combined with no-sql-database it should work pretty fast.

I think that is the more natural approach but it is not a good idea.
1) reuse addresses is never a good idea
2) all eggs together sound dangerous if they are in a reused address

It could be an acceptable approach if he can move the biggest part to a cold wallet
wslh (OP)
Newbie
*
Offline Offline

Activity: 9
Merit: 0


View Profile
March 21, 2015, 12:50:32 PM
 #17

I just published a way to do this using Copay.

I hope it helps.
daviswilla
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
March 25, 2015, 04:45:22 PM
 #18

I dont it work
nambich
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
March 30, 2015, 05:54:52 PM
 #19

I am developing a virtual bank using bitcoins using the reference client multiple accounts capability. My main concern is scaling it to hundreds of thousands of accounts and transactions fired all the time.

What are other alternatives to this approach? I read that using multiple address assigned to different users is one way to handle it but would like to hear your opinion about other alternatives.

Thanks,
wslh

The topic idea is good! I liked ... but I do not particularly have the courage to invest,

because nowadays, there is no security on the Internet
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!