Skip to main content

open

Function open 

Source
pub async fn open(
    connect: &[String],
    listen: &[String],
    scouting: bool,
) -> Result<Session>
Expand description

Open a session for a read-only explorer.

RFC 09 §5: debug tools run without the session namespace and spell full keys — “which is also the honest view of what is on the wire”. So we never set namespace, and every key this tool prints is the real one.

Scouting defaults to off. A bus explorer that multicast-scouts will join whatever mesh it can find, which is how a throwaway session ends up contaminating a live fleet; opt in explicitly with --scouting when you mean it.