Monday, September 7, 2026
  • Login
SB Crypto Guru News- latest crypto news, NFTs, DEFI, Web3, Metaverse
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
CRYPTO MARKETCAP
  • 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

by SB Crypto Guru News
June 12, 2025
in Ethereum
Reading Time: 2 mins read
0 0
A A
0


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

Related Posts

EF Protocol: Current and Emerging Priorities

by SB Crypto Guru News
September 7, 2026
0

In May, the Protocol cluster welcomed a trio of new cluster coordinators and promised updates to follow. After months of...

Glamsterdam Repricing Impact for Smart Contract Developers

by SB Crypto Guru News
August 24, 2026
0

TL;DR: The upcoming Glamsterdam upgrade includes a set of gas repricings. EIP-8037 and EIP-8038 (both scheduled for inclusion) adjust the...

Raising machine-checked security benchmarks to advance hash-based SNARKs through agentic collaboration

by SB Crypto Guru News
August 20, 2026
0

better.codes, an open autoresearch challenge built by the Ethereum Foundation Formal Verification team in collaboration with Yukon and zkSecurity, is...

Allocation Update – Q2 2026

by SB Crypto Guru News
August 18, 2026
0

DAOs/GovernanceResearchFaculty Research Fellowship: Ethereum Studies (AY 2025–2026)Enables Prof. Strnad to dedicate substantial research time to Ethereum-focused problems, including DAO governance,...

Announcing the Platåberget Testnet | Ethereum Foundation Blog

Announcing the Platåberget Testnet | Ethereum Foundation Blog

by SB Crypto Guru News
August 17, 2026
0

tl;dr: Meet Platåberget: Glamsterdam's (Gloas + Amsterdam) early testing ground open to public participation. This upgrade comes with breaking changes...

Load More
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

Binance Opens Trading In Syria After US, EU Lift Sanctions

Binance Opens Trading In Syria After US, EU Lift Sanctions

  • Trending
  • Comments
  • Latest
Why the Founders Winning With AI Agents Aren’t the Ones Automating the Most

Why the Founders Winning With AI Agents Aren’t the Ones Automating the Most

August 14, 2026

TON Validators Prepare Node Update Ahead Of Collator Vote

August 22, 2026
AVAX Price Prediction: Bears Own This Chart — .98 Is the Next Stop

AVAX Price Prediction: Bears Own This Chart — $5.98 Is the Next Stop

August 16, 2026
How AI Agents Are Deleting the Steep Web3 Tooling Curve

How AI Agents Are Deleting the Steep Web3 Tooling Curve

August 15, 2026

ZachXBT Exposes Canada as Worst Global Hotspot for Crypto Fraud

August 22, 2026

EU Carbon Taxes Push Bitcoin Mining to Russia, Study Claims

August 23, 2026

Binance Plans Kazakhstan Settlement Hub for CIS and Eastern European Clients

0

Liquid Gets 3,400 BTC Back After On-Chain Talks; White Hats Keep 598.5 BTC

0

The Financial Case for Managing Your Search Engine Footprint

0

EF Protocol: Current and Emerging Priorities

0

Tether Alloy Gold-Backed Reserves Cross $210M

0

Moonwell bad-debt plan: USDC recovery questions remain

0

Liquid Gets 3,400 BTC Back After On-Chain Talks; White Hats Keep 598.5 BTC

September 7, 2026

Binance Plans Kazakhstan Settlement Hub for CIS and Eastern European Clients

September 7, 2026

Tether Alloy Gold-Backed Reserves Cross $210M

September 7, 2026

Moonwell bad-debt plan: USDC recovery questions remain

September 7, 2026

JPMorgan Chase Considering Launch of New Stablecoin As Rival Big Banks Build Dollar-Pegged Token: Report

September 7, 2026

Bitcoin’s $9.07B Whale Profit Record Puts Rally Floor to Test

September 7, 2026
Facebook Twitter LinkedIn Tumblr RSS
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

Copyright © 2022 - SB Crypto Guru News.
SB Crypto Guru News is not responsible for the content of external sites.

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

Copyright © 2022 - SB Crypto Guru News.
SB Crypto Guru News is not responsible for the content of external sites.