Bitcoin Forum
May 01, 2024, 10:37:27 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: RBF - Strange Note.  (Read 146 times)
bitstonps (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 6


View Profile
January 02, 2024, 06:57:55 PM
 #1

Hi,

I have a question and hope someone has a clear explanation.

A few days ago, I noticed a transaction on the network that doesn't support the RBF. Today, by coincidence, the same page was opened on my phone, and I can see that the same hash was replaced. How did this happen? The user used RBF while the transaction on the mempool and blockchain indicated RBF: NO. (The transaction has the same input.) Here is a screenshot for the hash: (https://prnt.sc/Nzgznfu6C_aW)

And here is the hash as well. (9e8159d690b3390c78b8d5a759d2395ce22f7ae33a3425bfed82ce20238232ba)

Is there any expert available to provide an explanation?

Thank you in advance for your time reading this and for your time to respond.

Regards,
1714603047
Hero Member
*
Offline Offline

Posts: 1714603047

View Profile Personal Message (Offline)

Ignore
1714603047
Reply with quote  #2

1714603047
Report to moderator
1714603047
Hero Member
*
Offline Offline

Posts: 1714603047

View Profile Personal Message (Offline)

Ignore
1714603047
Reply with quote  #2

1714603047
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.
1714603047
Hero Member
*
Offline Offline

Posts: 1714603047

View Profile Personal Message (Offline)

Ignore
1714603047
Reply with quote  #2

1714603047
Report to moderator
1714603047
Hero Member
*
Offline Offline

Posts: 1714603047

View Profile Personal Message (Offline)

Ignore
1714603047
Reply with quote  #2

1714603047
Report to moderator
hosseinimr93
Legendary
*
Online Online

Activity: 2380
Merit: 5235



View Profile
January 02, 2024, 07:39:38 PM
Merited by o_e_l_e_o (4), Findingnemo (1)
 #2

Here are two possibilities.

1. The mining pool that included the replacement transaction didn't have the first transaction in its mempool and accepted the second transaction when they received it.
2. The mining pool that included the replacement transaction has enabled full RBF.

Any node that has enabled full RBF treat any transaction as RBF-enabled and accept the replacement transaction even if the original transaction has not been flagged as RBF.


And it may worth mentioning that RBF isn't a consensus rule. RBF is a policy and miners are free to include any valid transaction they want.
A miner can include a transaction paying zero fee even if there's an unconfirmed non-RBF transaction broadcasted earlier with a very high fee spending the same coin.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
bitstonps (OP)
Newbie
*
Offline Offline

Activity: 15
Merit: 6


View Profile
January 03, 2024, 12:12:47 AM
 #3

Here are two possibilities.

1. The mining pool that included the replacement transaction didn't have the first transaction in its mempool and accepted the second transaction when they received it.
2. The mining pool that included the replacement transaction has enabled full RBF.

Any node that has enabled full RBF treat any transaction as RBF-enabled and accept the replacement transaction even if the original transaction has not been flagged as RBF.


And it may worth mentioning that RBF isn't a consensus rule. RBF is a policy and miners are free to include any valid transaction they want.
A miner can include a transaction paying zero fee even if there's an unconfirmed non-RBF transaction broadcasted earlier with a very high fee spending the same coin.


Your explanations are consistently legendary. Thank you very much for your response.
Findingnemo
Hero Member
*****
Offline Offline

Activity: 2324
Merit: 757


Bitcoin = Financial freedom


View Profile
January 03, 2024, 04:35:13 AM
 #4


A miner can include a transaction paying zero fee even if there's an unconfirmed non-RBF transaction broadcasted earlier with a very high fee spending the same coin.

I know that miner can include any transaction available in the mempool but I don't get the point of a non-RBF TX with a high fee over the same coin with zero fee into the block because I thought increasing the fee (RBF) will void the old hash and will be rebroadcasted with a new signature so the TX which broadcasted later only should be available on the network right?

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
View ArchiveReport to moderator
hosseinimr93
Legendary
*
Online Online

Activity: 2380
Merit: 5235



View Profile
January 03, 2024, 07:17:57 AM
Merited by Findingnemo (1)
 #5

I know that miner can include any transaction available in the mempool but I don't get the point of a non-RBF TX with a high fee over the same coin with zero fee into the block because I thought increasing the fee (RBF) will void the old hash and will be rebroadcasted with a new signature so the TX which broadcasted later only should be available on the network right?
If you replace a transaction with a new one paying higher fee, nodes remove the first transaction from their mempool and it's the second transaction that will be probably included in the blockchain.
But there's nothing stopping a miner from including the first transaction.


Take note that as long as none of transactions have been confirmed, both are valid.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18509


View Profile
January 03, 2024, 12:38:39 PM
Merited by Findingnemo (1)
 #6

because I thought increasing the fee (RBF) will void the old hash and will be rebroadcasted with a new signature
Nothing about RBF makes any of the transactions being replaced invalid.

When someone makes a replacement transaction, think of it as a brand new and completely separate transaction which just happens to spend (some of) the same coins. Because, well, it is. It is not the old transaction with a new signature - it is a completely different transaction. The old transaction is valid. The new transaction is also valid. Both remain completely valid and either can be mined, right up to the point where one of them is included in a block. Only at that point will the other transaction become invalid since (some of) the coins it spends will now have been spent elsewhere.
Findingnemo
Hero Member
*****
Offline Offline

Activity: 2324
Merit: 757


Bitcoin = Financial freedom


View Profile
January 03, 2024, 04:15:40 PM
Merited by o_e_l_e_o (4)
 #7

The old transaction is valid. The new transaction is also valid. Both remain completely valid and either can be mined, right up to the point where one of them is included in a block.

Take note that as long as none of transactions have been confirmed, both are valid.

Thanks for the info, that leads to my follow-up question.

What are the odds of both transactions being included in the same block? If both transactions are valid then both transactions can be included in the same block too if the fee is used in the same range then what happens?

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
View ArchiveReport to moderator
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18509


View Profile
January 03, 2024, 04:19:01 PM
Merited by Findingnemo (2)
 #8

What are the odds of both transactions being included in the same block?
Zero. Such a block would be invalid, since it spends the same coins twice.

If both transactions are valid then both transactions can be included in the same block too if the fee is used in the same range then what happens?
The default behavior of a node is never have two or more conflicting transactions in its mempool. When it accepts a replacement, it evicts the original. As such, it would never create a candidate block which contains two conflicting transactions. Should some mining pool edit their software and accidentally mine a block containing conflicting transactions, all other nodes on the network would reject it as being invalid.
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!