Protocol Upgrade State - Algorand Specifications

Keyboard shortcuts

Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help

Algorand Specifications

A protocol version vv is a string no more than VmaxVmax bytes long. It corresponds to parameters used to execute some version of the Algorand protocol.

The upgrade vote in each block consists of:

The upgrade state in each block/state consists of:

An upgrade vote (vr,xr,b)(vr,xr,b) is valid given the upgrade state (v∗r,v′r,sr,dr,x′r)(vr∗,vr′,sr,dr,xr′) if vrvr is the empty string or v′rvr′ is the empty string, δxmin≤xr≤δxmaxδxmin≤xr≤δxmax, and either:

If the vote is valid, then the new upgrade state is

(v∗r+1,v′r+1,sr+1,dr+1,xr+1)(vr+1∗,vr+1′,sr+1,dr+1,xr+1)

Where