MCPcopy Create free account
hub / github.com/chain/txvm / Less

Method Less

protocol/txbuilder/template.go:143–143  ·  view source on GitHub ↗
(i, j int)

Source from the content-addressed store, hash-verified

141
142func (oe orderedEntries) Len() int { return len(oe) }
143func (oe orderedEntries) Less(i, j int) bool { return oe[i].index() < oe[j].index() }
144func (oe orderedEntries) Swap(i, j int) { oe[i], oe[j] = oe[j], oe[i] }
145
146// RestrictMinTime sets the template's min time to the given value if

Callers

nothing calls this directly

Calls 1

indexMethod · 0.65

Tested by

no test coverage detected