EVM-Lite Consensus¶
The consensus client implementations for EVM-Lite.
Solo¶
An empty class is exported for convenience when using EVM-Lite in
solo
mode.
Babble¶
The Babble
class exposes methods to interact with its API.
getBlock(index: number)
- returns a babble block by indexgetPeers()
- returns the current list of peersgetGenesisPeers()
- returns the genesis peersgetBlocks(start: number, count?: number)
- returns a list of blocks starting at start. If no count is specified, will return a single block in an array.getValidatorHistory()
- returns entire history of the validator setgetValidators(round: number)
- returns the validator set at a specific round