|
|
@ -147,6 +147,7 @@ public: |
|
|
|
std::vector<CService> vBinds, vWhiteBinds; |
|
|
|
std::vector<CService> vBinds, vWhiteBinds; |
|
|
|
bool m_use_addrman_outgoing = true; |
|
|
|
bool m_use_addrman_outgoing = true; |
|
|
|
std::vector<std::string> m_specified_outgoing; |
|
|
|
std::vector<std::string> m_specified_outgoing; |
|
|
|
|
|
|
|
std::vector<std::string> m_added_nodes; |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
void Init(const Options& connOptions) { |
|
|
|
void Init(const Options& connOptions) { |
|
|
@ -164,6 +165,7 @@ public: |
|
|
|
nMaxOutboundTimeframe = connOptions.nMaxOutboundTimeframe; |
|
|
|
nMaxOutboundTimeframe = connOptions.nMaxOutboundTimeframe; |
|
|
|
nMaxOutboundLimit = connOptions.nMaxOutboundLimit; |
|
|
|
nMaxOutboundLimit = connOptions.nMaxOutboundLimit; |
|
|
|
vWhitelistedRange = connOptions.vWhitelistedRange; |
|
|
|
vWhitelistedRange = connOptions.vWhitelistedRange; |
|
|
|
|
|
|
|
vAddedNodes = connOptions.m_added_nodes; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
CConnman(uint64_t seed0, uint64_t seed1); |
|
|
|
CConnman(uint64_t seed0, uint64_t seed1); |
|
|
|