ValidatorKeyPair extension Ledger

Turning a validator key pair into the entries the genesis, rotation and tree APIs take.

on

Methods

entry(int power) → ValidatorEntry

Available on KeyPairBytes, provided by the ValidatorKeyPair extension

A validator set entry with power.
treeValidator(int power, {bool holdsSecret = true}) → TreeValidator

Available on KeyPairBytes, provided by the ValidatorKeyPair extension

A tree validator with power. Set holdsSecret false to describe a validator this process does not run.