MCPcopy Create free account
hub / github.com/akash-network/node / After

Method After

util/partialord/partialord.go:38–42  ·  view source on GitHub ↗

After marks that A should come after B

(a string, b string)

Source from the content-addressed store, hash-verified

36
37// After marks that A should come after B
38func (ord *PartialOrdering) After(a string, b string) {
39 // Set that A depends on B / an edge from B -> A
40 err := ord.dag.AddEdge(b, a)
41 handleDAGErr(err)
42}
43
44// Before marks that A should come before B
45func (ord *PartialOrdering) Before(a string, b string) {

Callers 15

TestAPIFunction · 0.95
TestNonStandardAPIOrderFunction · 0.95
TestSequenceFunction · 0.95
AddPriceEntryMethod · 0.80
PricesMethod · 0.80
PostSnapshotHashMethod · 0.80
OpenAuditEscrowMethod · 0.80
CancelAuditEscrowMethod · 0.80

Calls 2

handleDAGErrFunction · 0.85
AddEdgeMethod · 0.80

Tested by 4

TestAPIFunction · 0.76
TestNonStandardAPIOrderFunction · 0.76
TestSequenceFunction · 0.76