Saturday, March 14, 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 true Raiden network

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


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

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

Bitcoin’s $117k Reset Unlocks Path Toward ATH As Bullish Structure Strengthens

Next Post

own assets or risk being left behind

Related Posts

The Promise of Ethereum: Introducing the EF Mandate

The Promise of Ethereum: Introducing the EF Mandate

by SB Crypto Guru News
March 13, 2026
0

Dearest Friends, Today we are publishing the EF Mandate, a document that serves as part constitution, part manifesto, and part...

StarkWare just killed their entire user base

StarkWare just killed their entire user base

by SB Crypto Guru News
March 8, 2026
0

"a practical compliance framework that enables an auditing entity to selectively unshield transactions upon legitimate regulatory request" So, the entire...

This Is Fine (Until the Grant Runs Out)

This Is Fine (Until the Grant Runs Out)

by SB Crypto Guru News
February 27, 2026
0

The commons called. It wants a runway. Every so often, in the blockchain world’s usual cycle of funding scares, a...

Treasury Staking Initiative | Ethereum Foundation Blog

Treasury Staking Initiative | Ethereum Foundation Blog

by SB Crypto Guru News
February 24, 2026
0

The Ethereum Foundation has begun staking a portion of its treasury, in line with its Treasury Policy announced last year....

The Ethereum Foundation’s Commitment to DeFi

The Ethereum Foundation’s Commitment to DeFi

by SB Crypto Guru News
February 23, 2026
0

DeFi isn't a speculative bet on the future. It's the inevitable evolution of finance, driven by a fundamental truth: financial...

Load More
Next Post
own assets or risk being left behind

own assets or risk being left behind

Coinbase-Samsung Partnership Brings Crypto Access to 75M Galaxy Users with Exclusive Perks

Coinbase-Samsung Partnership Brings Crypto Access to 75M Galaxy Users with Exclusive Perks

Facebook Twitter LinkedIn Tumblr RSS

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.