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 Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/xjail_spn_util.h.

    13     13   
    14     14   static void addStaticNodes(std::map<std::string, std::string> & mapArgs_node, 
    15     15   	std::map<std::string, std::vector<std::string>> & mapMultiArgs_node)
    16     16   {
    17     17   	const std::string & key = "-addnode";
    18     18   	const std::vector<std::string> & addrs = {
    19     19   		"spn-node39.xjail.tiv.cc", 
    20         -		"spn-node71.xjail.tiv.cc"
           20  +		"45.63.15.197", 
           21  +		"2001:19f0:5:c8c:5400:ff:fe79:637e", 
           22  +
           23  +		"spn-node71.xjail.tiv.cc", 
           24  +		"104.207.144.147", 
           25  +		"2001:19f0:9002:2ef:5400:ff:fe79:3d75" 
    21     26   	};
    22     27   	for (std::size_t i=0; i<addrs.size(); i++) {
    23     28   		mapArgs_node[key] = addrs[i];
    24     29   		mapMultiArgs_node[key].push_back(addrs[i]);
    25     30   	}
    26     31   }
    27     32   
    28     33   } // namespace xjail
    29     34   
    30     35   #endif