Documentation ¶
Index ¶
- func Embed(u gomel.Unit, dag gomel.Dag) gomel.Unit
- func FromPreunit(pu gomel.Preunit, parents []gomel.Unit) gomel.Unit
- func New(creator uint16, epoch gomel.EpochID, parents []gomel.Unit, level int, ...) gomel.Unit
- func NewPreunit(id uint64, crown *gomel.Crown, data core.Data, rsData []byte, ...) gomel.Preunit
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Embed ¶
Embed transforms the given unit into unitInDag and computes forking height. The returned unit overrides AboveWithinProc method to use that forking height.
func FromPreunit ¶
FromPreunit creates a new freeUnit based on the given preunit and a list of parents.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.