• About
  • Landing Page
  • Buy JNews
Newsletter
Impact Crypto News
Advertisement
  • Home
  • DeFi News
  • EVM News
    • Avalanche Network
    • Ethereum
    • Fantom Opera Chain
    • Harmony Chain
    • Huobi Eco Chain
    • Polkadot Chain
    • Polygon Chain
  • NFT News
  • Altcoin News
  • Crypto News
    • Crypto Regulation News
    • Bitcoin
    • Blockchain
    • Crypto Exchanges
    • Crypto Mining
    • Metaverse
    • Scam News
    • Web 3.0
No Result
View All Result
  • Home
  • DeFi News
  • EVM News
    • Avalanche Network
    • Ethereum
    • Fantom Opera Chain
    • Harmony Chain
    • Huobi Eco Chain
    • Polkadot Chain
    • Polygon Chain
  • NFT News
  • Altcoin News
  • Crypto News
    • Crypto Regulation News
    • Bitcoin
    • Blockchain
    • Crypto Exchanges
    • Crypto Mining
    • Metaverse
    • Scam News
    • Web 3.0
No Result
View All Result
Impact Crypto News
No Result
View All Result
Home Crypto News Ethereum

3-phase commit for true Raiden network

IMPACTCRYPTO by IMPACTCRYPTO
October 4, 2025
in Ethereum
55 3
0
3-phase commit for true Raiden network
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter


3-phase commit for true Raiden network

All decentralized multihop payments like Raiden/Lightning (and also Ryan Fugger's base layer) have historically used a 2-phase commit that defaults to cancel the payment to manage the attack vector of money reserved for payment being stuck for all eternity. This solution brings with it the risk of a penalty (note, only on one of the phases) that may end up imposed on an innocent intermediary. The original solution to this in 2006 was to make the penalty gradual, a microscopic amount per second, but the problem is that the cumulative time until the payment times out then tends to get so long that the timeout itself no longer serves to solve the "reserve payment attack", and while the penalty could be a sufficient solution there was only a penalty on one of the phases. So, people settled for "staggered timeouts" as a work around, but this does not fix the problem, network failures or denial of service attacks can still cause an innocent intermediary to end up paying for the full payment.

The solution is to add the penalty on both phases. This is easily done once you realize that the other 2-phase commit, that finishes on timeout, also only has a penalty on one of the phases but it has it on the opposite phase. Thus, you can simply combine them and add a phase in between that shifts the action of the timeout, thus you get a 3-phase commit.

https://preview.redd.it/acpqejl9r3tf1.png?width=1008&format=png&auto=webp&s=b4714eaa27a4ad245d2ab352a11b3bc69fa9b339

I built Ryan Fugger's base layer already (just 2500 lines of code with zero dependencies) and adding "collateral" ("state proof" on top of the "base payment channel") is very easy. Raiden could be built and finished with minimal work. If anyone is interested. My goal is already achieved with the base layer (as my vision only required it to exits) but I could help out with pointers if anyone wants to get a real Raiden created.

I have more material, video presentation, complete implementation, etc, if anyone is interested. And I can walk anyone through it as well in chat for example here in discussion thread, the 3-phase commit is very simple it was just a bit hard to discover as people tend to follow the path already made by others (the cancel-on-timeout 2-phase commit, whereas I approached the other one and naturally noticed both together would transcend the limitations of either).

Hakuna matata,
Johan

submitted by /u/johanngr
[comments]



Source link

Related articles

take the zk pill, you stay in the provable reality, and EF’s institutional privacy lead oskar thorén will show you how deep the rabbit hole goes…

take the zk pill, you stay in the provable reality, and EF’s institutional privacy lead oskar thorén will show you how deep the rabbit hole goes…

December 10, 2025
BC.GAME’s “Stay Untamed” Breakpoint Eve party tops 1,200 sign-ups, with DubVision and Mari Ferrari headlining

BC.GAME’s “Stay Untamed” Breakpoint Eve party tops 1,200 sign-ups, with DubVision and Mari Ferrari headlining

December 8, 2025
Tags: 3phasebitcoin newsCommitcrypto analysiscrypto newsEthoz EdgeLatest bitcoin newslatest crypto newsnetworkRaidentrue
Share76Tweet47

Related Posts

take the zk pill, you stay in the provable reality, and EF’s institutional privacy lead oskar thorén will show you how deep the rabbit hole goes…

take the zk pill, you stay in the provable reality, and EF’s institutional privacy lead oskar thorén will show you how deep the rabbit hole goes…

by IMPACTCRYPTO
December 10, 2025
0

oskar thorén is one of the leads in ethereum foundation's newest IPTF, or institutional privacy task force. he's a freedom...

BC.GAME’s “Stay Untamed” Breakpoint Eve party tops 1,200 sign-ups, with DubVision and Mari Ferrari headlining

BC.GAME’s “Stay Untamed” Breakpoint Eve party tops 1,200 sign-ups, with DubVision and Mari Ferrari headlining

by IMPACTCRYPTO
December 8, 2025
0

Belize City, Belize, December 8th, 2025, Chainwire As Bitcoin MENA 2025, Solana Breakpoint 2025 and the Global Blockchain Show bring...

Hotstuff Labs launches Hotstuff, a DeFi native Layer 1 connecting On-Chain Trading with Global Fiat Rails

Hotstuff Labs launches Hotstuff, a DeFi native Layer 1 connecting On-Chain Trading with Global Fiat Rails

by IMPACTCRYPTO
December 5, 2025
0

Singapore, Singapore, December 5th, 2025, Chainwire Hotstuff Labs today announced the public testnet for Hotstuff L1, a DeFi Layer 1...

Devconnect Argentina Recap | Ethereum Foundation Blog

Devconnect Argentina Recap | Ethereum Foundation Blog

by IMPACTCRYPTO
December 4, 2025
0

Devconnect Buenos Aires wrapped up as the largest Ethereum Foundation event yet, bringing together a global mix of developers, founders,...

Chainlink ETF Lists on NYSE Arca After ICE Partnership

Chainlink ETF Lists on NYSE Arca After ICE Partnership

by IMPACTCRYPTO
December 3, 2025
0

Key Points The Chainlink ETF recorded $9.8 million in trading volume on its first day with shares closing up approximately...

Load More

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
Please enter CoinGecko Free Api Key to get this plugin works.
No Result
View All Result
  • Home
  • DeFi News
  • EVM News
    • Avalanche Network
    • Ethereum
    • Fantom Opera Chain
    • Harmony Chain
    • Huobi Eco Chain
    • Polkadot Chain
    • Polygon Chain
  • NFT News
  • Altcoin News
  • Crypto News
    • Crypto Regulation News
    • Bitcoin
    • Blockchain
    • Crypto Exchanges
    • Crypto Mining
    • Metaverse
    • Scam News
    • Web 3.0

© 2018 JNews by Jegtheme.