Sunday, September 27, 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

Join Us: EF Protocol Reddit AMA – September 16th, 2026

by SB Crypto Guru News
September 9, 2026
0

Every year since January 2019, teams from the Ethereum Foundation have spent an afternoon or two on r/ethereum answering questions...

Followup: I built the thing! Added Ethereum-based wealth verification to our app

by SB Crypto Guru News
September 8, 2026
0

Follow up from last week: https://www.reddit.com/r/ethereum/comments/1w633wn/updating_our_wealth_verifications_with_ethereum/ Just went ahead and shipped it. Honestly gotta say it almost felt joyful to...

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...

EF Protocol: The Hegotá EIP Opinion Post and Tier List

by SB Crypto Guru News
September 7, 2026
0

This is the EF Protocol cluster’s tier list for Hegotá. We evaluated the 62 EIPs proposed for inclusion, each with...

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...

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

  • Trending
  • Comments
  • Latest

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

Bitcoin Slides As Iran-US Tensions Escalate

September 1, 2026

Aave Governance Weighs Emergency Freeze Powers For Active Exploits

September 8, 2026
What is Dogecoin (DOGE)? History, Mining, Supply, and Risks

What is Dogecoin (DOGE)? History, Mining, Supply, and Risks

July 31, 2026
In 1960s New York, three single mothers bought a house together and turned it into a thriving live/work space – The Art Newspaper

In 1960s New York, three single mothers bought a house together and turned it into a thriving live/work space – The Art Newspaper

November 20, 2025

Samourai Letter #7: Notes From The Inside

0

Your Book or Keynote May Not Pay Much — But Here’s How to Tell If It’s Winning You Better Clients

0

Mantle Says Tokenized Asset Count Has Jumped From 71 To 1,473 This Year

0

SEC clears regulatory hurdle as crypto token buybacks hit record $638 million

0

Sixth Circuit Rules Against Kalshi

0

Bitget CEO Wants Thorchain to Block Hackers, but There’s a Catch

0

Mantle Says Tokenized Asset Count Has Jumped From 71 To 1,473 This Year

September 26, 2026

SEC clears regulatory hurdle as crypto token buybacks hit record $638 million

September 26, 2026

Bitget CEO Wants Thorchain to Block Hackers, but There’s a Catch

September 26, 2026

Anthropic Loses Pentagon Fight Ahead of Anticipated $2 Trillion IPO

September 26, 2026

Samourai Letter #7: Notes From The Inside

September 26, 2026

Circle Agent Marketplace Brings USDC Payments and Live Data Tools to Arc Blockchain

September 26, 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.