create account

Can someone explain me what is "double spending" in Cryptocurrency transaction? by milaan

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @sapwood/can-someone-explain-me-what-is-double-spending-in-cryptocurrency-transaction

· @milaan · (edited)
$2.00
Can someone explain me what is "double spending" in Cryptocurrency transaction?
<a href="https://musing.io/q/sapwood/can-someone-explain-me-what-is-double-spending-in-cryptocurrency-transaction">View this answer on Musing.io</a><br />
👍  ,
properties (23)
authormilaan
permlinkf3x2ftuuw
categorymusing-threads
json_metadata"{"app":"musing/1.1","appTags":["Cryptocurrency"],"appCategory":"Cryptocurrency","appTitle":"Can someone explain me what is \"double spending\" in Cryptocurrency transaction?","appBody":"<p>In physical cash or money \"double spending\" is not there. As you go to shopkeeper hand over the paper cash and in exchange of that the shopkeeper gives you the goods you desired for. Here there is no double spending because the shopkeeper instantly verifies the cash given by you.</p>\n<p>But in digital currency the term \"double spending is prevalent\" and Bitcoin although being a digital currency has that robust mechanism to prevent \"double spending\" and that is why it is so popular.</p>\n<p>Bitcoin has a confirmation mechanism and along with that its public ledger is chronological and time stamped. Every 10 mins a block is produced and all the nodes within the network keeps a copy of the public ledger.</p>\n<p>Suppose you have 1 BTC and you want to spend it online by paying it to a merchant. &nbsp;You also want to check how it prevents double spending, then let's see how it will happen in bitcoin network and how it will prevent double spending.</p>\n<p>So let's say you made 1 BTC transaction to a merchant and you sign in again and try to send the same 1 BTC to another another merchant.</p>\n<p>So when you do that, both the transaction will go into unconfirmed pool first. From that, only your first transaction get confirmations and get verified by the miners and &nbsp;your second transaction can not get verified as miners found that to be invalid, so that invalid transaction will be pulled from the network and will not added to the block.</p>\n<p>So in this way it prevents double spending in this case.</p>\n<p>But again what if both the transactions are taken by miners in parallel. In this case which ever transaction gets maximum confirmations will be added to the network and the other one will be pulled out from the network. &nbsp;That is why it is recommended for merchants to wait for 6 confirmations.</p>\n<p>So the blockchain confirmation mechanism is very robust to prevent any kind of double spending and till now it is not tricked by that sense.</p>\n<p>&nbsp;&nbsp;</p>","appDepth":2,"appParentPermlink":"can-someone-explain-me-what-is-double-spending-in-cryptocurrency-transaction","appParentAuthor":"sapwood","musingAppId":"aU2p3C3a8N","musingAppVersion":"1.1","musingPostType":"answer"}"
created2019-03-12 03:28:48
last_update2019-03-12 03:32:27
depth2
children0
last_payout2019-03-19 03:28:48
cashout_time1969-12-31 23:59:59
total_payout_value1.506 HBD
curator_payout_value0.498 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length154
author_reputation136,934,685,849,830
root_title"Musing Posts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id81,110,428
net_rshares2,866,360,711,596
author_curate_reward""
vote details (2)