Skip to content

Improve resiliency in increasingly decentralized Algorand #6506

@pao-beep

Description

@pao-beep

Status

Today the increasing online stake is getting decentralized by others other than algorand foundation and technology holding a majority of stake and we are moving to a type of p2p where relays are optional and less professional but more independent unknown parties are running nodes for rewards compared to 2020. Nevertheless, there are 2 entities controlling ~40% of online stake posing a security risk. Today on algorand only one entity(kiln or AF) holding 20-24% can very highly likely halt the chain and/or severely degrade performance if they go offline at once or deviate from the protocol. The 20% is based on our hard coded h parameter at 80% and committee thresholds. Surprisingly there hasn't been concrete explanations and reasons why these figures were chosen or why it shouldn't be adjusted by protocol developers anywhere. In an increasingly decentralized network with increasing unknown parties, increasing vary nodes, increasing varying hardware, p2p etc this 20% threshold is low. In an environment where networks are being evaluated by institutions and government warming up to crypto currencies and what each has to offer, seeing majority of other networks tolerating more than 20% might cast an unintended poor light on our cherished network, algorand.

Expected

Given that safety is rare to violate and currently on algorand requires far more entities and coordination especially in light of our innovative selection, we should expect more liveness violations given the environment we are increasingly heading towards.

Solution

To combat this we should tolerate (25-30%] of online stake going offline at once/deviating from protocol which is closer to theoretical minimums that can still guarantee consistency. We can either adjust our h parameter and/or adjust our committee thresholds and sizes. We can for example still maintain our h parameter value but adjust committee thresholds to be ~68% of committee sizes. We can also adjust our h parameter to be (70-75%] which should cause an increase to committee sizes. All this means is that the protocol can tolerate more so long as theoretical minimums are not exceeded.

Dependencies

Protocol developers and designers. It's possible that we might lose just a little bit of speed if we increase committee sizes.

Urgency

I think it's critical as p2p is nearing completion, more independent stake is getting online and nodes run by less attentive people eg I've seen a 45 million stake get suspended. Kiln is one of the largest online staking holders(20%). Recently Kiln had a security breach occur in September 2025, where a sophisticated attacker bypassed security measures and stole customer funds from the staking provider. What if this happens to their algorand nodes where instead of funds stolen nodes go offline instantly

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions