Skip to content

Commit

Permalink
Garlicoin: update seed list from dns seeder (#19)
Browse files Browse the repository at this point in the history
* Seed list update and improvements
  • Loading branch information
ryan-shaw authored and aaruel committed Jan 23, 2018
1 parent 87b04bc commit ddd42a1
Show file tree
Hide file tree
Showing 4 changed files with 118 additions and 443 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,4 @@ test/cache/*

libbitcoinconsensus.pc
contrib/devtools/split-debug.sh
.vscode
6 changes: 3 additions & 3 deletions contrib/seeds/makeseeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

MAX_SEEDS_PER_ASN=2

MIN_BLOCKS = 337600
MIN_BLOCKS = 4500

# These are hosts that have been observed to be behaving strangely (e.g.
# aggressively connecting to every node).
Expand All @@ -30,7 +30,7 @@
PATTERN_IPV4 = re.compile(r"^((\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})):(\d+)$")
PATTERN_IPV6 = re.compile(r"^\[([0-9a-z:]+)\]:(\d+)$")
PATTERN_ONION = re.compile(r"^([abcdefghijklmnopqrstuvwxyz234567]{16}\.onion):(\d+)$")
PATTERN_AGENT = re.compile(r"^(/Satoshi:0.13.(0|1|2|99)/|/GarlicoinCore:0.13.(0|1|2|99)/|/GarlicoinCore:0.14.(0|1|2|99)/)$")
PATTERN_AGENT = re.compile(r"^(/GarlicoinCore:0.16.0.(0|1|2|99)/)$")

def parseline(line):
sline = line.split()
Expand Down Expand Up @@ -73,7 +73,7 @@ def parseline(line):
if sline[1] == 0:
return None
# Extract uptime %.
uptime30 = float(sline[7][:-1])
uptime30 = float(sline[3][:-1]) # FIXME: Temporarily check 3hr time (change back to 7 in ~30 days)
# Extract Unix timestamp of last success.
lastsuccess = int(sline[2])
# Extract protocol version.
Expand Down
277 changes: 57 additions & 220 deletions contrib/seeds/nodes_main.txt
Original file line number Diff line number Diff line change
@@ -1,220 +1,57 @@
5.39.64.7:42069
5.45.69.13:42069
5.100.249.197:42069
5.228.7.146:42069
5.255.90.234:42069
23.28.128.65:42069
23.94.28.182:9335
23.236.100.11:42069
24.214.54.179:10333
24.220.158.151:42069
27.96.51.15:42069
31.131.20.85:42069
31.165.50.156:42069
34.193.68.10:42069
37.24.124.177:42069
37.61.209.144:42069
37.143.8.102:28333
37.157.183.16:42069
37.221.198.57:42069
42.51.12.220:42069
42.51.153.80:8332
45.55.176.26:42069
45.63.93.75:42069
45.76.172.211:42069
46.23.85.25:42069
46.32.50.98:42069
46.166.129.186:42069
47.54.207.91:42069
47.55.95.227:42069
47.88.152.141:42069
47.90.120.157:42069
47.93.132.3:42069
47.187.16.175:42069
51.7.77.185:42069
51.15.64.166:42069
52.7.135.69:42069
52.63.12.109:42069
54.149.206.22:18891
62.106.16.111:42069
62.106.27.219:42069
62.112.11.188:42069
62.152.54.44:42069
62.232.136.243:42069
63.224.55.74:42069
63.231.239.212:42069
65.70.19.49:42069
66.172.104.80:42069
66.196.5.33:42069
68.63.8.36:42069
69.175.49.226:42069
71.120.188.82:42069
72.135.235.246:42069
72.180.107.193:42069
74.77.80.44:42069
76.12.247.45:42069
76.92.136.75:42069
76.169.57.92:42069
77.77.46.250:42069
78.31.66.170:42069
78.58.154.22:42069
78.158.132.14:42069
80.237.235.101:42069
80.237.240.102:42069
81.4.103.48:42069
81.27.96.37:42069
82.192.64.136:42069
82.208.99.13:42069
83.78.230.30:42069
83.83.0.100:42069
83.162.196.192:42069
83.212.97.34:42069
84.50.242.136:42069
84.215.80.43:42069
84.234.52.190:37700
85.21.144.163:42069
85.21.144.226:42069
85.25.74.148:42069
85.25.138.71:42069
85.105.196.209:42069
85.143.137.206:42069
85.194.238.130:42069
85.234.150.199:42069
86.14.143.176:42069
87.79.94.221:42069
87.236.27.155:42069
88.84.24.206:10333
88.87.78.126:42069
88.196.136.31:42069
88.202.202.221:42069
88.208.3.82:42069
89.22.104.48:42069
89.22.151.211:42069
89.98.140.88:42069
89.212.75.6:42069
89.252.28.26:42069
90.177.48.104:42069
91.109.112.90:42069
91.109.112.94:42069
91.152.121.68:42069
91.205.217.142:42069
91.226.10.90:42069
91.228.155.63:42069
91.240.141.175:42069
93.100.51.48:42069
93.190.140.198:42069
94.31.170.49:42069
95.174.101.14:42069
95.211.138.88:42069
95.213.143.13:42069
95.213.210.141:42069
96.42.248.149:42069
96.127.175.194:42069
97.81.152.130:42069
97.107.188.177:42069
101.100.174.138:42069
103.3.188.189:42069
103.7.32.40:42069
103.80.168.57:42069
103.82.56.25:42069
103.250.4.74:41888
104.35.96.255:42069
107.150.45.210:42069
107.155.133.230:42069
107.182.235.53:42069
107.197.216.228:42069
108.59.7.214:42069
108.59.9.14:42069
109.61.102.5:42069
109.111.178.187:10333
109.169.71.17:42069
109.201.183.125:42069
119.9.116.68:42069
119.28.61.201:42069
119.28.70.144:42069
121.14.154.49:42069
121.42.184.8:42069
123.1.170.46:42069
124.190.12.86:42069
130.240.22.202:42069
134.119.179.234:42069
139.59.180.15:42069
139.162.57.21:42069
140.186.42.44:42069
142.4.208.32:42069
143.89.111.111:42069
144.76.40.144:42069
144.172.71.138:42069
148.251.44.134:42069
155.4.15.52:42069
155.207.60.48:42069
158.129.212.251:42069
162.213.252.46:42069
162.221.12.116:10333
166.70.94.106:42069
169.44.34.88:42069
171.25.221.40:42069
173.51.177.2:42069
173.79.196.160:42069
173.80.190.86:42069
173.209.44.34:42069
173.255.204.124:42069
174.49.248.188:42069
178.15.158.237:42069
178.20.55.234:42069
178.155.51.54:42069
178.238.225.168:42069
183.111.10.67:42069
184.164.147.82:21333
185.8.165.150:10333
185.21.223.231:42069
185.50.213.124:42069
185.103.243.133:42069
185.106.122.192:42069
185.141.24.127:42069
185.163.125.67:42069
185.194.140.155:42069
188.182.109.216:42069
188.214.30.138:42069
190.112.242.178:42069
191.101.236.222:42069
192.3.165.30:42069
192.187.116.242:42069
193.33.170.127:42069
193.46.80.101:42069
193.58.196.212:42069
193.146.41.46:42069
194.24.182.27:42069
194.63.143.197:42069
194.79.8.36:10333
194.79.8.37:10333
194.135.88.142:42069
195.3.254.48:42069
195.132.61.82:42069
195.166.157.97:42069
195.169.138.2:42069
195.225.230.28:10333
198.48.216.49:9933
198.98.48.192:42069
199.204.185.218:42069
204.111.241.195:42069
209.41.186.78:42069
209.73.142.226:42069
209.126.107.166:42069
210.56.60.26:42069
211.22.29.34:19262
211.149.161.104:42069
211.149.224.234:42069
212.1.101.68:10333
212.47.252.13:42069
212.93.226.90:42069
212.160.237.44:42069
213.136.71.143:42069
216.164.138.13:42069
217.20.130.72:42069
217.112.251.21:42069
218.161.47.61:42069
219.113.244.52:42069
219.117.248.55:42069
221.141.3.12:42069
221.141.3.26:42069
24.141.212.81:42069
24.179.194.52:42069
46.12.213.139:42069
54.86.43.156:42069
60.224.194.44:42069
65.184.143.115:42069
67.84.101.248:42069
67.246.230.43:42069
68.109.143.150:42069
68.180.86.186:42069
69.124.188.249:42069
70.76.59.119:42069
70.123.201.85:42069
73.166.85.116:42069
74.131.173.107:42069
74.215.240.50:42069
76.26.39.73:42069
76.189.59.9:42069
80.192.95.126:42069
82.35.203.247:42069
83.216.157.250:42069
84.172.43.2:42069
84.210.79.122:42069
86.147.77.84:42069
86.164.150.168:42069
87.52.26.69:42069
91.67.20.157:42069
93.94.83.44:42069
95.150.48.234:42069
96.27.115.98:42069
97.121.123.112:42069
104.222.112.73:42069
107.15.75.176:42069
115.134.131.171:42069
136.58.71.216:42069
136.61.9.22:42069
138.68.253.123:42069
144.132.245.170:42069
144.217.204.104:42069
146.229.242.125:42069
165.227.99.236:42069
169.234.227.95:42069
172.220.68.40:42069
173.32.139.71:42069
173.48.98.236:42069
173.72.2.248:42069
174.19.139.237:42069
184.152.30.175:42069
198.84.183.220:42069
198.255.251.15:42069
203.173.39.251:42069
207.172.180.205:42069
209.250.224.113:42069
212.159.20.138:42069
216.49.12.20:42069
216.71.3.1:42069
217.182.85.104:42069

0 comments on commit ddd42a1

Please sign in to comment.