1 2019-04-15T00:09:44 *** bitdex has quit IRC
2 2019-04-15T00:11:45 *** bitdex has joined #bitcoin-dev
3 2019-04-15T00:18:27 *** cybrNaut has quit IRC
4 2019-04-15T00:34:12 *** Cory has quit IRC
5 2019-04-15T00:36:22 *** Cory has joined #bitcoin-dev
6 2019-04-15T00:40:39 *** frank1e has quit IRC
7 2019-04-15T01:06:59 *** spinza has quit IRC
8 2019-04-15T01:19:59 *** bitdex has quit IRC
9 2019-04-15T01:26:28 *** spinza has joined #bitcoin-dev
10 2019-04-15T03:18:50 *** frank1e has joined #bitcoin-dev
11 2019-04-15T03:25:02 *** fatalhalt has quit IRC
12 2019-04-15T04:22:47 *** bitdex has joined #bitcoin-dev
13 2019-04-15T04:33:30 *** segy has quit IRC
14 2019-04-15T04:40:10 *** segy has joined #bitcoin-dev
15 2019-04-15T04:43:44 *** bitdex has quit IRC
16 2019-04-15T04:44:05 *** bitdex has joined #bitcoin-dev
17 2019-04-15T04:55:15 *** CubicEarth has joined #bitcoin-dev
18 2019-04-15T05:06:47 *** face has quit IRC
19 2019-04-15T05:26:09 *** frank1e has quit IRC
20 2019-04-15T05:37:09 *** DeanGuss has joined #bitcoin-dev
21 2019-04-15T05:41:11 *** face has joined #bitcoin-dev
22 2019-04-15T05:42:07 *** bralyclow has joined #bitcoin-dev
23 2019-04-15T06:00:40 *** face has quit IRC
24 2019-04-15T06:03:16 *** StopAndDecrypt_ has joined #bitcoin-dev
25 2019-04-15T06:04:14 *** StopAndDecrypt has quit IRC
26 2019-04-15T06:31:23 *** StopAndDecrypt_ has quit IRC
27 2019-04-15T07:05:34 *** DeanGuss has quit IRC
28 2019-04-15T07:05:56 *** DeanGuss has joined #bitcoin-dev
29 2019-04-15T07:23:30 *** wildermind has joined #bitcoin-dev
30 2019-04-15T07:49:34 *** czaanja_ has joined #bitcoin-dev
31 2019-04-15T07:50:53 *** StopAndDecrypt has joined #bitcoin-dev
32 2019-04-15T08:05:35 *** setpill has joined #bitcoin-dev
33 2019-04-15T08:10:49 *** Guyver2 has joined #bitcoin-dev
34 2019-04-15T08:40:51 *** ghost43 has quit IRC
35 2019-04-15T08:46:10 *** face has joined #bitcoin-dev
36 2019-04-15T08:46:35 *** ghost43 has joined #bitcoin-dev
37 2019-04-15T08:51:03 *** ghost43 has quit IRC
38 2019-04-15T08:57:58 *** ghost43 has joined #bitcoin-dev
39 2019-04-15T09:42:37 *** ghost43 has quit IRC
40 2019-04-15T10:47:23 *** ghost43 has joined #bitcoin-dev
41 2019-04-15T10:53:50 *** spinza has quit IRC
42 2019-04-15T11:01:22 *** spinza has joined #bitcoin-dev
43 2019-04-15T11:13:04 *** wildermind has quit IRC
44 2019-04-15T11:47:07 *** rev_strangehope has quit IRC
45 2019-04-15T11:47:22 *** bralyclo_ has joined #bitcoin-dev
46 2019-04-15T11:49:13 *** rev_strangehope has joined #bitcoin-dev
47 2019-04-15T11:50:55 *** bralyclow has quit IRC
48 2019-04-15T12:01:27 *** Guyver2 has quit IRC
49 2019-04-15T12:29:33 *** spinza has quit IRC
50 2019-04-15T12:32:03 *** dermoth has quit IRC
51 2019-04-15T12:32:29 *** dermoth has joined #bitcoin-dev
52 2019-04-15T13:08:08 *** spinza has joined #bitcoin-dev
53 2019-04-15T13:26:04 *** setpill has quit IRC
54 2019-04-15T13:31:58 *** promag has joined #bitcoin-dev
55 2019-04-15T13:36:21 *** promag has quit IRC
56 2019-04-15T13:54:55 *** bitdex has quit IRC
57 2019-04-15T14:22:15 *** bugs_ has joined #bitcoin-dev
58 2019-04-15T14:36:49 *** Guyver2 has joined #bitcoin-dev
59 2019-04-15T15:08:57 *** drexl has joined #bitcoin-dev
60 2019-04-15T15:12:41 *** bralyclo_ has quit IRC
61 2019-04-15T15:13:05 *** bralyclow has joined #bitcoin-dev
62 2019-04-15T15:28:20 *** Dean_Guss has joined #bitcoin-dev
63 2019-04-15T15:29:17 *** DeanGuss has quit IRC
64 2019-04-15T15:38:32 *** bralyclow has joined #bitcoin-dev
65 2019-04-15T16:54:12 *** niftynei has quit IRC
66 2019-04-15T16:54:42 *** niftynei has joined #bitcoin-dev
67 2019-04-15T17:01:55 *** owowo has quit IRC
68 2019-04-15T17:07:12 *** owowo has joined #bitcoin-dev
69 2019-04-15T17:23:51 *** bitbee has quit IRC
70 2019-04-15T17:26:08 *** dermoth has quit IRC
71 2019-04-15T17:26:32 *** dermoth has joined #bitcoin-dev
72 2019-04-15T17:34:35 *** bitbee has joined #bitcoin-dev
73 2019-04-15T17:48:58 *** treehug88 has joined #bitcoin-dev
74 2019-04-15T17:50:45 *** strk has joined #bitcoin-dev
75 2019-04-15T17:51:16 <strk> how can I check if network is working ? bitcoin-qt is stuck at "calculating progress increase per hour" and estimated time left
76 2019-04-15T17:53:05 <bugs_> depending on your version of bitcoin core you can click on help and then
77 2019-04-15T17:53:22 <bugs_> debug window - then you can look at the network traffic tab or the peers tab
78 2019-04-15T17:53:41 <strk> Peer=83 is stalling block download, disconnecting
79 2019-04-15T17:53:46 <strk> found in debug.log, in data dir
80 2019-04-15T17:54:28 <strk> ok, just 2 peers, maybe that's the problem
81 2019-04-15T17:54:41 <bugs_> theoretically you should have connections from other peers and receiving
82 2019-04-15T17:54:43 <bugs_> data from them
83 2019-04-15T17:54:59 <strk> the number of peers keeps being very low
84 2019-04-15T17:55:06 <strk> down to 1, then grows up to 5 then back to 1
85 2019-04-15T17:55:12 <bugs_> thats odd
86 2019-04-15T17:55:15 <strk> debug.log contains these socket recv error Connection reset by peer (104)
87 2019-04-15T17:55:30 <strk> can it be the network I'm in enabled some automatic firewall to drop packets to weird ports ?
88 2019-04-15T17:55:46 <bugs_> yes i'd check into that
89 2019-04-15T17:55:54 <bugs_> bitcoin uses port 8333
90 2019-04-15T17:55:58 <bugs_> tcp
91 2019-04-15T17:56:05 <strk> is it enough to be able to do outbound connections to 8333 ?
92 2019-04-15T17:56:10 <bugs_> yes
93 2019-04-15T17:56:31 <strk> netcat shows a success connecting there
94 2019-04-15T17:56:42 *** makkiato has joined #bitcoin-dev
95 2019-04-15T17:56:45 <strk> but I dunno if communication is successful after the initial connection
96 2019-04-15T17:56:57 <makkiato> Hello
97 2019-04-15T17:56:58 <strk> I get lots of these: Peer=122 is stalling block download, disconnecting
98 2019-04-15T17:57:07 <strk> 2019-04-15T17:56:54Z New outbound peer connected: version: 70015, blocks=571769, peer=127
99 2019-04-15T17:57:13 <strk> 2019-04-15T17:56:57Z Peer=127 is stalling block download, disconnecting
100 2019-04-15T17:57:19 <strk> it doesn't last much (3 seconds)
101 2019-04-15T17:57:39 <strk> can I try using a different port ?
102 2019-04-15T17:57:57 <strk> and, can I limit the traffic to avoid automatic firewall rules ?
103 2019-04-15T17:58:27 <bugs_> can't use a different port unless you have an external proxy
104 2019-04-15T17:58:50 <bugs_> it sounds like an active firewall that is letting a connection happen so
105 2019-04-15T17:59:05 <bugs_> that it can id the traffic, determines it is bitcoin, and blocks it
106 2019-04-15T17:59:30 <strk> I guess I could setup a proxy
107 2019-04-15T17:59:38 <makkiato> Does anybody here have some experience with the Python library Coincurve (for libsecp256k)?
108 2019-04-15T17:59:50 <strk> never did it though so not sure how easy it is (SOCKS5 proxy on a debian server..)
109 2019-04-15T18:00:20 <bugs_> it would need to be a proxy outside of the culprit firewall
110 2019-04-15T18:00:41 <bugs_> it is also possible that your uplink is saturated with some other traffic
111 2019-04-15T18:01:01 <strk> is socks so easy as an ssh tunnel ?
112 2019-04-15T18:01:07 <strk> (yes, the server is outside)
113 2019-04-15T18:01:31 <bugs_> you mentioned netcat - just as an experiment i might use netcat to do it
114 2019-04-15T18:02:34 <bugs_> if you find that it works then you could look at a proxy with xinetd
115 2019-04-15T18:02:36 <bugs_> or ssh
116 2019-04-15T18:03:41 <strk> how would I use netcat ? sorry I dunno how a socks5 proxy works
117 2019-04-15T18:04:39 <strk> the ssh tunnel seems to work
118 2019-04-15T18:04:54 <bugs_> good - you could google for "netcat proxy" and see several examples
119 2019-04-15T18:05:49 <strk> ssh would also ensure no tool can tell what's in the tunnel
120 2019-04-15T18:06:11 <strk> now for the network limiting part...
121 2019-04-15T18:06:16 <bugs_> yes if the problem is indeed an active firewall and the active firewall
122 2019-04-15T18:06:29 <bugs_> is smart enough it will still block it
123 2019-04-15T18:06:43 <strk> so, trickle to throttle it
124 2019-04-15T18:07:11 <bugs_> well do this in steps - first verify that the proxy solves your immediate
125 2019-04-15T18:07:15 <bugs_> problem - it may not
126 2019-04-15T18:07:59 <strk> proxy did solve it
127 2019-04-15T18:08:04 <strk> (ssh tunnel)
128 2019-04-15T18:08:24 <strk> I can now see the network monitor filling up, and "calculating" is gone (now bitcoin-qt tells me it'll take a few hours)
129 2019-04-15T18:08:25 <bugs_> nice - so some firewall upstream may have sent a nasty gram to your network
130 2019-04-15T18:08:26 <bugs_> admin
131 2019-04-15T18:09:36 <strk> so now, with trickle I limited ssh tunnel bandwidth to 100 Kb/s
132 2019-04-15T18:09:52 <strk> and bitcoin-qt estimates 2 weeks to be in sync
133 2019-04-15T18:09:53 *** dqx_ has joined #bitcoin-dev
134 2019-04-15T18:10:11 <bugs_> after it gets going that may drop a bit
135 2019-04-15T18:10:41 <strk> how about incoming connections ? could that possibly be done with this setup ?
136 2019-04-15T18:11:28 <bugs_> i don't think so
137 2019-04-15T18:11:43 <bugs_> it would probably be best to avoid that if you are throttling your bandwidth
138 2019-04-15T18:12:22 <bugs_> you would tie up a slot on any clients that manage to get connected to you
139 2019-04-15T18:12:23 <strk> yeah, maybe that'd also avoid receiving "channel 4: open failed: connect failed: Connection refused" from ssh
140 2019-04-15T18:13:52 <strk> uhm, didn't last much, it looks like the tunnel got blocked
141 2019-04-15T18:13:58 <bugs_> wow
142 2019-04-15T18:14:00 <strk> no, it's still there, just network bursts
143 2019-04-15T18:14:02 <bugs_> or got stuck
144 2019-04-15T18:14:07 <strk> yep, got stuck :)
145 2019-04-15T18:14:26 <bugs_> that is starting to sound more like uplink congestion rather than active
146 2019-04-15T18:14:27 <bugs_> firewall
147 2019-04-15T18:14:35 <bugs_> is someone running torrents on your link ?
148 2019-04-15T18:15:02 <strk> ok, up to speed: 5 stable peers now
149 2019-04-15T18:15:16 <strk> uhm, I dubt it
150 2019-04-15T18:15:26 <strk> but didn't try at sniffing the net
151 2019-04-15T18:15:37 <bugs_> bitcoin full nodes share peer lists and a node likes to go to 8 connections
152 2019-04-15T18:16:00 <strk> mine is down to 3 now :(
153 2019-04-15T18:16:06 <bugs_> is your uplink wireless?
154 2019-04-15T18:16:13 *** bralyclow2 has joined #bitcoin-dev
155 2019-04-15T18:16:17 <strk> yes
156 2019-04-15T18:16:42 <bugs_> perhaps that is where the congestion is - maybe the channel you are using
157 2019-04-15T18:16:51 <bugs_> is filled with other access point traffic
158 2019-04-15T18:17:21 <strk> good point, well but as long as it works I'm happy for it to go up and down
159 2019-04-15T18:17:34 <strk> the point is that when I first joined the client was stuck for some time (with that "calculating" line)
160 2019-04-15T18:17:40 <strk> and all those timeouts
161 2019-04-15T18:17:46 *** bralyclow2 has quit IRC
162 2019-04-15T18:17:48 <strk> but.. what do you mean by uplink ?
163 2019-04-15T18:17:58 <strk> the server I'm tunneling TO is not wireless connected
164 2019-04-15T18:18:02 <strk> the maching running bitcoin-qt is
165 2019-04-15T18:18:14 <bugs_> well if you worked at a company you'd have an "uplink" to an ISP
166 2019-04-15T18:18:26 <bugs_> or at home you'd have some kind of a router or modem going to your ISP
167 2019-04-15T18:18:32 <strk> this is an university
168 2019-04-15T18:18:32 <bugs_> that is what i mean by the uplink
169 2019-04-15T18:18:40 <strk> so the uplink should be cable
170 2019-04-15T18:18:46 <strk> but from laptop to university router that's wifi
171 2019-04-15T18:18:58 *** ghost43 has quit IRC
172 2019-04-15T18:19:15 <bugs_> yep - usually a unversity will have an active firewall before their
173 2019-04-15T18:19:22 <bugs_> uplink to the rest of the internet
174 2019-04-15T18:19:36 <bugs_> they will also usually have a guest wireless (which is throttled) and
175 2019-04-15T18:19:47 <bugs_> an authenticated wireless which is less throttled
176 2019-04-15T18:20:15 <bugs_> but in a dorm situation you could have lots of clients using the same
177 2019-04-15T18:20:27 <bugs_> access point and causing the situation you are seeing
178 2019-04-15T18:21:12 <bugs_> each person may have 3 or 4 devices on them - their phone, their watch,
179 2019-04-15T18:21:13 <strk> 5 weeks estimation now... NOT getting better :)
180 2019-04-15T18:21:21 <bugs_> their laptop, and their ipad
181 2019-04-15T18:21:31 <strk> yes, this is exactly the situation
182 2019-04-15T18:21:44 <strk> I could try borrowing the cable, but I'm not sure the switch would let me in
183 2019-04-15T18:21:48 <strk> other than changing the mac
184 2019-04-15T18:21:50 <bugs_> making university wireless too messy to use
185 2019-04-15T18:22:17 <bugs_> you could try syncing up later at night and early morning
186 2019-04-15T18:23:18 <bugs_> if you have a 4G phone sometimes you can use it as a usb connected bridege
187 2019-04-15T18:23:27 <bugs_> bridge to the internet and bypass the university network
188 2019-04-15T18:31:04 *** MRW has quit IRC
189 2019-04-15T18:43:22 <strk> does -prune=1024 reduces disk size requiements ?
190 2019-04-15T18:54:51 *** agricocb has quit IRC
191 2019-04-15T19:03:44 <makkiato> Does anybody here have some experience with the Python library Coincurve (for libsecp256k)? Or even more generally libsecp256c (C library)?
192 2019-04-15T19:13:15 *** Dean_Guss has quit IRC
193 2019-04-15T19:34:11 *** droark has quit IRC
194 2019-04-15T19:40:01 *** O01eg has joined #bitcoin-dev
195 2019-04-15T20:00:36 *** Tyklol has joined #bitcoin-dev
196 2019-04-15T20:12:38 *** promag has joined #bitcoin-dev
197 2019-04-15T20:33:19 *** Belxjander has quit IRC
198 2019-04-15T20:34:07 *** Belxjander has joined #bitcoin-dev
199 2019-04-15T20:44:31 *** promag has quit IRC
200 2019-04-15T20:45:14 *** agricocb has joined #bitcoin-dev
201 2019-04-15T20:48:40 *** cybrNaut has joined #bitcoin-dev
202 2019-04-15T20:54:59 *** promag has joined #bitcoin-dev
203 2019-04-15T21:00:04 *** Dizzle has joined #bitcoin-dev
204 2019-04-15T21:03:19 *** drexl has quit IRC
205 2019-04-15T21:30:36 *** makkiato has quit IRC
206 2019-04-15T21:33:10 *** bugs_ has quit IRC
207 2019-04-15T21:33:24 *** promag has quit IRC
208 2019-04-15T21:33:48 *** Guyver2 has quit IRC
209 2019-04-15T21:38:13 *** agricocb has quit IRC
210 2019-04-15T21:40:23 *** Dizzle has quit IRC
211 2019-04-15T22:02:25 *** makkiato has joined #bitcoin-dev
212 2019-04-15T22:07:00 *** makkiato has quit IRC
213 2019-04-15T22:13:37 *** agricocb has joined #bitcoin-dev
214 2019-04-15T22:31:05 *** alexgr has quit IRC
215 2019-04-15T22:35:36 *** spinza has quit IRC
216 2019-04-15T22:53:44 *** spinza has joined #bitcoin-dev
217 2019-04-15T23:29:01 *** bralyclo_ has joined #bitcoin-dev
218 2019-04-15T23:32:08 *** bralyclow has quit IRC
219 2019-04-15T23:42:18 *** bralyclo_ has quit IRC
220 2019-04-15T23:42:44 *** bralyclow has joined #bitcoin-dev