MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetDefaultPort

Method GetDefaultPort

src/chainparams.h:88–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 const Consensus::Params& GetConsensus() const { return consensus; }
87 const CMessageHeader::MessageStartChars& MessageStart() const { return pchMessageStart; }
88 uint16_t GetDefaultPort() const { return nDefaultPort; }
89 uint16_t GetDefaultPort(Network net) const
90 {
91 return net == NET_I2P ? I2P_SAM31_PORT : GetDefaultPort();

Callers 11

add_onion_cbMethod · 0.80
auth_cbMethod · 0.80
SetupServerArgsFunction · 0.80
AppInitMainFunction · 0.80
GetListenPortFunction · 0.80
ConnectNodeMethod · 0.80
ThreadDNSAddressSeedMethod · 0.80
GetAddedNodeInfoMethod · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80
ipFunction · 0.80
BOOST_AUTO_TEST_CASEFunction · 0.80

Calls 2

SetSpecialMethod · 0.80
GetNetworkMethod · 0.80

Tested by 3

BOOST_AUTO_TEST_CASEFunction · 0.64
ipFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64