neko.core.network.Network.connect_to_upstream_nodes
- Network.connect_to_upstream_nodes(nodes_to_connect: List[str] | None = None, depth: int = 1, rank: int = 1, only_signed: bool = True, consensus: bool = False) None
This function connects the provided nodes to their upstream nodes in the network.
- Args:
nodes_to_connect: A list of nodes to connect. If not provided, all nodes in the network are considered.
depth: The depth of the search for upstream nodes.
rank: The rank of the search for upstream nodes.
only_signed: A boolean flag indicating whether to filter unsigned paths. Default is True.
consensus: A boolean flag indicating whether to check for consensus among references. Default is False.
- Returns:
None