Bitcoin Forum
November 02, 2024, 08:47:06 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is 1 Confirmation enough to prevent double spend?  (Read 976 times)
puremage111 (OP)
Hero Member
*****
Offline Offline

Activity: 1568
Merit: 511


View Profile WWW
July 21, 2017, 09:10:28 AM
 #1

As the blockchain growth time by time, which means the difficulty tend to become harder and harder.

Previously i've seen most casino only credits payment after 2 confirmation

Recently i've deposit into several site like casino, purchasing site. And most of it uses 0-1 Confirmation.

Therefore come to our main question, in the current state, is 1 confirmation enough to protect and prevent double spend?
ranochigo
Legendary
*
Offline Offline

Activity: 3038
Merit: 4420


Crypto Swap Exchange


View Profile
July 21, 2017, 10:07:46 AM
Last edit: July 21, 2017, 02:51:14 PM by ranochigo
Merited by ABCbits (1)
 #2

As the blockchain growth time by time, which means the difficulty tend to become harder and harder.
The blockchain size really has absolutely nothing to do with the difficulty.
Previously i've seen most casino only credits payment after 2 confirmation

Recently i've deposit into several site like casino, purchasing site. And most of it uses 0-1 Confirmation.

Therefore come to our main question, in the current state, is 1 confirmation enough to protect and prevent double spend?
This does have something to do with difficulty. As the difficulty increases, it becomes harder to mine a block and will need a lot of hashpower to even get a block. In most of the attacks an user can execute, loads of hashpower is needed and it becomes unfeasible to double spend a transaction.

Most of the casinos allows for 1 confirmation deposit since a long time ago.

Just a small correction: It is impossible to prevent a double spend if the transaction is made after the checkpoint. The risk is insignificant if its for daily purchases with the assumption that the attackers are looking for profit.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
amaclin1
Sr. Member
****
Offline Offline

Activity: 910
Merit: 351


View Profile
July 21, 2017, 02:44:45 PM
 #3

Quote
Is 1 Confirmation enough to prevent double spend?

Most of the casinos allows for 1 confirmation deposit since a long time ago.
This is not an answer to the question Grin

In fact the question is incorrect itself.
Is one umbrella enough protection against a meteorite?
puremage111 (OP)
Hero Member
*****
Offline Offline

Activity: 1568
Merit: 511


View Profile WWW
July 21, 2017, 03:06:08 PM
 #4

The blockchain size really has absolutely nothing to do with the difficulty.

Ouh it doesn't? I see, i always thought that blockchain size does affect on the difficulty xd So amount of miners do affect it?

Previously i've seen most casino only credits payment after 2 confirmation

Recently i've deposit into several site like casino, purchasing site. And most of it uses 0-1 Confirmation.

Therefore come to our main question, in the current state, is 1 confirmation enough to protect and prevent double spend?

Quote
This does have something to do with difficulty. As the difficulty increases, it becomes harder to mine a block and will need a lot of hashpower to even get a block. In most of the attacks an user can execute, loads of hashpower is needed and it becomes unfeasible to double spend a transaction.

Most of the casinos allows for 1 confirmation deposit since a long time ago.

Just a small correction: It is impossible to prevent a double spend if the transaction is made after the checkpoint. The risk is insignificant if its for daily purchases with the assumption that the attackers are looking for profit.

For this point : Transaction is made after the checkpoint, is there something called as 0 confirmation? Is checkpoint mark when a coin sending command is execute or it only starts to check once 1 confirmation is done?

Thanks
HeRetiK
Legendary
*
Online Online

Activity: 3108
Merit: 2175


Playgram - The Telegram Casino


View Profile
July 21, 2017, 03:07:31 PM
Merited by ABCbits (1)
 #5

Therefore come to our main question, in the current state, is 1 confirmation enough to protect and prevent double spend?

To create a double spend on a transaction that as already 1 confirmation, you would need to have a non-trivial amount of hashpower to actively attack the network. So yes, for most use cases 1 confirmation is enough.

For more details, check these links out:

https://en.bitcoin.it/wiki/Confirmation

https://people.xiph.org/~greg/attack_success.html

▄▄███████▄▄███████
▄███████████████▄▄▄▄▄
▄████████████████████▀░
▄█████████████████████▄░
▄█████████▀▀████████████▄
██████████████▀▀█████████
████████████████████████
██████████████▄▄█████████
▀█████████▄▄████████████▀
▀█████████████████████▀░
▀████████████████████▄░
▀███████████████▀▀▀▀▀
▀▀███████▀▀███████

▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
 
Playgram.io
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀

▄▄▄░░
▀▄







▄▀
▀▀▀░░
▄▄▄███████▄▄▄
▄▄███████████████▄▄
▄███████████████████▄
▄██████████████▀▀█████▄
▄██████████▀▀█████▐████▄
██████▀▀████▄▄▀▀█████████
████▄▄███▄██▀█████▐██████
█████████▀██████████████
▀███████▌▐██████▐██████▀
▀███████▄▄███▄████████▀
▀███████████████████▀
▀▀███████████████▀▀
▀▀▀███████▀▀▀
██████▄▄███████▄▄████████
███▄███████████████▄░░▀█▀
███████████░█████████░░
░█████▀██▄▄░▄▄██▀█████░
█████▄░▄███▄███▄░▄█████
███████████████████████
███████████████████████
██░▄▄▄░██░▄▄▄░██░▄▄▄░██
██░░░░██░░░░██░░░░████
██░░░░██░░░░██░░░░████
██▄▄▄▄▄██▄▄▄▄▄██▄▄▄▄▄████
███████████████████████
███████████████████████
 
PLAY NOW

on Telegram
[/
ranochigo
Legendary
*
Offline Offline

Activity: 3038
Merit: 4420


Crypto Swap Exchange


View Profile
July 21, 2017, 03:11:44 PM
 #6

Ouh it doesn't? I see, i always thought that blockchain size does affect on the difficulty xd So amount of miners do affect it?
Network hashrate is the main factor that affects the frequency of the block and hence the difficulty.

For this point : Transaction is made after the checkpoint, is there something called as 0 confirmation? Is checkpoint mark when a coin sending command is execute or it only starts to check once 1 confirmation is done?

Thanks
They are already included in the Blockchain when they are mined by a miner.

Checkpoints are hardcoded into clients and since double spending requires the miner to use their hashpower to rewrite the Blockchain, they cannot orphan blocks before that checkpoint. If you have transactions included before then, your transaction is pretty much irreversible unless the network changes their client's checkpoint.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
amaclin1
Sr. Member
****
Offline Offline

Activity: 910
Merit: 351


View Profile
July 21, 2017, 03:16:03 PM
 #7

they cannot orphan blocks before that checkpoint.
they can
ranochigo
Legendary
*
Offline Offline

Activity: 3038
Merit: 4420


Crypto Swap Exchange


View Profile
July 21, 2017, 03:29:47 PM
Last edit: July 21, 2017, 03:58:05 PM by ranochigo
 #8

they cannot orphan blocks before that checkpoint.
they can
How so? If my client have a checkpoint at X, how could they still orphan blocks before that?
Edit: Don't get me wrong, I'm open to the fact that I may be wrong but I can't seem to find a good explanation on it.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
BitcoinBallerina
Full Member
***
Offline Offline

Activity: 308
Merit: 100


Presale is live!


View Profile
July 21, 2017, 04:34:59 PM
 #9

As the blockchain growth time by time, which means the difficulty tend to become harder and harder.

Previously i've seen most casino only credits payment after 2 confirmation

Recently i've deposit into several site like casino, purchasing site. And most of it uses 0-1 Confirmation.

Therefore come to our main question, in the current state, is 1 confirmation enough to protect and prevent double spend?

The real question should be is double-spend a threat to Bitcoin becoming mainstream? The answer is no. It takes tons of hashing power after a few confirmations, or even one for that matter... which makes this a moot point.

Syke
Legendary
*
Offline Offline

Activity: 3878
Merit: 1193


View Profile
July 21, 2017, 10:21:44 PM
 #10

Therefore come to our main question, in the current state, is 1 confirmation enough to protect and prevent double spend?

You need to assign a probability to the question. 1 confirmation is not a 100% absolute guarantee that a double spend won't happen.

Buy & Hold
amaclin1
Sr. Member
****
Offline Offline

Activity: 910
Merit: 351


View Profile
July 21, 2017, 10:29:23 PM
 #11

You need to assign a probability to the question. 1 confirmation is not a 100% absolute guarantee that a double spend won't happen.
... and transferred amount either matter Grin
buwaytress
Legendary
*
Offline Offline

Activity: 2982
Merit: 3687


Join the world-leading crypto sportsbook NOW!


View Profile
July 22, 2017, 04:08:53 PM
 #12

As the blockchain growth time by time, which means the difficulty tend to become harder and harder.

Previously i've seen most casino only credits payment after 2 confirmation

Recently i've deposit into several site like casino, purchasing site. And most of it uses 0-1 Confirmation.

Therefore come to our main question, in the current state, is 1 confirmation enough to protect and prevent double spend?

1. There are plenty of 1 and even 0 confirmation casinos, but they protect themselves anyway by requiring all deposits to have more confirmations when you request a withdraw.
2. Technically, no amount of confirmations can prevent double spends, but the likelihood of a double spend attempt becomes lower and lower with each additional confirmation. This likelihood becomes impractical to even attempt some time after 6 confirmations, if I remember, but for most cases, 1 confirmation is "safe enough" for insignificant amounts.

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
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!