getNodes

abstract fun getNodes(sort: ERROR CLASS: Symbol not found for NodeSortOption = NodeSortOption.LAST_HEARD, filter: String = "", includeUnknown: Boolean = true, onlyOnline: Boolean = false, onlyDirect: Boolean = false): ERROR CLASS: Symbol not found for Flow<kotlin/collections/List<ERROR CLASS: Symbol not found for Node>>(source)

Returns a reactive flow of nodes filtered and sorted according to the parameters.

Parameters

sort

The NodeSortOption to apply.

filter

A search string for filtering by name or ID.

includeUnknown

Whether to include nodes with unset hardware models.

onlyOnline

Whether to include only nodes currently considered online.

onlyDirect

Whether to include only nodes heard directly (0 hops away).