Bitcoin Forum
May 06, 2024, 06:56:40 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Implementing Instant Transactions in game with betting  (Read 752 times)
fork (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile
December 27, 2011, 07:44:21 AM
 #1

What is the consensus on how to make instant transactions work in bitcoin while of course avoiding double spending. I've heard of various things like green address.

But consider implementing some generic game on a website that involves betting with bitcoin. How would you make instant transactions work given the following constraints.

  • No deposits
    The website must not hold deposits of bitcoins. Maintaining deposits is a security annoyance. Bets are instead placed through transactions from a bitcoin wallet that is under full control of the player. When a player wins the bitcoins that were being temporarily held by the server are sent to the winner. And the game continues on. Therefore response needs to be fast and the transactions must be instant.
  • Minimize having to refund because one player backs out of bet
    A bet involves two players and before the game continues both players must send their bet of bitcoins. If one player sends their bet but the other leaves the game, then the first player must be refunded their bitcoins. However this means that those refunded bitcoins are useless until the refund transaction is confirmed by the bitcoin network (could take tens of minutes?). In a fast paced game this decrease in effective usable bitcoins could be unacceptable. I would like to avoid the effects of these annoying leavers.
1714978600
Hero Member
*
Offline Offline

Posts: 1714978600

View Profile Personal Message (Offline)

Ignore
1714978600
Reply with quote  #2

1714978600
Report to moderator
1714978600
Hero Member
*
Offline Offline

Posts: 1714978600

View Profile Personal Message (Offline)

Ignore
1714978600
Reply with quote  #2

1714978600
Report to moderator
1714978600
Hero Member
*
Offline Offline

Posts: 1714978600

View Profile Personal Message (Offline)

Ignore
1714978600
Reply with quote  #2

1714978600
Report to moderator
Unlike traditional banking where clients have only a few account numbers, with Bitcoin people can create an unlimited number of accounts (addresses). This can be used to easily track payments, and it improves anonymity.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
n2liquid
Newbie
*
Offline Offline

Activity: 33
Merit: 0



View Profile
December 27, 2011, 09:12:48 PM
 #2

Hi, fork

I also wonder if there's a way to allow instant transactions without losing the properties of the Bitcoin network. At first it just seems impossible, because if it was possible, the network would probably do it already.

But on a second thought, the very fact that we don't want it to work globally, but only in a restricted network, is a property that we're losing (compared to the big Bitcoin network) and that may give way to the possibility of making instant transactions.
Peter.C
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
December 28, 2011, 05:26:48 AM
 #3

Instant transactions would be a great thing, no one hates having to wait ~30 minutes for money they will get, but as n2liquid said, their must be an important reason for it.
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!