Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/lightning
/ validate_port
Function
validate_port
plugins/wss-proxy-plugin/src/options.rs:130–135 ·
view source on GitHub ↗
(port: u16)
Source
from the content-addressed store, hash-verified
128
}
129
130
fn validate_port(port: u16) -> bool {
131
if (1024..=65535).contains(&port) {
132
return true;
133
}
134
false
135
}
Callers
1
parse_options
Function · 0.85
Calls
1
contains
Method · 0.80
Tested by
no test coverage detected