module

RNS::Rnprobe

Constants

DEFAULT_PROBE_SIZE = 16
DEFAULT_TIMEOUT = 12.0
SPINNER_SYMS = "⣄⣂⣁⡁⡈⡐⡠"

Spinner characters matching Python's braille spinner.

Class methods

format_probe_reply(destination_hash : Bytes, hops : Int32, rtt : Float64, reception_stats : String = "") : String

Format a probe result string.

Source
format_probe_summary(sent : Int32, replies : Int32) : String

Format probe summary string.

Source
main(argv : Array(String) = ARGV.to_a)

Main entry point for the rnprobe binary.

Source
parse_args(argv : Array(String)) : Args

Parse command-line arguments matching Python argparse behavior.

Source
parse_destination_hash(hex : String) : Bytes

Validate a hex destination hash string, returning the bytes.

Source
usage_string

Usage message matching Python argparse output.

Source
version_string

Version string matching Python's "rnprobe {version}" format.

Source

Nested types