Bitcoin Forum
April 26, 2024, 09:54:00 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Double Spending Issues Because of Mempool's reducing  (Read 153 times)
miguelmorales85 (OP)
Hero Member
*****
Offline Offline

Activity: 544
Merit: 506


View Profile
January 26, 2018, 08:47:15 PM
Last edit: January 26, 2018, 09:05:19 PM by miguelmorales85
Merited by achow101 (1)
 #1

Hello Bitcoin gurus. I always come here to find answers to my problems after some unsuccessful search in google.

Now that the mempool is being crushed. I have problem with several transactions.

Case #1:
I needed to send 0.625927 BTC to wallet 3FcJ5qSBExencX5eowGJwrPBnfKX41FrXK (a ledger wallet generated address)
First I sent the BTC from my GreenAddress wallet thinking being a segwit address would be quicker and cheaper, it wasnt faster enough. That txid is 4821084d640e48ee247160620aedbe9b5605621486270bd570032c94368d6966
It was stuck so I believed it will be abadoned in time.

Then I sent the other 0.625927 BTC from Copay, my former trust wallet. I used a higher fee. The txid is f11436dd3a7de43d09e362bf3fbb3ea56b14c14c81007831e96d9588bb9a84c1
This TX was successful and the BTC were transfered on 01/01/18

My surprise is that when the mempool gets down the first tx is executed too. I asked the owner of the wallet 3FcJ5qSBExencX5eowGJwrPBnfKX41FrXK if he received another payment and he told me checked on his ledger wallet GUI and he received it but it was tagged as double spending and then the print screen he sent me only show one TX.

I checked a block explorer and you can see the two txs. What is happening how can he confirm the other tx ? he is currently choosing in the ledger the Segwit chain.

Case #2:
Im trying to send some BTC from BitcoinCore segwit address to another segwit address in GreenAddress.
I tried several times and because of mempool full I had to abandon transaction.
Turns out abandon a tx is not cancel it, from all of the abandoned the one with higher fee is the one that got confirmed. NOT the first one in being into a block. Can someone explain me that?
Could I receive BTC from a wallet and check +6 confirmations and then lose those BTC because the same BTC were sent to another wallet with a high fee but "abandoned"
The issue is that I checked the receiver wallet and the TX in a block explorer and I can see they are there but in GreenAddress the TX is tagged as double spend and not added to my total wallet funds. What can I do ?


I'll go to translate bitcoin core 0.16.x while I get some replies, thanks in advance...
1714125240
Hero Member
*
Offline Offline

Posts: 1714125240

View Profile Personal Message (Offline)

Ignore
1714125240
Reply with quote  #2

1714125240
Report to moderator
1714125240
Hero Member
*
Offline Offline

Posts: 1714125240

View Profile Personal Message (Offline)

Ignore
1714125240
Reply with quote  #2

1714125240
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714125240
Hero Member
*
Offline Offline

Posts: 1714125240

View Profile Personal Message (Offline)

Ignore
1714125240
Reply with quote  #2

1714125240
Report to moderator
1714125240
Hero Member
*
Offline Offline

Posts: 1714125240

View Profile Personal Message (Offline)

Ignore
1714125240
Reply with quote  #2

1714125240
Report to moderator
1714125240
Hero Member
*
Offline Offline

Posts: 1714125240

View Profile Personal Message (Offline)

Ignore
1714125240
Reply with quote  #2

1714125240
Report to moderator
LoyceV
Legendary
*
Offline Offline

Activity: 3290
Merit: 16551


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
January 26, 2018, 10:09:07 PM
Merited by actmyname (1)
 #2

It was stuck so I believed it will be abadoned in time.
This is a bad assumption: once broadcasted, someone can always broadcast it again. That means it can get confirmed later, unless you make the transaction invalid by double spending the input to another address.

Quote
I asked the owner of the wallet 3FcJ5qSBExencX5eowGJwrPBnfKX41FrXK if he received another payment and he told me checked on his ledger wallet GUI and he received it but it was tagged as double spending and then the print screen he sent me only show one TX.

I checked a block explorer and you can see the two txs. What is happening how can he confirm the other tx ?
I have no experience with Ledger, but the transaction is confirmed and he received his payment twice (here and here).

Quote
Could I receive BTC from a wallet and check +6 confirmations and then lose those BTC because the same BTC were sent to another wallet with a high fee but "abandoned"
No. For this to happen would mean miners have to forget the last 6 blocks. Think about 51% attacks for this scenario to happen.

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Lauda
Legendary
*
Offline Offline

Activity: 2674
Merit: 2965


Terminated.


View Profile WWW
January 26, 2018, 10:09:48 PM
Merited by HCP (1), miguelmorales85 (1)
 #3

My surprise is that when the mempool gets down the first tx is executed too. I asked the owner of the wallet 3FcJ5qSBExencX5eowGJwrPBnfKX41FrXK if he received another payment and he told me checked on his ledger wallet GUI and he received it but it was tagged as double spending and then the print screen he sent me only show one TX.
It can't be a double spend; read these two words again. Double spend. To double spend something, you have to spend the same thing twice. The two transactions are literally spending from different sources:
1st one from 3P83sWGjujgjKN2AN73Q6n52UUg9ecQyvd;
2nd one from 19mbyFd8ehSs5AyGQF1hZnS4fj6i1kRgDc.


What is happening how can he confirm the other tx ?
Both transactions have been confirmed and he has *received* the funds. You can see his balance here: https://blockchain.info/address/3FcJ5qSBExencX5eowGJwrPBnfKX41FrXK.

Could I receive BTC from a wallet and check +6 confirmations and then lose those BTC because the same BTC were sent to another wallet with a high fee but "abandoned"
Abandon transaction is a local function. It does not, and can not, remove the transaction from the network.

"The Times 03/Jan/2009 Chancellor on brink of second bailout for banks"
😼 Bitcoin Core (onion)
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!