Pages:
Author

Topic: Is following possible with programming? - page 2. (Read 1672 times)

legendary
Activity: 2646
Merit: 1137
All paid signature campaigns should be banned.
December 24, 2013, 12:34:28 PM
#4
Just give each customer a unique address for each transaction.  In other words tread Bitcoin addresses just like invoice numbers and add these invoice numbers to the database information about each customer.  That way you know exactly who paid what and when.
hero member
Activity: 784
Merit: 500
December 24, 2013, 12:28:38 PM
#3
This has been done many times on nearly every site that accepts bitcoins. For each user the server creates a new bitcoin address and tells the user to send funds there. Once the funds are sent the user is credited with getting those coins.

Anyway, until you learn more about Bitcoin I wouldn't try to do such a thing.
sr. member
Activity: 434
Merit: 250
December 24, 2013, 11:44:22 AM
#2
* Because of how TCP/IP packets work over the internet network, collisions are not really a concern so sending them at the same time is not a problem.
* Problem with your concept: 1 person can have multiple wallets and the way transactions work is they get the bitcoin from any of your wallet addresses before sending.

♦ Best way to approach a system like that is with custom wallets, you can create a special receive wallet for each customer you have, that way there will be no confusion.
hero member
Activity: 686
Merit: 500
vini, vedi, no vici.
December 24, 2013, 10:23:23 AM
#1


I tired asking following question to some techie during Mumbai conference but seems like he wasn't able to understand the question. I'm seeking help from people who understand's Bitcoin and programming.

Scenario: Aman, Bobby, Charlie and Davis sends 1 Bitcoin to our hypothetical receiver(say Nakamoto) at 2 O'clock 29 minutes and 30 milliseconds( at very same time). Nakamoto knows those, four people are registered by filling a form on his website and has their details(name,age,sex etc).

Aman, Male, 24
Bobby, Male 19
Charlie, Female, 22
Bobby, Male, 45

...And IP address if programming is capable of extracting IP without user's knowledge when he's busy filling up form.

Task: Nakamoto has somehow managed to make people sign up form with details. All he knows is those details that are send by user(Name, sex and age + IP). He neither knows their wallet number nor any other detail. What he wishes is- when a person sends 1 Bitcoin to his wallet, his database automatically updates so that he knows that Aman send 1 Bitcoin from that wallet, Bobby send 1 Bitcoin.. and blah blah blah. He wishes his database(Name, age, sex) to be automatically update with users wallet details so that he has final database with those filled up details and their wallet number. Is it possible?

What I think problem is:
1. All Bitcoin's are send at same time.
2. I don't know whether Bitcoin are 'fungible' or not.
3. If Aman registers today, login's next day and sends Bitcoin next day. Won't it create confusion?
Pages:
Jump to: