Bitcoin Forum
May 03, 2024, 11:41:37 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Stupid but Technical Question  (Read 1134 times)
BTCIndia (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500

vini, vedi, no vici.


View Profile
December 24, 2013, 03:21:20 PM
 #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 for 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. 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?

He's Nick Sazbo from Washington. I've my answer. Or Hal? :O
1714779697
Hero Member
*
Offline Offline

Posts: 1714779697

View Profile Personal Message (Offline)

Ignore
1714779697
Reply with quote  #2

1714779697
Report to moderator
It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
subvolatil
Hero Member
*****
Offline Offline

Activity: 546
Merit: 501


Cypherpunk and full-time CryptoAnarchist


View Profile
December 24, 2013, 09:56:44 PM
 #2

Firstly i dont  know  who  you asked this  question to  but  he  should  have been  able  to answer  this  question  if  he  know  jut  a  little  about  how  bitcoin  works.


Answer:--
Bitcoin  uses the public ledger system  to  keep  track  of  every transaction  down to  the  last Satoshi.

the receiver  would  need  to  get  the  public address of the  user when filling the  form. the  ip address  would not  be  be seen by the  receiver  from the bitcoin transaction, ckz it  p2p.

there are  are  ways  to track the  users  of a  specific address by doing  comparative analysis  of  the ip logs and the transaction on the blockchain.

but the simplest way to do this is  by having the user  jut add the public address on the form.
the other  was is to  use a browser cookie to track the  user and  have  a varying  amount added to the bitcoin transaction. the  amount being  unique to other transaction would revel the  users  public  address.
buysellbitcoin
Legendary
*
Offline Offline

Activity: 1105
Merit: 1001


https://www.zebpay.com


View Profile WWW
December 25, 2013, 04:40:40 AM
 #3



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 for 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. 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?


Normally Satoshi should assign a unique bitcoin address to each of these users, and they can send it on that address. The case is very simple than.

On other hand if you want other users to provide their bitcoin address here, it is also fine. But in the case of dispute you will have to ask them to prove them that they actually owns private keys of that address.

Regards

Download Zebpay Fastest way to Buy / Sell Bitcoins in India
Transaction processing within one working day and best bitcoin rates | Recharge airtime & buy vouchers of Amazon, Flipkart, Domino's at great discounts
Benson Samuel
Legendary
*
Offline Offline

Activity: 1890
Merit: 1000


Landscaping Bitcoin for India!


View Profile WWW
December 25, 2013, 05:12:19 AM
 #4

Quote
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. Is it possible?

I do believe that what you are looking for is a callback that talks to your database and makes an entry into the relevant database and then assigns a payto address as mentioned by buysellbitco.in. This will help you get close to A man Smiley

In the event that a callback is not  passed and no unique address was generated, then there are ways to sniff the IP of incoming transactions from the other node, but to get the exact IP, you need to be the first to receive broadcast of the trx. This is not possible. Unless you have a layer around the node that is sending. If you can build a layer there, then IP matching should not be a problem at all.

subvolatil
Hero Member
*****
Offline Offline

Activity: 546
Merit: 501


Cypherpunk and full-time CryptoAnarchist


View Profile
December 25, 2013, 05:57:48 AM
 #5

Quote
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. Is it possible?

I do believe that what you are looking for is a callback that talks to your database and makes an entry into the relevant database and then assigns a payto address as mentioned by buysellbitco.in. This will help you get close to A man Smiley

In the event that a callback is not  passed and no unique address was generated, then there are ways to sniff the IP of incoming transactions from the other node, but to get the exact IP, you need to be the first to receive broadcast of the trx. This is not possible. Unless you have a layer around the node that is sending. If you can build a layer there, then IP matching should not be a problem at all.

Well i think what he asked is multiple transaction sent to one  address at the same time .

Tracking the addresses and identifying the user is what i think he wanted to find.

simple thing to do is to have every user  filling the form to also add their btc address.

By the way Benson how are you proposing to find the IP. i did not quite get that.
BTCIndia (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500

vini, vedi, no vici.


View Profile
December 25, 2013, 06:27:42 AM
 #6

I tried asking same to International Bitcoin Community in Bitcoin Forum > Bitcoin > Project Development
Following is the thread:
https://bitcointalk.org/index.php?topic=383354.0

Well, I was able to understand a little bit from their technical discussion. See, if discussion might interest you. Someday, I'll discuss same project with you in person.   

He's Nick Sazbo from Washington. I've my answer. Or Hal? :O
Benson Samuel
Legendary
*
Offline Offline

Activity: 1890
Merit: 1000


Landscaping Bitcoin for India!


View Profile WWW
December 25, 2013, 06:40:18 AM
 #7

Quote
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. Is it possible?

I do believe that what you are looking for is a callback that talks to your database and makes an entry into the relevant database and then assigns a payto address as mentioned by buysellbitco.in. This will help you get close to A man Smiley

In the event that a callback is not  passed and no unique address was generated, then there are ways to sniff the IP of incoming transactions from the other node, but to get the exact IP, you need to be the first to receive broadcast of the trx. This is not possible. Unless you have a layer around the node that is sending. If you can build a layer there, then IP matching should not be a problem at all.

Well i think what he asked is multiple transaction sent to one  address at the same time .

Tracking the addresses and identifying the user is what i think he wanted to find.

simple thing to do is to have every user  filling the form to also add their btc address.

By the way Benson how are you proposing to find the IP. i did not quite get that.

By surrounding all nodes on the network and tracking where the coin was first sent from Cheesy

subvolatil
Hero Member
*****
Offline Offline

Activity: 546
Merit: 501


Cypherpunk and full-time CryptoAnarchist


View Profile
December 25, 2013, 06:42:18 AM
 #8

Quote
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. Is it possible?

I do believe that what you are looking for is a callback that talks to your database and makes an entry into the relevant database and then assigns a payto address as mentioned by buysellbitco.in. This will help you get close to A man Smiley

In the event that a callback is not  passed and no unique address was generated, then there are ways to sniff the IP of incoming transactions from the other node, but to get the exact IP, you need to be the first to receive broadcast of the trx. This is not possible. Unless you have a layer around the node that is sending. If you can build a layer there, then IP matching should not be a problem at all.

Well i think what he asked is multiple transaction sent to one  address at the same time .

Tracking the addresses and identifying the user is what i think he wanted to find.

simple thing to do is to have every user  filling the form to also add their btc address.

By the way Benson how are you proposing to find the IP. i did not quite get that.

By surrounding all nodes on the network and tracking where the coin was first sent from Cheesy

That is impossible to do you would need to log each and every node and keep track of every new nodes that come into the network. How can that be done ?
BTCIndia (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500

vini, vedi, no vici.


View Profile
December 25, 2013, 06:47:41 AM
 #9



subvolatil suggested: simple thing to do is to have every user  filling the form to also add their btc address.

It is not possible to ask user to give their address in fill up form. I don't want to make them suspicious, by asking private information and wallet information at same time. This is not working for me!

He's Nick Sazbo from Washington. I've my answer. Or Hal? :O
subvolatil
Hero Member
*****
Offline Offline

Activity: 546
Merit: 501


Cypherpunk and full-time CryptoAnarchist


View Profile
December 25, 2013, 06:55:42 AM
 #10



subvolatil suggested: simple thing to do is to have every user  filling the form to also add their btc address.

It is not possible to ask user to give their address in fill up form. I don't want to make them suspicious, by asking private information and wallet information at same time. This is not working for me!


a btc address is not private information.
buysellbitcoin
Legendary
*
Offline Offline

Activity: 1105
Merit: 1001


https://www.zebpay.com


View Profile WWW
December 25, 2013, 07:05:46 AM
 #11



subvolatil suggested: simple thing to do is to have every user  filling the form to also add their btc address.

It is not possible to ask user to give their address in fill up form. I don't want to make them suspicious, by asking private information and wallet information at same time. This is not working for me!


You can simply give them unique bitcoin address to send.


If you want to use single address for all deposits than you are complicating lot of things. For an example, say two users claim simultaneously deposit of 1 BTC. You can ask them to prove ownership of sending address. But that thing is very complicated as sometimes user does not have control over sending address ( Like when they send it from some exchange or coinbase ). This is the model satoshidice using with big fat warning that you must control sending address.

Regards


Download Zebpay Fastest way to Buy / Sell Bitcoins in India
Transaction processing within one working day and best bitcoin rates | Recharge airtime & buy vouchers of Amazon, Flipkart, Domino's at great discounts
Benson Samuel
Legendary
*
Offline Offline

Activity: 1890
Merit: 1000


Landscaping Bitcoin for India!


View Profile WWW
December 25, 2013, 07:08:44 AM
 #12

Quote
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. Is it possible?

I do believe that what you are looking for is a callback that talks to your database and makes an entry into the relevant database and then assigns a payto address as mentioned by buysellbitco.in. This will help you get close to A man Smiley

In the event that a callback is not  passed and no unique address was generated, then there are ways to sniff the IP of incoming transactions from the other node, but to get the exact IP, you need to be the first to receive broadcast of the trx. This is not possible. Unless you have a layer around the node that is sending. If you can build a layer there, then IP matching should not be a problem at all.

Well i think what he asked is multiple transaction sent to one  address at the same time .

Tracking the addresses and identifying the user is what i think he wanted to find.

simple thing to do is to have every user  filling the form to also add their btc address.

By the way Benson how are you proposing to find the IP. i did not quite get that.

By surrounding all nodes on the network and tracking where the coin was first sent from Cheesy

That is impossible to do you would need to log each and every node and keep track of every new nodes that come into the network. How can that be done ?

It can't be done, but here is some text that gets you thinking.

http://bitcoin.stackexchange.com/questions/7173/what-can-happen-if-when-a-node-is-surrounded-by-rogue-nodes

BTCIndia (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500

vini, vedi, no vici.


View Profile
December 25, 2013, 10:46:54 AM
 #13

Quote
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. Is it possible?

I do believe that what you are looking for is a callback that talks to your database and makes an entry into the relevant database and then assigns a payto address as mentioned by buysellbitco.in. This will help you get close to A man Smiley

In the event that a callback is not  passed and no unique address was generated, then there are ways to sniff the IP of incoming transactions from the other node, but to get the exact IP, you need to be the first to receive broadcast of the trx. This is not possible. Unless you have a layer around the node that is sending. If you can build a layer there, then IP matching should not be a problem at all.

Well i think what he asked is multiple transaction sent to one  address at the same time .

Tracking the addresses and identifying the user is what i think he wanted to find.

simple thing to do is to have every user  filling the form to also add their btc address.

By the way Benson how are you proposing to find the IP. i did not quite get that.

By surrounding all nodes on the network and tracking where the coin was first sent from Cheesy

That is impossible to do you would need to log each and every node and keep track of every new nodes that come into the network. How can that be done ?

It can't be done, but here is some text that gets you thinking.

http://bitcoin.stackexchange.com/questions/7173/what-can-happen-if-when-a-node-is-surrounded-by-rogue-nodes

Bouncer! Roll Eyes

He's Nick Sazbo from Washington. I've my answer. Or Hal? :O
techguy
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
December 25, 2013, 12:28:14 PM
 #14



subvolatil suggested: simple thing to do is to have every user  filling the form to also add their btc address.

It is not possible to ask user to give their address in fill up form. I don't want to make them suspicious, by asking private information and wallet information at same time. This is not working for me!


1. Technically speaking, I agree with subvolatil suggestion. During form filling, ask the user's BTC address and do the username to BTC address mapping internally.

If you want don't want to trouble the user during form fillup try the following.
(OR)
2. As buysellbitcoin suggested, autogenerate a new BTC address per user basis, and do the user to address mapping internally (Similar to cryptsy guys). Present this BTC address whenever an user is doing a transaction.
(OR)
3. Instead of autogenerating one BTC address per user(as mentioned in 2), autogenerate a new BTC address per transaction.  Present this BTC address whenever an user is doing a transaction.
BTCIndia (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500

vini, vedi, no vici.


View Profile
December 25, 2013, 03:53:56 PM
 #15



subvolatil suggested: simple thing to do is to have every user  filling the form to also add their btc address.

It is not possible to ask user to give their address in fill up form. I don't want to make them suspicious, by asking private information and wallet information at same time. This is not working for me!


1. Technically speaking, I agree with subvolatil suggestion. During form filling, ask the user's BTC address and do the username to BTC address mapping internally.

If you want don't want to trouble the user during form fillup try the following.
(OR)
2. As buysellbitcoin suggested, autogenerate a new BTC address per user basis, and do the user to address mapping internally (Similar to cryptsy guys). Present this BTC address whenever an user is doing a transaction.
(OR)
3. Instead of autogenerating one BTC address per user(as mentioned in 2), autogenerate a new BTC address per transaction.  Present this BTC address whenever an user is doing a transaction.

Thanks everyone for guidance!

Techguy, if I generate new BTC address per transaction then, how am I going to accumulate wealth at one place. Then won't it be necessary to keep 'X' number of wallet address and 'X' number of private keys?

He's Nick Sazbo from Washington. I've my answer. Or Hal? :O
techguy
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
December 25, 2013, 04:51:02 PM
 #16



subvolatil suggested: simple thing to do is to have every user  filling the form to also add their btc address.

It is not possible to ask user to give their address in fill up form. I don't want to make them suspicious, by asking private information and wallet information at same time. This is not working for me!


1. Technically speaking, I agree with subvolatil suggestion. During form filling, ask the user's BTC address and do the username to BTC address mapping internally.

If you want don't want to trouble the user during form fillup try the following.
(OR)
2. As buysellbitcoin suggested, autogenerate a new BTC address per user basis, and do the user to address mapping internally (Similar to cryptsy guys). Present this BTC address whenever an user is doing a transaction.
(OR)
3. Instead of autogenerating one BTC address per user(as mentioned in 2), autogenerate a new BTC address per transaction.  Present this BTC address whenever an user is doing a transaction.

Thanks everyone for guidance!

Techguy, if I generate new BTC address per transaction then, how am I going to accumulate wealth at one place. Then won't it be necessary to keep 'X' number of wallet address and 'X' number of private keys?

If you are really paranoid about the security, then per transaction-wise address is advisable otherwise go for per user address. You can use per transaction address in 2 ways.
1. As a throw away address --> Once the amount is being credited to this address, transfer the amount to your main address. Then you don't need to worry about securing the private keys of these addresses.
2. Longer life address --> Accumulate the diversified amount to a single address on need basis. But the problem here is, you need to gaurd your private keys in a safer manner.

Check this to autogenerate addresses:
http://procbits.com/2013/08/27/generating-a-bitcoin-address-with-javascript
https://www.bitaddress.org/

CoinCidental
Legendary
*
Offline Offline

Activity: 1316
Merit: 1000


Si vis pacem, para bellum


View Profile
December 25, 2013, 05:09:25 PM
 #17

i would ask them to fill in their btc address or the say last  10 digits of it  when they are  signing up for your service
a btc address or even a partial one is not invading their privacy  or putting them at any risk Smiley

thats a simple solution to know who paid  and who didnt pay when the payments arrive at your wallet
BTCIndia (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500

vini, vedi, no vici.


View Profile
December 26, 2013, 05:39:55 PM
 #18

i would ask them to fill in their btc address or the say last  10 digits of it  when they are  signing up for your service
a btc address or even a partial one is not invading their privacy  or putting them at any risk Smiley

thats a simple solution to know who paid  and who didnt pay when the payments arrive at your wallet

I'm not bothered about payment here. I'm bothered about tracing identity or say linking details with their wallet address.Well, this is something that Bitcoin community won't like me to do. I'm just a dreamer.

Jhon Lenon- ....They may say, I'm a dreamer but I'm not the only one.... *Music*

He's Nick Sazbo from Washington. I've my answer. Or Hal? :O
subvolatil
Hero Member
*****
Offline Offline

Activity: 546
Merit: 501


Cypherpunk and full-time CryptoAnarchist


View Profile
December 26, 2013, 05:43:07 PM
 #19

i would ask them to fill in their btc address or the say last  10 digits of it  when they are  signing up for your service
a btc address or even a partial one is not invading their privacy  or putting them at any risk Smiley

thats a simple solution to know who paid  and who didnt pay when the payments arrive at your wallet

I'm not bothered about payment here. I'm bothered about tracing identity or say linking details with their wallet address.Well, this is something that Bitcoin community won't like me to do. I'm just a dreamer.

Jhon Lenon- ....They may say, I'm a dreamer but I'm not the only one.... *Music*

Well when it comes to the bitcoin  community every idea is  accepted. Open discussion is how bitcoin  came into  existence.

you want to track identity. of a visitor in your website. right?

Now tell me  what all info  will you  ask from the user. and if the user will don any transaction in your  website?
BTCIndia (OP)
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500

vini, vedi, no vici.


View Profile
December 26, 2013, 05:46:46 PM
 #20

i would ask them to fill in their btc address or the say last  10 digits of it  when they are  signing up for your service
a btc address or even a partial one is not invading their privacy  or putting them at any risk Smiley

thats a simple solution to know who paid  and who didnt pay when the payments arrive at your wallet

I'm not bothered about payment here. I'm bothered about tracing identity or say linking details with their wallet address.Well, this is something that Bitcoin community won't like me to do. I'm just a dreamer.

Jhon Lenon- ....They may say, I'm a dreamer but I'm not the only one.... *Music*

Well when it comes to the bitcoin  community every idea is  accepted. Open discussion is how bitcoin  came into  existence.

you want to track identity. of a visitor in your website. right?

Now tell me  what all info  will you  ask from the user. and if the user will don any transaction in your  website?

Email/Name/Mobile is sufficient for me, but to distract them I'll be asking some more. I'm working on concept here. Nothing else! And no transaction will be done on website. Cheesy

He's Nick Sazbo from Washington. I've my answer. Or Hal? :O
Pages: [1] 2 »  All
  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!