Bitcoin Forum
May 12, 2024, 02:55:20 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Automatic confirmation  (Read 1492 times)
mikerbiker6 (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
August 30, 2014, 11:12:51 PM
 #1

Hello, I have a question:
Suppose I send out a bitcoin transaction without fee from wallet 1 to wallet 2, and from wallet 2 to 3.
Now If I double spend these bitcoins the transaction from 1 to 2 'never happened' and the same holds for the transaction from 2 to 3.

But what if the transaction from 1 to 2 is not confirmed (yet) (no fee), but the transaction from 2 to 3 is using a fee and is already confirmed.
Is the first transaction then automatically confirmed? And can't the 1st transaction be double spend anymore?

Participate and Earn on the Letstalkbitcoin forum letstalkbitcoin.com
1715482520
Hero Member
*
Offline Offline

Posts: 1715482520

View Profile Personal Message (Offline)

Ignore
1715482520
Reply with quote  #2

1715482520
Report to moderator
1715482520
Hero Member
*
Offline Offline

Posts: 1715482520

View Profile Personal Message (Offline)

Ignore
1715482520
Reply with quote  #2

1715482520
Report to moderator
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715482520
Hero Member
*
Offline Offline

Posts: 1715482520

View Profile Personal Message (Offline)

Ignore
1715482520
Reply with quote  #2

1715482520
Report to moderator
1715482520
Hero Member
*
Offline Offline

Posts: 1715482520

View Profile Personal Message (Offline)

Ignore
1715482520
Reply with quote  #2

1715482520
Report to moderator
byt411
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000


View Profile
August 30, 2014, 11:14:54 PM
 #2

Hello, I have a question:
Suppose I send out a bitcoin transaction without fee from wallet 1 to wallet 2, and from wallet 2 to 3.
Now If I double spend these bitcoins the transaction from 1 to 2 'never happened' and the same holds for the transaction from 2 to 3.

But what if the transaction from 1 to 2 is not confirmed (yet) (no fee), but the transaction from 2 to 3 is using a fee and is already confirmed.
Is the first transaction then automatically confirmed? And can't the 1st transaction be double spend anymore?


The point is that you cannot double spend. That's the whole point of bitcoin. So no, there's no "automatic confirmation", and no, it's not possible to double spend.
mikerbiker6 (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
August 30, 2014, 11:27:49 PM
 #3

Hello, I have a question:
Suppose I send out a bitcoin transaction without fee from wallet 1 to wallet 2, and from wallet 2 to 3.
Now If I double spend these bitcoins the transaction from 1 to 2 'never happened' and the same holds for the transaction from 2 to 3.

But what if the transaction from 1 to 2 is not confirmed (yet) (no fee), but the transaction from 2 to 3 is using a fee and is already confirmed.
Is the first transaction then automatically confirmed? And can't the 1st transaction be double spend anymore?


The point is that you cannot double spend. That's the whole point of bitcoin. So no, there's no "automatic confirmation", and no, it's not possible to double spend.

I know you cannot really double spend a bitcoin.
what I mean is if I send out the same bitcoin twice, once without fee, the other with fee.
It is very likely the one with fee is confirmed and the other transaction therefore never happened.
but if I send a transaction without fee, and the reciever sends out the funds immediately with fee, that transaction could be confirmed, but not (yet) the deposit.

Participate and Earn on the Letstalkbitcoin forum letstalkbitcoin.com
franky1
Legendary
*
Offline Offline

Activity: 4214
Merit: 4475



View Profile
August 30, 2014, 11:30:17 PM
 #4

until the origin (wallet 1) has confirmed then all transactions after that, will sit there waiting

you wont get a confirm from an unconfirmed source.

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
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
August 31, 2014, 01:54:14 AM
 #5

First, if you are trying to understand the technical details behind exactly how the protocol handles transactions and confirmations, then you'll need to stop thinking about "wallets" and "bitcoins".

As far as the protocol is concerned there are no wallets and there are no bitcoins. There aren't even any addresses.  There are only transactions with inputs and outputs.

So, as far as I can tell, you are asking about the following scenario:

Broadcast Transaction A
Spending confirmed output A as an input and creates new unconfirmed output B without any transaction fee.

Broadcast Transaction B
Spending unconfirmed output B as an input and creates new unconfirmed output C with a transaction fee.

Broadcast Transaction C
Spending confirmed output A as an input and creates new unconfirmed output D with a transaction fee.

One thing to be aware of:

Most nodes, miners, and mining pools will refuse to accept or relay a transaction that spends an output that is already in the memory pool as an input in another transaction.  Therefore, transaction C won't be relayed and won't be accepted as valid by most of the system.  This makes it very unlikely that Transaction C will be confirmed (or even seen) by any miners until several days have passed by and most of the system has forgotten about Transaction A.  The recipient of Transaction A can repeatedly re-broadcast Transaction A if they want to, which makes it even less likely that Transaction C will ever be seen by most of the network.

If we assume however that several days have passed by, and that most nodes on the network have forgotten about Transaction A, then (as you mentioned) when Transaction C is confirmed Transactions A and B will become invalid, will be dropped from the memory pools of all caught up nodes, and will cease to exist.

As has already been mentioned by franky1 Transaction B can not, and will not, be confirmed unless and until Transaction A is confirmed.  It is possible for them both to be confirmed in the same block, but Transaction B cannot be confirmed in an earlier block than Transaction A.
mikerbiker6 (OP)
Sr. Member
****
Offline Offline

Activity: 392
Merit: 250


View Profile
August 31, 2014, 06:11:30 PM
 #6

you wont get a confirm from an unconfirmed source.

Thanks for the short answer.

And thanks @DannyHamilton for the thorough explanation.

I understand it now.

Participate and Earn on the Letstalkbitcoin forum letstalkbitcoin.com
BigGameCAsino
Member
**
Offline Offline

Activity: 112
Merit: 10

Want A Personal Coin? PM ME!


View Profile
September 02, 2014, 04:25:18 AM
 #7

until the origin (wallet 1) has confirmed then all transactions after that, will sit there waiting

you wont get a confirm from an unconfirmed source.

Got it thanks. Man, why is it sometimes I still couldnt see my btc even with 11 confirms?

DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
September 02, 2014, 07:53:04 AM
 #8

Man, why is it sometimes I still couldnt see my btc even with 11 confirms?

Wallet isn't synchronized?
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!