Height: {
    revision_height: string;
    revision_number: string;
}

Height is a monotonically increasing data type that can be compared against another Height for the purposes of updating and freezing clients

Normally the RevisionHeight is incremented at each height while keeping RevisionNumber the same. However some consensus algorithms may choose to reset the height in certain conditions e.g. hard forks, state-machine breaking changes In these cases, the RevisionNumber is incremented so that height continues to be monitonically increasing even as the RevisionHeight gets reset

Type declaration

  • revision_height: string

    the height within the given revision

  • revision_number: string

    the revision that the client is currently on

Generated using TypeDoc