Bitcoin Forum
May 07, 2024, 02:26:16 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Unconfirmed Transaction to Confirmation  (Read 682 times)
upal (OP)
Full Member
***
Offline Offline

Activity: 165
Merit: 102


View Profile
December 28, 2013, 09:30:43 AM
 #1

If I accept a transaction with zero confirmation and allow people to get what they are purchasing, then can they revert or bypass that spent in a later stage or the unconfrmed transactions will always be confirmed at some point of time ?
1715048776
Hero Member
*
Offline Offline

Posts: 1715048776

View Profile Personal Message (Offline)

Ignore
1715048776
Reply with quote  #2

1715048776
Report to moderator
1715048776
Hero Member
*
Offline Offline

Posts: 1715048776

View Profile Personal Message (Offline)

Ignore
1715048776
Reply with quote  #2

1715048776
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.
1715048776
Hero Member
*
Offline Offline

Posts: 1715048776

View Profile Personal Message (Offline)

Ignore
1715048776
Reply with quote  #2

1715048776
Report to moderator
1715048776
Hero Member
*
Offline Offline

Posts: 1715048776

View Profile Personal Message (Offline)

Ignore
1715048776
Reply with quote  #2

1715048776
Report to moderator
jpdemoor
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
December 28, 2013, 10:32:02 AM
 #2

Indeed, you should not accept zero confirmation transactions
upal (OP)
Full Member
***
Offline Offline

Activity: 165
Merit: 102


View Profile
December 28, 2013, 04:36:34 PM
 #3

Indeed, you should not accept zero confirmation transactions

I know that, but calculating confirmation of a transaction through API is a difficult process. So I need to know this...
cr1776
Legendary
*
Offline Offline

Activity: 4032
Merit: 1299


View Profile
December 28, 2013, 09:10:54 PM
 #4

If I accept a transaction with zero confirmation and allow people to get what they are purchasing, then can they revert or bypass that spent in a later stage or the unconfrmed transactions will always be confirmed at some point of time ?

You may want to read these discussions here, plus a ton more:

https://bitcointalk.org/index.php?topic=359934.0
https://bitcointalk.org/index.php?topic=159994.0
https://bitcointalk.org/index.php?topic=208167.0


The summary is that zero confirm transactions are perfectly fine for small value items because the cost to do a double spend is not worth it as long as you verify that the transaction has appeared on the network and you've paid a fee.  The other relevant quotation is:  "If credit cards take 180 days to be confirmed how will you buy coffee at Starbucks?"

Don't believe the FUD about zero confirmation transactions for small value items, a double spend is less likely than someone just walking out on the bill for small items.  Just like credit cards, if someone were to successfully scam you - or dispute the transaction a month later - you'd be out the money and it is a cost of business.

For larger purchases, you want confirmations.  E.g. buying something for 5000 BTC, I'd want a lot of confirmations.
Bob Derber
Newbie
*
Offline Offline

Activity: 44
Merit: 0


View Profile
December 28, 2013, 10:42:49 PM
 #5

So if I am running a POS system - the business advice is if the transaction is small, take the risk.... on the technical side, just to be sure.... must the double-spend first transaction appear on the block-chain to be identified with or without confirmations for the second spend to be id'd as such or ...... is the test for a potential double-spend done for transactions in the mempool as well?

Also, in one of the referenced links there is a suggestion that the best way for a person to 'get away' with it if they are determined is to have a 0 transaction fee in the first spend, and add a transaction fee in the second spend.... can anyone tell me why?  It appears to be related to the way the miners can configure their software.... but I am still unclear on this.

Any help appreciated.

bob
upal (OP)
Full Member
***
Offline Offline

Activity: 165
Merit: 102


View Profile
December 29, 2013, 10:00:16 AM
 #6

Lets assume the transaction amount for a single Tx will be very small, less that 1 BTC against which people will download some music or something. But how do I address the following problem with 0 confirmation ?

I guy come and pay 0.001 BTC with 0 Tx fee. Tx happens with 0 confirmation and he gets to download his music, but the music owner will never get that 0.001 BTC !!!

In the above scenario, problem remains same as of PayPal chargeback NOT supporting virtual things like music, pdf etc. And if I force the buyer to wait for confirmation even when he pays Tx fee, the overall process gets delayed, NOT instant, leading to a drawback against PayPal !!!
jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1093


View Profile
December 29, 2013, 03:18:30 PM
 #7

....... or the unconfrmed transactions will always be confirmed at some point of time ?

The answer is quite obvious: if this was true, no one would ever need to wait for confirmation

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
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!