Xjail/Spartancoin Project

Check-in [1cd24ddfd5]
Login
Overview
Comment:expose added node IPs
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:1cd24ddfd55f55f6cf234aa5409253b36eb7a860f2ad9f3a554436b5146e6548
User & Date: xjail 2018-02-09 06:57:16
Context
2019-01-20
20:07
merge from openssl-1.1.1, boost-1.66.0 check-in: 4d74619725 user: xjail tags: master, trunk
2018-02-14
07:08
Create new branch named "boost-1.66.0" check-in: fa03098913 user: xjail tags: boost-1.66.0
2018-02-09
06:57
expose added node IPs check-in: 1cd24ddfd5 user: xjail tags: master, trunk
2017-11-08
04:28
use MINIUPNPC_API_VERSION check-in: dd5b35169d user: xjail tags: master, trunk
Changes
Hide Diffs Unified Diffs Show Whitespace Changes Patch

Changes to src/xjail_spn_util.h.

13
14
15
16
17
18
19



20


21
22
23
24
25
26
27
28
29
30

static void addStaticNodes(std::map<std::string, std::string> & mapArgs_node, 
	std::map<std::string, std::vector<std::string>> & mapMultiArgs_node)
{
	const std::string & key = "-addnode";
	const std::vector<std::string> & addrs = {
		"spn-node39.xjail.tiv.cc", 



		"spn-node71.xjail.tiv.cc"


	};
	for (std::size_t i=0; i<addrs.size(); i++) {
		mapArgs_node[key] = addrs[i];
		mapMultiArgs_node[key].push_back(addrs[i]);
	}
}

} // namespace xjail

#endif







>
>
>
|
>
>










13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

static void addStaticNodes(std::map<std::string, std::string> & mapArgs_node, 
	std::map<std::string, std::vector<std::string>> & mapMultiArgs_node)
{
	const std::string & key = "-addnode";
	const std::vector<std::string> & addrs = {
		"spn-node39.xjail.tiv.cc", 
		"45.63.15.197", 
		"2001:19f0:5:c8c:5400:ff:fe79:637e", 

		"spn-node71.xjail.tiv.cc", 
		"104.207.144.147", 
		"2001:19f0:9002:2ef:5400:ff:fe79:3d75" 
	};
	for (std::size_t i=0; i<addrs.size(); i++) {
		mapArgs_node[key] = addrs[i];
		mapMultiArgs_node[key].push_back(addrs[i]);
	}
}

} // namespace xjail

#endif