Source/Packages

Runtime.NativePeerTree

packages/execution/src/Runtime/NativePeerTree.alpha

114 lines5 declarations5.0 KiBSHA-256 c2f3f9e5b457

def · lines 61–68

nativePeerTreeAdmitted

Full file
A tree is admitted for this role when the hierarchy admits it and its edges are admitted endpoints (distinct ascending peers, IPv4 addresses).
61def nativePeerTreeAdmitted =
62  (lambda unrestricted fanout : Nat .
63    (lambda unrestricted count : Nat .
64      (lambda unrestricted role : Nat .
65        (lambda unrestricted address : (pi unrestricted child : Nat . Bytes) .
66          (naturalAnd
67            (participantTreeAdmitted fanout count role)
68            (nativePeerEdgesAdmitted role (nativePeerTreeEdges fanout count role address)))))))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.