Skip to main content

ConsensusCommitDigest

ConsensusCommitDigest Objects

class ConsensusCommitDigest(ConsensusCommitDigestProtocol)

The digest of a consensus commit.

next_lexicographical

def next_lexicographical() -> ConsensusCommitDigest

Returns the next digest in byte-increasing order.

next_lexicographical_opt

def next_lexicographical_opt() -> typing.Optional[ConsensusCommitDigest]

Returns the next digest in byte-increasing order, or None if the result would overflow.