2024-04-14 21:30:16 +00:00
|
|
|
% Generated by roxygen2: do not edit by hand
|
|
|
|
% Please edit documentation in R/ping.R
|
|
|
|
\name{ping.peers}
|
|
|
|
\alias{ping.peers}
|
|
|
|
\title{Ping peer nodes for latency measurement}
|
|
|
|
\usage{
|
|
|
|
ping.peers(
|
|
|
|
bitmonero.dir = "~/.bitmonero",
|
2024-04-15 23:14:12 +00:00
|
|
|
output.file = "monero_peer_pings.csv",
|
2024-04-14 21:30:16 +00:00
|
|
|
sleep = 10,
|
2024-04-15 16:31:20 +00:00
|
|
|
ping.count = 5,
|
|
|
|
threads = NULL
|
2024-04-14 21:30:16 +00:00
|
|
|
)
|
|
|
|
}
|
|
|
|
\arguments{
|
|
|
|
\item{bitmonero.dir}{.bitmonero directory where the monero.log file is.}
|
|
|
|
|
2024-04-28 23:51:01 +00:00
|
|
|
\item{output.file}{Name of the output file. The file will be created in \code{bitmonero.dir}.}
|
2024-04-14 21:30:16 +00:00
|
|
|
|
|
|
|
\item{sleep}{Number of seconds to sleep between each round of collecting new peer IPs.}
|
|
|
|
|
|
|
|
\item{ping.count}{Number of times to ping each peer.}
|
2024-04-15 16:31:20 +00:00
|
|
|
|
|
|
|
\item{threads}{Override default number of threads for sending pings.}
|
2024-04-14 21:30:16 +00:00
|
|
|
}
|
|
|
|
\value{
|
|
|
|
No return value. Executes in a loop until interrupted.
|
|
|
|
}
|
|
|
|
\description{
|
|
|
|
Ping peer nodes for latency measurement
|
|
|
|
}
|
|
|
|
\examples{
|
2024-04-15 12:46:16 +00:00
|
|
|
\dontrun{
|
2024-04-14 21:30:16 +00:00
|
|
|
ping.peers()
|
|
|
|
}
|
2024-04-15 12:46:16 +00:00
|
|
|
}
|