Bitcoin Forum
June 24, 2024, 07:33:26 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 »  All
  Print  
Author Topic: Is it still possible to double spend?  (Read 1869 times)
nahtnam (OP)
Legendary
*
Offline Offline

Activity: 1092
Merit: 1000


nahtnam.com


View Profile WWW
January 13, 2015, 05:38:21 AM
 #1

Hey!

I was wondering what the chances of a double spend is.

I am asking because I am building a website and cant decide between 0 and 1 confirmations.

Is it really that big of a risk if I just set it to 1 confirmation?

Thanks.

bf4btc
Hero Member
*****
Offline Offline

Activity: 568
Merit: 500


Smoke weed everyday!


View Profile
January 13, 2015, 06:34:53 AM
 #2

Hey!

I was wondering what the chances of a double spend is.

I am asking because I am building a website and cant decide between 0 and 1 confirmations.

Is it really that big of a risk if I just set it to 1 confirmation?

Thanks.
It really depends on what exactly you are selling on your website. If you are selling low value items and don't generally sell more then a few hundred dollars every 10 minutes or so then you should probably be fine with a 0/unconfirmed transaction as the risk of a double spend is low because it would probably cost more to attempt the double spend then the value of what could potentially be stolen from you.

If the value of what you are selling is much more, in the thousands or tens of thousands of dollars then you should wait for at least one confirmation as at this rate the cost of attempting a double spend would likely cost less then then value of what an attacker would be trying to steal

████████████████████████
███████████████████████████
█████████████████████████████
██████████████████████████████
███████████████████████████████
████▄▄▄█████████████████████████
█████████████████████████████████
███████████████████████████████████
██████████████████████████████████
████████████▄▄▄▄▄▄▄████████████████
█████████████████████████████████
████████▀▀▀██████████████████████
████████████████████████████████
████████████████████████████
████▀▀▀▀████████

shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
January 13, 2015, 11:17:51 AM
 #3

Hey!

I was wondering what the chances of a double spend is.

I am asking because I am building a website and cant decide between 0 and 1 confirmations.

Is it really that big of a risk if I just set it to 1 confirmation?

Thanks.

0 confirmation double spend is relative easy. To analyse the likelihood of a double spend you would have to analyse the incoming transactions. How big is the transaction (byte), how high is the priority, is a fee paid, is the fee high enough considering the priority/size, is one of the inputs unconfirmed, etc.
Unless you expect your customers to go elsewhere because they have to wait for a few minutes I would go with 1 confirmation.  To reverse a transaction that already has one confirmation is very difficult and would require a reorganisation of the blocks.

Im not really here, its just your imagination.
noma
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
January 13, 2015, 11:22:09 AM
 #4

Hey!

I was wondering what the chances of a double spend is.

I am asking because I am building a website and cant decide between 0 and 1 confirmations.

Is it really that big of a risk if I just set it to 1 confirmation?

Thanks.

1 confirmation is usually good enough. However to be safe for sure you can keep it to 2 confirmations.

Thats what most of the sites do .

▓▓▓▓    New Real-time Cryptocurrency Exchange             → CREATE  ACCOUNT ▓▓▓▓
▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅  BIT-X.com  ▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅▅
▓▓▓▓    Supported Currencies: BTC, LTC, USD, EUR, GBP → OFFICIAL THREAD ▓▓▓▓
serje
Legendary
*
Offline Offline

Activity: 1232
Merit: 1002



View Profile
January 13, 2015, 01:18:39 PM
 #5

What you plan to sell?
As I gamble from time to time on luckyb.it and there I can gamble with unconfirmed amount.

Let's say I have 0.3BTC and I gamble all of them in 1 bet, I get the outcome in a matter of seconds and then I get the BTC in my account unconfirmed and I can bet again and again.... so if they go for 0 confirmation I guess you are safe to do it also... or you can contact them and ask them how they did it Smiley

Also don't be so naive to relay on what mtgox relied when they got "hacked" as it is very strange to me that everyone knew about that thing and only after mtgox publicly complained about it they got "hacked"!

 

Space for rent if its still trending
nahtnam (OP)
Legendary
*
Offline Offline

Activity: 1092
Merit: 1000


nahtnam.com


View Profile WWW
January 14, 2015, 12:01:28 AM
 #6

Its actually more of a donation thing. Im not really selling anything.

Meuh6879
Legendary
*
Offline Offline

Activity: 1512
Merit: 1011



View Profile
January 14, 2015, 12:05:10 AM
 #7

You can have double-spending only if :
- the seller use a node server with no others nodes connected
- the buyer use ... the same node server
- the transaction is OK for both party with 0 confirmation

It's impossible.
In real life networking, you have 6-9 nodes to sprend the transaction ...
nahtnam (OP)
Legendary
*
Offline Offline

Activity: 1092
Merit: 1000


nahtnam.com


View Profile WWW
January 14, 2015, 12:07:51 AM
 #8

You can have double-spending only if :
- the seller use a node server with no others nodes connected
- the buyer use ... the same node server
- the transaction is OK for both party with 0 confirmation

It's impossible.
In real life networking, you have 6-9 nodes to sprend the transaction ...

So its safe for me to accept 0 confirmations?

AgentofCoin
Legendary
*
Offline Offline

Activity: 1092
Merit: 1001



View Profile
January 14, 2015, 12:12:57 AM
 #9

You can have double-spending only if :
- the seller use a node server with no others nodes connected
- the buyer use ... the same node server
- the transaction is OK for both party with 0 confirmation

It's impossible.
In real life networking, you have 6-9 nodes to sprend the transaction ...

So its safe for me to accept 0 confirmations?

All reputable businesses will use 1. You don't truly have the coins until at least 1 confirmation.
Don't pull a Mt.Gox and leave yourself open with loose code. Protect yourself.

I support a decentralized & unregulatable ledger first, with safe scaling over time.
Request a signed message if you are associating with anyone claiming to be me.
franky1
Legendary
*
Offline Offline

Activity: 4256
Merit: 4532



View Profile
January 14, 2015, 12:14:19 AM
 #10

if you are not sending out any product or service instantly.. then it doesnt matter.. donations can be accepted anytime.. after all what is the sender needing to wait for after they send... nothing. so confirms or not the donator wont care/notice.

if you want to thank the donater, all you could do is just have a message that says
"it appears someone loves me and sent me a donation. many thanks, i love you back" .. as soon as it appears in the tx pool (unconfirmed)


I DO NOT TRADE OR ACT AS ESCROW ON THIS FORUM EVER.
Please do your own research & respect what is written here as both opinion & information gleaned from experience. many people replying with insults but no on-topic content substance, automatically are 'facepalmed' and yawned at
nahtnam (OP)
Legendary
*
Offline Offline

Activity: 1092
Merit: 1000


nahtnam.com


View Profile WWW
January 14, 2015, 12:15:26 AM
 #11

if you are not sending out any product or service instantly.. then it doesnt matter.. donations can be accepted anytime.. after all what is the sender needing to wait for after they send... nothing. so confirms or not the donator wont care/notice.

if you want to thank the donater, all you could do is just have a message that says
"it appears someone loves me and sent me a donation. many thanks, i love you back" .. as soon as it appears in the tx pool (unconfirmed)



Thanks.

bf4btc
Hero Member
*****
Offline Offline

Activity: 568
Merit: 500


Smoke weed everyday!


View Profile
January 14, 2015, 02:16:35 AM
 #12

Its actually more of a donation thing. Im not really selling anything.
If you are accepting donations then it really should not matter if someone double spends a transaction sent to you (nor would they have any reason to do so in the first place).

████████████████████████
███████████████████████████
█████████████████████████████
██████████████████████████████
███████████████████████████████
████▄▄▄█████████████████████████
█████████████████████████████████
███████████████████████████████████
██████████████████████████████████
████████████▄▄▄▄▄▄▄████████████████
█████████████████████████████████
████████▀▀▀██████████████████████
████████████████████████████████
████████████████████████████
████▀▀▀▀████████

the_poet
Legendary
*
Offline Offline

Activity: 1137
Merit: 1035


Bitcoin accepted here


View Profile
January 14, 2015, 12:52:25 PM
 #13

You can have double-spending only if :
- the seller use a node server with no others nodes connected
- the buyer use ... the same node server
- the transaction is OK for both party with 0 confirmation

It's impossible.
In real life networking, you have 6-9 nodes to sprend the transaction ...

So its safe for me to accept 0 confirmations?

Wair for 1 to be safe.

Under construction.
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
January 14, 2015, 10:07:15 PM
 #14

You can have double-spending only if :
- the seller use a node server with no others nodes connected
- the buyer use ... the same node server
- the transaction is OK for both party with 0 confirmation

It's impossible.
In real life networking, you have 6-9 nodes to sprend the transaction ...

So its safe for me to accept 0 confirmations?

Wair for 1 to be safe.

Meuh6879 is missing some points, but since its for a donation 0 conf are fine.

Im not really here, its just your imagination.
Remember remember the 5th of November
Legendary
*
Offline Offline

Activity: 1862
Merit: 1011

Reverse engineer from time to time


View Profile
January 14, 2015, 10:12:47 PM
 #15

I think you should wait for 1, unfortunately. There have been various accidents that can happen because of 0 conf.

BTC:1AiCRMxgf1ptVQwx6hDuKMu4f7F27QmJC2
koinvict
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
January 15, 2015, 02:08:59 PM
 #16

You can make it as many confirmations as you want (6 is considered safe).

However, since it's online you can 0 confirmations for the user.  The frontend can accept the transaction once it's broadcasted (0 confirmations) while you can hold onto the product for as many confirmations as you'd like.  You can contact the user if the transaction is not legitimate.  Other than that, it's just waiting an hour to ship the product. 

If it's a digital good, you could still wait the hour or so to send the email (or in 10 min after 1 confirmation) to download.
Enzyme
Sr. Member
****
Offline Offline

Activity: 420
Merit: 250


View Profile
January 15, 2015, 02:42:17 PM
 #17

Its actually more of a donation thing. Im not really selling anything.
What's the point of double spending a donation?
thejaytiesto
Legendary
*
Offline Offline

Activity: 1358
Merit: 1014


View Profile
January 15, 2015, 04:11:12 PM
 #18

I use the blockchain.info site to check for at least 1-2 confirmations.
Meuh6879
Legendary
*
Offline Offline

Activity: 1512
Merit: 1011



View Profile
January 15, 2015, 04:50:20 PM
 #19

So its safe for me to accept 0 confirmations?

yes if :
- you use a "hardware wallet" ... not a virtual wallet (like blockchain.info or coinbase).
- you're connected to a mobile internet connexion and not the free wifi of the owner.

the 1st point is at minimum 6 nodes to emit the transaction.
the 2nd point is a basic and can view in the "monitor network" on android bitcoin wallet for example ... if you have only 1 node, you have a problem and your connexion can be compromised.
nahtnam (OP)
Legendary
*
Offline Offline

Activity: 1092
Merit: 1000


nahtnam.com


View Profile WWW
January 15, 2015, 06:04:31 PM
 #20

Its actually more of a donation thing. Im not really selling anything.
What's the point of double spending a donation?

IDK. Maybe the creator of the project wants to forge donations on my site and withdraws?

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!