Neptune-Crypto/neptune-core

Parse URLs for CLI Argument `--peers`

Aperta

#255 aperta il 22 nov 2024

 (1 commento) (0 reazioni) (0 assegnatari)Rust (45 fork)auto 404
good first issuelow priorityminornetworking

Metriche repository

Star
 (110 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

CLI argument --peers takes socket addresses, which are IPv4 or IPv6 addresses (with optional ports). Add URLs.

$ neptune-core --peers www.github.com:9798
error: invalid value 'www.github.com:9798' for '--peers <PEERS>': invalid socket address syntax

For more information, try '--help'.

Guida contributor