mirror of https://github.com/poanetwork/gecko.git
defined vertex height
This commit is contained in:
parent
26b11ef29f
commit
b6ab0891a3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue