Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ rpc_port
Function
rpc_port
test/functional/test_framework/util.py:347–348 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
345
346
347
def
rpc_port(n):
348
return
PORT_MIN + PORT_RANGE + n + (MAX_NODES * PortSeed.n) % (PORT_RANGE - 1 - MAX_NODES)
349
350
351
def
rpc_url(datadir, i, chain, rpchost):
Callers
6
run_test
Method · 0.90
run_test
Method · 0.90
run_test
Method · 0.90
setup_network
Method · 0.90
rpc_url
Function · 0.70
write_config
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected