defined vertex height

This commit is contained in:
StephenButtolph 2020-06-06 11:54:31 -04:00
parent 26b11ef29f
commit b6ab0891a3
1 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,8 @@ type Vertex interface {
// Returns the vertices this vertex depends on
Parents() []Vertex
// Returns the height of this vertex
// Returns the height of this vertex. A vertex's height is defined by one
// greater than the maximum height of the parents.
Height() uint64
// Returns a series of state transitions to be performed on acceptance