You are right when you said [The more confirmations a transaction has, the lesser the probability of "rollbacks" will be.]
You are wrong when you said [transactions made on PoW blockchains are considered as "final" while that's not the case with PoS blockchains (someone correct me if I'm wrong)]
Either PoS or PoW the more confirmations the lesser the probability of "rollbacks.
The amount of energy spent does not matter, because the Top 4 mining Pools are all that is standing between bitcoin and a 51% attack,
whether the amount of energy increases 100X or decreases 1000X, as long as those top 4 mining pools control at least 51%, they are all the real security bitcoin has. Note it has been that way for years now.
Your quest for transaction finality is only available after a checkpoint.
Nothing before a checkpoint can be altered.
Some coins such as peercoin use a checkpoint server,
many don't like this as it puts too much power in the hands of a single individual.
Some coins such as bitcoin used to use program coded checkpoints to ensure hard forks were protected.
Out of stupidity , Bitcoin quit using coded checkpoints a few years ago.
Other coins such a Black coin use a rolling checkpoints, so after 500 blocks have past, transactions are final as the clients automatically refuse any reorgs over 500 blocks old.
* Note: PoS coins have a dormancy period after staking, making a
sustained 51% attacks highly unlikely.*
* PoW Mining Pools have no dormancy period and can achieve a
sustained 51% attack easier.*
As far as your personal search for finality ,
only a checkpoint guarantees it, so coded checkpoints or rolling checkpoints are the only ways to accomplish it.
Coded Checkpoints are added by the developer and usually a week or two old block is chosen.
Rolling Checkpoints are completely decentralized and happen based on the number of confirmations.
FYI:
Bitcoin Devs will never re add checkpoints of any kind , they think it makes them look weak.
FYI2:
https://bitcoinmagazine.com/articles/bitcoin-network-shaken-by-blockchain-fork-1363144448On March 12th, 2013: 24 blocks / 6 hours of Bitcoin mining was rewritten due to a problem with a version upgrade.
In August 2010, there was a 53 block reorg in bitcoin due to an bug.
FYI3:
If the
Majority of Miners or Stakers & users agreed, any coin can have it's blockchain overwritten/ altered,
it is after all secured by code and as such if the majority agree to modify the code anything can be changed.
That is a democracy.
I still have a lot to learn about how "transaction finality" works on both consensus algorithms (PoW and PoS). For once, I've thought that the energy spent on PoW chains like Bitcoin and Ethereum, meant that transactions were considered as final (unlike PoS chains of today). Thankfully, you've helped me understand this better after some confusion related to the subject. I can now see why Ethereum is after "transaction finality" with its Casper PoS upgrade. Smart contracts need a truly immutable blockchain where transactions are considered as final no matter what. Those who try to cheat the system will get penalized. It's a clever idea from the ETH dev team, which could serve as a great example for Bitcoin and other altcoins.
While I don't like coded checkpoints because of their centralization, the latter option (rolling checkpoints) seem to be a better solution for maintaining transaction finality on the Bitcoin blockchain. I'm surprised that BTC devs are not interested in doing something like this, in order to make Bitcoin as immutable as possible. The current hashrate distribution on mining pools owned by Bitmain/China could put the blockchain at risk in the long term. After all, they already control 51% of the network's hashrate. There are solutions to tackle this problem, though. Betterhash, and Stratum V2 aim to make mining more decentralized. With a decentralized PoW consensus and rolling checkpoints, you could rest assured that Bitcoin's transaction history will remain unalterable for the foreseeable future.
But I guess that, developers are mostly interested in scaling the BTC blockchain than anything else. Of course, that's also important for the mainstream adoption of Bitcoin. But I believe that, security and reliability goes above anything else. As long as there's no threat of a 51% attack or block reorg, developers wouldn't care more or less implementing a mechanism that would make transactions final no matter what.
it is not that complicated to know. it is a matter of cryptography. in order to reverse a transaction that is already confirmed you have to mine the same block. but the problem is that you have to first have a huge hashrate that allows you to mine that block within reasonable time. lets say it is block #100, while you are mining that again the rest of the world is mining #101 and by the time you find #100 the rest of the world is on #102 now you are 2 blocks behind and the chain you have is a shorter one with less work that is rejected.
Yes. That's the way it works, according to the Bitcoin whitepaper. The longest running chain is the one that's considered as valid among all participants. We could say that Bitcoin experiences small forks every once in a while because of this. The situation is worse with PoW chains that have huge block sizes (like BCH and BSV). I've seen that Bitcoin SV has experienced a lot of block reorgs lately. In a chain like this, it's hard to think that transactions will ever be considered as "final". Maybe that's why BTC devs decided not to increase the block size in order to maintain Bitcoin as secure as possible. A 1mb block size has worked flawlessly for the Bitcoin blockchain where block reorgs have been quire rare (AFAIK). But I strongly believe that Bitcoin devs should look for ways to implement transaction finality on-chain to maintain the immutability of Bitcoin for the foreseeable future.