mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 15:39:05 +01:00
Merge #11301: add m_added_nodes to connman options
35e5c2269remove unused IsArgSet check (Marko Bencun)605918272add m_added_nodes to connman options (Marko Bencun) Pull request description: Tree-SHA512: ca4527a964dcda816b32d335e7fe4d0d8a668a83fbc5e4707ee452d00a7089fa59a88c9f2b1ecdf50e673f2a63fc364b23979e0153f91136525eceec10c2ede2
This commit is contained in:
@@ -147,6 +147,7 @@ public:
|
||||
std::vector<CService> vBinds, vWhiteBinds;
|
||||
bool m_use_addrman_outgoing = true;
|
||||
std::vector<std::string> m_specified_outgoing;
|
||||
std::vector<std::string> m_added_nodes;
|
||||
};
|
||||
|
||||
void Init(const Options& connOptions) {
|
||||
@@ -164,6 +165,7 @@ public:
|
||||
nMaxOutboundTimeframe = connOptions.nMaxOutboundTimeframe;
|
||||
nMaxOutboundLimit = connOptions.nMaxOutboundLimit;
|
||||
vWhitelistedRange = connOptions.vWhitelistedRange;
|
||||
vAddedNodes = connOptions.m_added_nodes;
|
||||
}
|
||||
|
||||
CConnman(uint64_t seed0, uint64_t seed1);
|
||||
|
||||
Reference in New Issue
Block a user