Build data and AI skills | 50% off

Last chance! 50% off unlimited learning

Sale ends in


gethr (version 0.1.0)

net_peerCount: Number of peers connected.

Description

net_peerCount returns the number of peers currently connected to the client.

Usage

net_peerCount()

Arguments

Value

Integer - Number of connected peers.

See Also

Other net functions: gethr, net_listening, net_version

Examples

Run this code
# NOT RUN {
net_peerCount()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab