• About
  • Landing Page
  • Buy JNews
SB Crypto Guru News- latest crypto news, NFTs, DEFI, Web3, Metaverse
  • HOME
  • BITCOIN
  • CRYPTO UPDATES
    • GENERAL
    • ALTCOINS
    • ETHEREUM
    • CRYPTO EXCHANGES
    • CRYPTO MINING
  • BLOCKCHAIN
  • NFT
  • DEFI
  • WEB3
  • METAVERSE
  • REGULATIONS
  • SCAM ALERT
  • ANALYSIS
No Result
View All Result
  • HOME
  • BITCOIN
  • CRYPTO UPDATES
    • GENERAL
    • ALTCOINS
    • ETHEREUM
    • CRYPTO EXCHANGES
    • CRYPTO MINING
  • BLOCKCHAIN
  • NFT
  • DEFI
  • WEB3
  • METAVERSE
  • REGULATIONS
  • SCAM ALERT
  • ANALYSIS
No Result
View All Result
SB Crypto Guru News- latest crypto news, NFTs, DEFI, Web3, Metaverse
No Result
View All Result

3-phase commit for L2 payments

SB Crypto Guru News by SB Crypto Guru News
June 12, 2025
in Ethereum
0 0
0
3-phase commit for L2 payments


3-phase commit for L2 payments

The two 2-phase commits that are possible for L2 payments (cancel-on-timeout or finish-on-timeout) will always have a penalty on one of the phases but never on the other, and either 2-phase commit will have on opposite phases. To avoid a non-attacker getting stuck with the whole payment as penalty, the penalty can be done in "chunks ". But when penalty is done in chunks, the combined time until the payment has fully timed out tends to increase, and this makes the phase with no penalty vulnerable to Denial of Service (DoS) attacks. The solution is to combine both 2-phase commits, and use the one with the penalty on the first phase as the first phase, and the one with the penalty on the second phase as the second phase. This requires an intermediary phase that shifts from finish-on-timeout to cancel-on-timeout. This is the logical way to do "payment channels", and people will notice this eventually.

https://preview.redd.it/vrffejdbzh6f1.png?width=1008&format=png&auto=webp&s=32cf8df9632cf458cd31f888b93c1a66044171b8

https://preview.redd.it/wwkwq53czh6f1.png?width=1013&format=png&auto=webp&s=f96072a6846c21e25e61be7680a85f0b7ccf93e6

Update:
"Cancel" in "finish-on-timeout" or the 3-phase commit is issued by the sender (not by intermediaries or recipient) and has to be authenticated by the sender to avoid an intermediary lying about it (and thus receiving the payment via the finish-on-timeout). This is analogous to how "Commit" is from the recipient (not from intermediaries or sender) and has to be authenticated as well, to avoid an intermediary lying about it (and thus receiving the payment).

The 3-phase commit deters DoS attacks in all scenarios except when the person paying penalty and the person receiving it are the same person. This scenario is easily deterred by adding fee on top of the payment, paid out in proportion to how long payment was stuck. This is separate from the 3-phase commit though (and the 2-phase commits also has this problem, but, they rely on short timeout which means this problem never becomes a problem).

This is all very simple. I already implemented it for a backed-by-trust multihop payment system (Ryan Fuggers Ripple) and building Lightning Network, Raiden, Interledger, or whatever else on the 3-phase commit, is simple. The hard part, it seems, is noticing the 3-phase commit. As it seems no one ever noticed it before, at least it was never popularized as everyone seems to try and make either of the 2-phase commits work despite the obvious problems…

submitted by /u/johanngr
[comments]



Source link

Tags: 3phaseBitcoin NewsCommitCrypto NewsCrypto UpdatesLatest News on CryptoPaymentsSB Crypto Guru News
Previous Post

BlackRock’s IBIT Leads Surging Spot Ethereum ETF Inflows

Next Post

XRP Price Enters Perfect Setup After Buy Retest – Next Stop $3.7

Next Post
XRP Price Enters Perfect Setup After Buy Retest – Next Stop .7

XRP Price Enters Perfect Setup After Buy Retest – Next Stop $3.7

  • Trending
  • Comments
  • Latest
AI & Immersive Learning: Accelerating Skill Development with AI and XR

AI & Immersive Learning: Accelerating Skill Development with AI and XR

June 4, 2025
How to Get Token Prices with an RPC Node – Moralis Web3

How to Get Token Prices with an RPC Node – Moralis Web3

September 3, 2024
Meta Pumps a Further  Million into Horizon Metaverse

Meta Pumps a Further $50 Million into Horizon Metaverse

February 24, 2025
The Metaverse is Coming Back! – According to Meta

The Metaverse is Coming Back! – According to Meta

February 7, 2025
Samsung Unveils ‘Moohan’ to Compete with Quest, Vision Pro

Samsung Unveils ‘Moohan’ to Compete with Quest, Vision Pro

January 29, 2025
NFT Rarity API – How to Get an NFT’s Rarity Ranking – Moralis Web3

NFT Rarity API – How to Get an NFT’s Rarity Ranking – Moralis Web3

September 6, 2024
Grayscale ETF Faces Indefinite Delay as SEC Reassesses Earlier Approval

Grayscale ETF Faces Indefinite Delay as SEC Reassesses Earlier Approval

0
No Cheap Power for Miners: IMF Blocks Pakistan’s Proposal

No Cheap Power for Miners: IMF Blocks Pakistan’s Proposal

0
Trump seeks to defund Institute of American Indian Arts – The Art Newspaper

Trump seeks to defund Institute of American Indian Arts – The Art Newspaper

0
Revised Elliott Wave Count Reveals When To Sell Bitcoin — It’s Above 0,000

Revised Elliott Wave Count Reveals When To Sell Bitcoin — It’s Above $300,000

0
Bitcoin Price Coiling Up — Is a Surge Past 0K on Deck?

Bitcoin Price Coiling Up — Is a Surge Past $110K on Deck?

0
Can Crypto Perpetuals Challenge This?

Can Crypto Perpetuals Challenge This?

0
Revised Elliott Wave Count Reveals When To Sell Bitcoin — It’s Above 0,000

Revised Elliott Wave Count Reveals When To Sell Bitcoin — It’s Above $300,000

July 4, 2025
Bitcoin Price Coiling Up — Is a Surge Past 0K on Deck?

Bitcoin Price Coiling Up — Is a Surge Past $110K on Deck?

July 4, 2025
Toncoin Walks A Tightrope At .80 As Market Tension Builds

Toncoin Walks A Tightrope At $2.80 As Market Tension Builds

July 3, 2025
Summer Curtailments Slash Bitcoin Production for US Miners Amid Grid Pressures

Summer Curtailments Slash Bitcoin Production for US Miners Amid Grid Pressures

July 3, 2025
Trump seeks to defund Institute of American Indian Arts – The Art Newspaper

Trump seeks to defund Institute of American Indian Arts – The Art Newspaper

July 3, 2025
Senator Lummis’ New Bill Enables Tax-Exempt Bitcoin Spending — But Thresholds Are Too Low

Senator Lummis’ New Bill Enables Tax-Exempt Bitcoin Spending — But Thresholds Are Too Low

July 3, 2025
SB Crypto Guru News- latest crypto news, NFTs, DEFI, Web3, Metaverse

Find the latest Bitcoin, Ethereum, blockchain, crypto, Business, Fintech News, interviews, and price analysis at SB Crypto Guru News.

CATEGORIES

  • Altcoin
  • Analysis
  • Bitcoin
  • Blockchain
  • Crypto Exchanges
  • Crypto Updates
  • DeFi
  • Ethereum
  • Metaverse
  • Mining
  • NFT
  • Regulations
  • Scam Alert
  • Uncategorized
  • Web3

SITE MAP

  • Disclaimer
  • Privacy Policy
  • DMCA
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact us
  • Disclaimer
  • Privacy Policy
  • DMCA
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact us

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • HOME
  • BITCOIN
  • CRYPTO UPDATES
    • GENERAL
    • ALTCOINS
    • ETHEREUM
    • CRYPTO EXCHANGES
    • CRYPTO MINING
  • BLOCKCHAIN
  • NFT
  • DEFI
  • WEB3
  • METAVERSE
  • REGULATIONS
  • SCAM ALERT
  • ANALYSIS

© 2025 JNews - Premium WordPress news & magazine theme by Jegtheme.