Bitcoin Forum
June 26, 2024, 08:11:10 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Double spend question  (Read 491 times)
horace0812 (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10

★YoBit.Net★ 200+ Coins Exchange & Dice


View Profile
July 10, 2015, 02:18:20 PM
 #1

Today I received payment from a faucet, waiting confirmation for ages,
it showed that double spend detected few hours later,
and after a while, the transation disappear in my wallet.

I an still new to BTC...
What is double spend? Is it usual to happen?


██████████    YoBit.net - Cryptocurrency Exchange
█████████    <<  ● Trade Over 200 Cryptos  ● Free Coins every 24hrs!  >>
██████████    <<  ● TUTORIAL: How to earn 1 btc a week  >>
ranochigo
Legendary
*
Offline Offline

Activity: 2982
Merit: 4193



View Profile
July 10, 2015, 02:26:39 PM
 #2

Today I received payment from a faucet, waiting confirmation for ages,
it showed that double spend detected few hours later,
and after a while, the transation disappear in my wallet.

I an still new to BTC...
What is double spend? Is it usual to happen?


Double spending occurs when two different transaction spend the same output. Bitcoin is designed to not let this happen, one of the transaction will get confirmation and the other will be considered invalid, thus getting rejected by the network. I can't explain why is there a double spend but perhaps the owner/system resent another transaction after seeing that it is forgotten by majority of network. It isn't that usual but it can happen, your best bet is to contact the faucet's owner now.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
horace0812 (OP)
Member
**
Offline Offline

Activity: 70
Merit: 10

★YoBit.Net★ 200+ Coins Exchange & Dice


View Profile
July 10, 2015, 02:33:59 PM
 #3

Today I received payment from a faucet, waiting confirmation for ages,
it showed that double spend detected few hours later,
and after a while, the transation disappear in my wallet.

I an still new to BTC...
What is double spend? Is it usual to happen?


Double spending occurs when two different transaction spend the same output. Bitcoin is designed to not let this happen, one of the transaction will get confirmation and the other will be considered invalid, thus getting rejected by the network. I can't explain why is there a double spend but perhaps the owner/system resent another transaction after seeing that it is forgotten by majority of network. It isn't that usual but it can happen, your best bet is to contact the faucet's owner now.

I still struggling why double spend will happened...
normally when you do the transaction, the amount will be deducted from your balance,
can I say double spend means 'I pay 2BTC out but my balance only hv 1BTC there'?


██████████    YoBit.net - Cryptocurrency Exchange
█████████    <<  ● Trade Over 200 Cryptos  ● Free Coins every 24hrs!  >>
██████████    <<  ● TUTORIAL: How to earn 1 btc a week  >>
ranochigo
Legendary
*
Offline Offline

Activity: 2982
Merit: 4193



View Profile
July 10, 2015, 03:48:59 PM
 #4

Today I received payment from a faucet, waiting confirmation for ages,
it showed that double spend detected few hours later,
and after a while, the transation disappear in my wallet.

I an still new to BTC...
What is double spend? Is it usual to happen?


Double spending occurs when two different transaction spend the same output. Bitcoin is designed to not let this happen, one of the transaction will get confirmation and the other will be considered invalid, thus getting rejected by the network. I can't explain why is there a double spend but perhaps the owner/system resent another transaction after seeing that it is forgotten by majority of network. It isn't that usual but it can happen, your best bet is to contact the faucet's owner now.

I still struggling why double spend will happened...
normally when you do the transaction, the amount will be deducted from your balance,
can I say double spend means 'I pay 2BTC out but my balance only hv 1BTC there'?


Firstly, any peers would only accept whichever transaction which it sees first(On default clients which majority of network run on). Which means if it sees the other transaction spending the same output, it would refuse to relay it. Double spend can happen intentionally or accidentally. If the clients automatically deletes the transaction history after a while of it not being confirmed, you can still craft a transaction from the output from the transaction and broadcast it. Those nodes which the previous transaction has dropped from the mempool will relay it. Once either of the transaction confirms, all of the network will accept it as the valid one and the other as invalid.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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!