1 2016-04-13T00:00:01  *** fengling has quit IRC
  2 2016-04-13T00:40:24  *** Chris_Stewart_5 has joined #bitcoin-core-dev
  3 2016-04-13T00:53:01  *** murch has quit IRC
  4 2016-04-13T00:53:27  *** johnwhitton has joined #bitcoin-core-dev
  5 2016-04-13T01:09:03  *** TomMc has joined #bitcoin-core-dev
  6 2016-04-13T01:17:52  *** Chris_Stewart_5 has quit IRC
  7 2016-04-13T01:17:57  *** TomMc has quit IRC
  8 2016-04-13T01:23:40  *** TomMc has joined #bitcoin-core-dev
  9 2016-04-13T01:30:18  *** dermoth has quit IRC
 10 2016-04-13T01:30:43  *** TomMc has quit IRC
 11 2016-04-13T01:30:59  *** dermoth has joined #bitcoin-core-dev
 12 2016-04-13T02:00:19  *** dermoth has quit IRC
 13 2016-04-13T02:01:01  *** dermoth has joined #bitcoin-core-dev
 14 2016-04-13T02:10:05  *** fengling has joined #bitcoin-core-dev
 15 2016-04-13T02:11:54  *** xiangfu has joined #bitcoin-core-dev
 16 2016-04-13T02:16:47  *** randy-waterhouse has joined #bitcoin-core-dev
 17 2016-04-13T02:20:56  <GitHub177> [bitcoin] mrCertified opened pull request #7867: deleted Configure.ac restore bits to all networks(%master%masterCode[{rLi}]) (master...patch-1) https://github.com/bitcoin/bitcoin/pull/7867
 18 2016-04-13T02:30:36  *** Squidicuz has joined #bitcoin-core-dev
 19 2016-04-13T02:31:31  *** jtimon has quit IRC
 20 2016-04-13T02:44:19  *** mrkent has quit IRC
 21 2016-04-13T02:54:59  <GitHub91> [bitcoin] theuni opened pull request #7868: net: Split DNS resolving functionality out of net structures (master...net-cleanup-resolve) https://github.com/bitcoin/bitcoin/pull/7868
 22 2016-04-13T03:05:01  *** Alopex has quit IRC
 23 2016-04-13T03:06:07  *** Alopex has joined #bitcoin-core-dev
 24 2016-04-13T03:21:03  *** TomMc has joined #bitcoin-core-dev
 25 2016-04-13T03:21:13  *** Luke-Jr has quit IRC
 26 2016-04-13T03:23:33  *** Luke-Jr has joined #bitcoin-core-dev
 27 2016-04-13T03:25:01  *** Alopex has quit IRC
 28 2016-04-13T03:26:06  *** Alopex has joined #bitcoin-core-dev
 29 2016-04-13T03:31:24  *** johnwhitton has quit IRC
 30 2016-04-13T03:32:44  *** xiangfu has quit IRC
 31 2016-04-13T03:33:04  *** johnwhitton has joined #bitcoin-core-dev
 32 2016-04-13T03:34:38  *** mrkent has joined #bitcoin-core-dev
 33 2016-04-13T03:43:48  *** xiangfu has joined #bitcoin-core-dev
 34 2016-04-13T03:47:10  *** TomMc has quit IRC
 35 2016-04-13T03:48:46  *** mrkent has quit IRC
 36 2016-04-13T03:59:41  *** xiangfu has quit IRC
 37 2016-04-13T04:00:41  *** TomMc has joined #bitcoin-core-dev
 38 2016-04-13T04:12:58  *** Giszmo has quit IRC
 39 2016-04-13T04:23:12  *** TomMc has quit IRC
 40 2016-04-13T04:44:34  *** binns has quit IRC
 41 2016-04-13T04:44:44  *** binns has joined #bitcoin-core-dev
 42 2016-04-13T05:24:55  *** mrkent has joined #bitcoin-core-dev
 43 2016-04-13T05:31:59  *** mrkent has quit IRC
 44 2016-04-13T05:32:24  *** mrkent has joined #bitcoin-core-dev
 45 2016-04-13T05:34:36  *** PaulCapestany has quit IRC
 46 2016-04-13T05:34:57  *** PaulCapestany has joined #bitcoin-core-dev
 47 2016-04-13T05:51:30  *** Arnavion has quit IRC
 48 2016-04-13T05:52:51  *** Arnavion has joined #bitcoin-core-dev
 49 2016-04-13T05:54:36  *** fengling has quit IRC
 50 2016-04-13T06:00:06  *** dermoth has quit IRC
 51 2016-04-13T06:00:51  *** dermoth has joined #bitcoin-core-dev
 52 2016-04-13T06:22:35  *** d_t has quit IRC
 53 2016-04-13T06:23:05  *** cryptocoder has joined #bitcoin-core-dev
 54 2016-04-13T06:23:52  <cryptocoder> hi everyone
 55 2016-04-13T06:24:38  <cryptocoder> not sure if this is the right place for this, but how come the windows release for core 0.12 does not seem to have zmq support in it?
 56 2016-04-13T06:26:30  *** fengling has joined #bitcoin-core-dev
 57 2016-04-13T06:28:36  *** Ylbam has joined #bitcoin-core-dev
 58 2016-04-13T06:38:14  <jonasschnelli> cryptocoder: IIRC there where problems with static linking...
 59 2016-04-13T06:38:22  * jonasschnelli is searching the exact reason
 60 2016-04-13T06:38:50  <jonasschnelli> cryptocoder: https://github.com/bitcoin/bitcoin/issues/6681
 61 2016-04-13T06:40:21  <cryptocoder> ah! thank you jonasschnelli.  I was hoping i’m not missing something obvious
 62 2016-04-13T06:40:58  <jonasschnelli> cryptocoder: I think you could hack the depends/ build system to link it dynamic.
 63 2016-04-13T06:41:28  <jonasschnelli> Or compile it on a window machine (not cc), but not sure how this exactly works.
 64 2016-04-13T06:43:14  <jonasschnelli> sipa, wumpus: reindex with LMDB took ~11h (same machine where a full sync with master took 2h20'). Now reindexing the master levelDB node.
 65 2016-04-13T06:52:20  *** mrkent has quit IRC
 66 2016-04-13T07:03:12  *** Ylbam has quit IRC
 67 2016-04-13T07:03:26  *** cjcj_ has quit IRC
 68 2016-04-13T07:03:44  *** Ylbam has joined #bitcoin-core-dev
 69 2016-04-13T07:17:47  *** muuqwaul has quit IRC
 70 2016-04-13T07:24:50  *** paveljanik has quit IRC
 71 2016-04-13T07:45:22  *** cryptocoder has quit IRC
 72 2016-04-13T07:57:54  *** cryptocoder has joined #bitcoin-core-dev
 73 2016-04-13T08:14:11  *** jannes has joined #bitcoin-core-dev
 74 2016-04-13T08:20:01  *** Alopex has quit IRC
 75 2016-04-13T08:21:07  *** Alopex has joined #bitcoin-core-dev
 76 2016-04-13T08:42:24  *** AaronvanW has joined #bitcoin-core-dev
 77 2016-04-13T08:59:21  *** mrkent has joined #bitcoin-core-dev
 78 2016-04-13T09:12:50  <jonasschnelli> wumpus: LMDB reindex with -dbcache=9000: >11h, levelDB with -dbcache=8000: 2h25'.
 79 2016-04-13T09:13:07  <jonasschnelli> (the IBD from random peers was a couple of minutes faster... i'm confused)
 80 2016-04-13T09:13:33  <jonasschnelli> I wonder where we the performance bottleneck with LMDB is.
 81 2016-04-13T09:14:22  <sipa> that's very strange!
 82 2016-04-13T09:24:20  *** laurentmt has joined #bitcoin-core-dev
 83 2016-04-13T09:28:39  *** rgrant has joined #bitcoin-core-dev
 84 2016-04-13T09:28:54  <btcdrak> Completely backwards
 85 2016-04-13T09:30:18  *** Guyver2 has joined #bitcoin-core-dev
 86 2016-04-13T09:30:32  <sipa> especially since neither should be touched the database at all
 87 2016-04-13T09:30:42  <sipa> with such dbcache
 88 2016-04-13T09:35:43  *** mrkent has quit IRC
 89 2016-04-13T09:39:43  *** johnwhitton has quit IRC
 90 2016-04-13T09:39:48  *** AtashiCon has quit IRC
 91 2016-04-13T09:39:53  *** Arnavion3 has joined #bitcoin-core-dev
 92 2016-04-13T09:39:56  *** Arnavion3 is now known as AtashiCon
 93 2016-04-13T09:41:48  *** randy-waterhouse has quit IRC
 94 2016-04-13T09:42:01  *** arowser_ has joined #bitcoin-core-dev
 95 2016-04-13T09:43:44  *** davec_ has joined #bitcoin-core-dev
 96 2016-04-13T09:47:25  *** Bootvis_ has joined #bitcoin-core-dev
 97 2016-04-13T09:47:52  *** jannes has quit IRC
 98 2016-04-13T09:47:52  *** davec has quit IRC
 99 2016-04-13T09:47:52  *** arowser has quit IRC
100 2016-04-13T09:47:52  *** gevs has quit IRC
101 2016-04-13T09:47:53  *** [b__b] has quit IRC
102 2016-04-13T09:47:53  *** Bootvis has quit IRC
103 2016-04-13T09:51:46  *** [b__b] has joined #bitcoin-core-dev
104 2016-04-13T09:53:38  *** jannes has joined #bitcoin-core-dev
105 2016-04-13T09:53:58  *** MarcoFalke has joined #bitcoin-core-dev
106 2016-04-13T09:54:08  *** gevs has joined #bitcoin-core-dev
107 2016-04-13T10:04:27  *** fengling_ has joined #bitcoin-core-dev
108 2016-04-13T10:04:36  *** fengling has quit IRC
109 2016-04-13T10:18:06  *** AaronvanW has quit IRC
110 2016-04-13T10:23:24  *** niels_ has joined #bitcoin-core-dev
111 2016-04-13T10:26:08  *** mesmer has quit IRC
112 2016-04-13T10:27:12  *** bad_duck has quit IRC
113 2016-04-13T10:28:26  *** bad_duck has joined #bitcoin-core-dev
114 2016-04-13T10:28:46  *** fengling_ has quit IRC
115 2016-04-13T10:31:44  *** gribble has quit IRC
116 2016-04-13T10:32:31  *** go111111111 has quit IRC
117 2016-04-13T10:32:50  *** zxzzt has quit IRC
118 2016-04-13T10:33:27  *** Squidicuz has quit IRC
119 2016-04-13T10:33:27  *** gribble has joined #bitcoin-core-dev
120 2016-04-13T10:35:05  <shangzhou> sipa:http://bitcoin.sipa.be/ data is not up to date
121 2016-04-13T10:38:57  <sipa> shangzhou: thanks, fixing
122 2016-04-13T10:41:25  *** zxzzt has joined #bitcoin-core-dev
123 2016-04-13T10:54:06  <sipa> shangzhou: done
124 2016-04-13T10:58:19  *** AaronvanW has joined #bitcoin-core-dev
125 2016-04-13T11:04:02  <shangzhou> thanks @sipa
126 2016-04-13T11:04:42  <sipa> i upgraded my node to 0.12 and the new rpcauth mechanism, but didn't give the credentials to the script generating the website
127 2016-04-13T11:22:51  *** cryptapus has joined #bitcoin-core-dev
128 2016-04-13T11:29:26  *** davec_ has quit IRC
129 2016-04-13T11:30:04  *** davec has joined #bitcoin-core-dev
130 2016-04-13T11:34:36  *** cryptocoder_ has joined #bitcoin-core-dev
131 2016-04-13T11:35:52  *** fkhan_ has quit IRC
132 2016-04-13T11:36:28  *** phantomcircuit has quit IRC
133 2016-04-13T11:36:29  *** neha has quit IRC
134 2016-04-13T11:36:37  *** neha has joined #bitcoin-core-dev
135 2016-04-13T11:37:04  *** niels_ has quit IRC
136 2016-04-13T11:37:04  *** MarcoFalke has quit IRC
137 2016-04-13T11:37:04  *** cryptocoder has quit IRC
138 2016-04-13T11:37:05  *** heath has quit IRC
139 2016-04-13T11:37:05  *** cryptocoder_ is now known as cryptocoder
140 2016-04-13T11:37:31  *** fkhan_ has joined #bitcoin-core-dev
141 2016-04-13T11:38:23  *** heath has joined #bitcoin-core-dev
142 2016-04-13T11:39:29  *** niels_ has joined #bitcoin-core-dev
143 2016-04-13T11:41:33  *** phantomcircuit has joined #bitcoin-core-dev
144 2016-04-13T11:43:40  <wumpus> jonasschnelli: interesting - so a reindex is slow with LMDB, but a sync from another node is fast? Greg did a benchmark with a sync from another node and LMDB came out much faster: https://github.com/laanwj/bitcoin/tree/2016_04_mdb#x86_64  . Also wonder where the bottleneck is, but will add it to the performance results
145 2016-04-13T11:44:18  <jonasschnelli> wumpus: Both are slower. IBD and reindex.
146 2016-04-13T11:44:25  <wumpus> okay
147 2016-04-13T11:44:41  <wumpus> have you tried with the default dbcache as well?
148 2016-04-13T11:44:58  <wumpus> maybe the 5GB write transaction is what gets it
149 2016-04-13T11:44:58  <jonasschnelli> No... you mean a reindex with default dbache?
150 2016-04-13T11:45:24  <wumpus> yes. You've done so with dbcache 9000, which means it fills to about ~5gb without using the database, then it writes everything at once
151 2016-04-13T11:45:36  <wumpus> lmdb seems to shine in read latency, but it could be the big write is slow
152 2016-04-13T11:45:50  <wumpus> with such a large dbcache it never reads so that part isn't measured
153 2016-04-13T11:46:23  <jonasschnelli> wumpus: From looking at the "log speed" (very efficient benchmark technique :) ), lmdb seems to be slower during non-write operations.
154 2016-04-13T11:46:43  <jonasschnelli> But i'll do now compare a reindex with no other options.
155 2016-04-13T11:46:57  <wumpus> but with such a high dbcache, syncing from scratch, it doesn't touch the database at all
156 2016-04-13T11:47:12  <jonasschnelli> That is what is really strange...
157 2016-04-13T11:47:25  <jonasschnelli> maybe another change from your lmdb branch causes this.
158 2016-04-13T11:47:33  <jonasschnelli> Haven't had time to debug it tough.
159 2016-04-13T11:47:35  <wumpus> if everyone used dbcache=9000 we wouldn't need a database at all, we could just store the utxo set in a linear file
160 2016-04-13T11:48:41  <jonasschnelli> Indeed. Just hope there is no crash before the big write. :)
161 2016-04-13T11:48:49  <sipa> jonasschnelli: can you run with debug=bench, and show the resulting debug.log?
162 2016-04-13T11:49:01  <jonasschnelli> sipa: ah. Right. Let me do that.
163 2016-04-13T11:49:27  * jonasschnelli is shutting down bitcoind with -dbcache=9000,... waits...
164 2016-04-13T11:50:22  <sipa> --- 3 hours later ---
165 2016-04-13T11:51:10  <jonasschnelli> Hei! There is a SSD! :)
166 2016-04-13T11:51:35  <jonasschnelli> Example bench (lmdb): height: 82804, Connect total: 0.14ms [22.08s]
167 2016-04-13T11:51:48  <jonasschnelli> Verify 0 txins: 0.03ms (0.000ms/txin) [15.22s], Index writing: 0.05ms [3.19s]
168 2016-04-13T11:51:51  <jonasschnelli> Maybe index writing?
169 2016-04-13T11:52:02  <wumpus> height 82804 isn't very interesting yet :)
170 2016-04-13T11:52:14  <jonasschnelli> Yeah. Can't start top down. :)
171 2016-04-13T11:53:24  <wumpus> but anyhow in one light I like your result jonasschnelli, it would mean that leveldb is ok+ and there's no need to even spend time investigationg switching to something else
172 2016-04-13T11:54:15  <wumpus> if both sqlite and lmdb came out slower - then again Greg's benchmark showed something completely different that's curious
173 2016-04-13T11:54:50  <wumpus> you're using a SSD? don't know what his storage device was
174 2016-04-13T11:55:39  <sipa> except if lmdb's final full UTXO set dump took ~9h longer than leveldb's, i can't explain jonasschnelli's result
175 2016-04-13T11:56:15  <jonasschnelli> Yes. Lets first find out where the time/cycles is/are consumed.
176 2016-04-13T11:57:46  <jonasschnelli> wumpus: Yes. I'm using SSD. The write speed is somewhere around 1GB/s.
177 2016-04-13T11:57:46  *** niels_ has quit IRC
178 2016-04-13T12:11:18  *** muuqwaul has joined #bitcoin-core-dev
179 2016-04-13T12:13:15  *** laurentmt has quit IRC
180 2016-04-13T12:13:38  *** niels_ has joined #bitcoin-core-dev
181 2016-04-13T12:15:46  *** Chris_Stewart_5 has joined #bitcoin-core-dev
182 2016-04-13T12:27:39  *** Thireus has quit IRC
183 2016-04-13T12:30:48  *** mm_1 has quit IRC
184 2016-04-13T12:58:28  *** Giszmo has joined #bitcoin-core-dev
185 2016-04-13T13:08:56  *** arowser_ has quit IRC
186 2016-04-13T13:09:27  *** arowser has joined #bitcoin-core-dev
187 2016-04-13T13:15:34  *** cryptapus__ has joined #bitcoin-core-dev
188 2016-04-13T13:15:34  *** cryptapus__ has joined #bitcoin-core-dev
189 2016-04-13T13:18:43  *** cryptapus has quit IRC
190 2016-04-13T13:22:32  *** cryptapus__ is now known as cryptapus
191 2016-04-13T13:23:13  *** muuqwaul has quit IRC
192 2016-04-13T13:23:40  *** muuqwaul has joined #bitcoin-core-dev
193 2016-04-13T13:26:20  *** rgrant has left #bitcoin-core-dev
194 2016-04-13T13:26:27  *** muuqwaul has quit IRC
195 2016-04-13T13:26:54  *** muuqwaul has joined #bitcoin-core-dev
196 2016-04-13T13:35:03  *** sanada` has joined #bitcoin-core-dev
197 2016-04-13T13:35:23  *** cryptocoder_ has joined #bitcoin-core-dev
198 2016-04-13T13:38:37  *** harding_ has joined #bitcoin-core-dev
199 2016-04-13T13:39:44  *** windsok_ has joined #bitcoin-core-dev
200 2016-04-13T13:40:45  *** wump has joined #bitcoin-core-dev
201 2016-04-13T13:42:09  *** Amnez777- has joined #bitcoin-core-dev
202 2016-04-13T13:43:00  *** wumpus has quit IRC
203 2016-04-13T13:43:05  *** wump is now known as wumpus
204 2016-04-13T13:43:40  *** cryptocoder has quit IRC
205 2016-04-13T13:43:41  *** ryan-c has quit IRC
206 2016-04-13T13:43:41  *** sanada has quit IRC
207 2016-04-13T13:43:41  *** Amnez777 has quit IRC
208 2016-04-13T13:43:41  *** Madars has quit IRC
209 2016-04-13T13:43:41  *** harding has quit IRC
210 2016-04-13T13:43:41  *** BlueMatt has quit IRC
211 2016-04-13T13:43:41  *** windsok has quit IRC
212 2016-04-13T13:43:41  *** cryptocoder_ is now known as cryptocoder
213 2016-04-13T13:47:17  *** ryan`c has joined #bitcoin-core-dev
214 2016-04-13T13:47:45  *** muuqwaul has quit IRC
215 2016-04-13T13:48:05  *** BlueMatt has joined #bitcoin-core-dev
216 2016-04-13T13:48:07  *** ryan`c is now known as ryan-c
217 2016-04-13T13:48:09  *** muuqwaul has joined #bitcoin-core-dev
218 2016-04-13T13:50:08  *** d_t has joined #bitcoin-core-dev
219 2016-04-13T13:50:22  *** Chris_Stewart_5 has quit IRC
220 2016-04-13T13:50:27  *** Madars has joined #bitcoin-core-dev
221 2016-04-13T13:57:19  *** muuqwaul has quit IRC
222 2016-04-13T13:57:45  *** muuqwaul has joined #bitcoin-core-dev
223 2016-04-13T14:01:27  <jonasschnelli> Verify 1245 txins: 131.58ms (0.106ms/txin) [6447.02s]
224 2016-04-13T14:01:34  <jonasschnelli> Is the value in the [] the total value so far?
225 2016-04-13T14:02:44  *** wangchun has quit IRC
226 2016-04-13T14:03:06  <sipa> yes
227 2016-04-13T14:04:35  *** Chris_Stewart_5 has joined #bitcoin-core-dev
228 2016-04-13T14:05:25  <jonasschnelli> Running two hours so far. Looks like most time is consumed for verify (as expected). But still not clear why lmdb takes ~5 times longer...
229 2016-04-13T14:09:59  *** wangchun has joined #bitcoin-core-dev
230 2016-04-13T14:19:04  *** TGYRKCLVLB has joined #bitcoin-core-dev
231 2016-04-13T14:22:01  <jonasschnelli> Current Master at block 200'000: Connect total: 33.82ms [331.59s]
232 2016-04-13T14:22:14  <jonasschnelli> LMDB at block 200'000: Connect total: 125.55ms [1466.35s]
233 2016-04-13T14:22:43  <sipa> are you sure the LMDB is with dbcache set high?
234 2016-04-13T14:22:45  * jonasschnelli is checking if the wumpus lmdb branch uses libsecp
235 2016-04-13T14:23:00  <sipa> jonasschnelli: show me the verify lines
236 2016-04-13T14:23:00  <jonasschnelli> no. Now its with default dbcache
237 2016-04-13T14:23:09  <sipa> both leveldb and lmdb?
238 2016-04-13T14:23:13  <jonasschnelli> yes.
239 2016-04-13T14:23:16  <sipa> oh, ok
240 2016-04-13T14:23:25  <jonasschnelli> LMDB block 200k: Verify 1231 txins: 121.49ms (0.099ms/txin) [1385.86s
241 2016-04-13T14:23:44  *** TGYRKCLVLB has quit IRC
242 2016-04-13T14:23:49  <jonasschnelli> leveldb: Verify 1231 txins: 28.88ms (0.023ms/txin) [262.67s]
243 2016-04-13T14:24:09  <sipa> are they running with the same -par?
244 2016-04-13T14:24:20  <jonasschnelli> Yes. Passed only -debug=bench
245 2016-04-13T14:24:52  <jonasschnelli> nononono!
246 2016-04-13T14:25:23  <jonasschnelli> lmdb node -> git branch -> master!
247 2016-04-13T14:25:32  <sipa> ?
248 2016-04-13T14:25:55  <jonasschnelli> I'm actually not testing against LMDB i'm testing again non-libsecp-master from nov 1st!
249 2016-04-13T14:26:01  <jonasschnelli> Damit!
250 2016-04-13T14:26:06  <sipa> lol
251 2016-04-13T14:26:19  <sipa> libsecp was merged on nov 5th :)
252 2016-04-13T14:26:43  <sipa> thank for benchmarking the improvements we've made the past 5 months, then... they turn out to be significant
253 2016-04-13T14:26:47  <jonasschnelli> Somewhere during git re-set I forget to pass a "git checkout 2016_04_mdb".
254 2016-04-13T14:29:22  <GitHub190> [bitcoin] mrbandrews opened pull request #7871: Manual block file pruning. (master...ba-manual6) https://github.com/bitcoin/bitcoin/pull/7871
255 2016-04-13T14:35:26  *** TomMc has joined #bitcoin-core-dev
256 2016-04-13T14:38:52  *** wumpus has quit IRC
257 2016-04-13T14:38:52  *** arowser has quit IRC
258 2016-04-13T14:39:14  *** arowser has joined #bitcoin-core-dev
259 2016-04-13T14:41:25  *** wumpus has joined #bitcoin-core-dev
260 2016-04-13T14:41:57  *** ebfull has quit IRC
261 2016-04-13T14:42:18  *** ebfull has joined #bitcoin-core-dev
262 2016-04-13T14:42:29  *** cryptapus has quit IRC
263 2016-04-13T14:42:40  *** cryptapus has joined #bitcoin-core-dev
264 2016-04-13T14:42:40  *** cryptapus has joined #bitcoin-core-dev
265 2016-04-13T14:44:25  *** muuqwaul has quit IRC
266 2016-04-13T14:44:47  *** muuqwaul has joined #bitcoin-core-dev
267 2016-04-13T14:54:28  *** KHCkjhv has joined #bitcoin-core-dev
268 2016-04-13T14:56:07  *** belcher has joined #bitcoin-core-dev
269 2016-04-13T14:58:34  *** KHCkjhv has quit IRC
270 2016-04-13T14:58:57  *** KHCkjhv has joined #bitcoin-core-dev
271 2016-04-13T15:04:19  <sdaftuar> so, MAX_OPS_PER_SCRIPT includes op codes not executed?  i didn't expect that.
272 2016-04-13T15:05:26  <Chris_Stewart_5> ^^^^
273 2016-04-13T15:05:55  <Chris_Stewart_5> even more interesting, if MAST is implemented what does that mean???
274 2016-04-13T15:06:22  <Chris_Stewart_5> if I understasnd correctly MAST only reveals branches of our control structure that are actually executed
275 2016-04-13T15:06:27  <sipa> exactly
276 2016-04-13T15:06:36  <sipa> and for the ones not executed, you give their hash
277 2016-04-13T15:07:01  <Chris_Stewart_5> sipa: Does MAST change the data structure from a List to a Tree inside of interpreter?
278 2016-04-13T15:07:09  <sipa> that depends on the implementation
279 2016-04-13T15:07:21  <sipa> it's just a generic idea
280 2016-04-13T15:07:31  <sipa> i haven't looked at jl2012's specific proposal
281 2016-04-13T15:08:26  <Chris_Stewart_5> sipa: Going off what we were talking about yesterday, are we constrained to realistically implementing this as a list for fear of unintended consensus changes?
282 2016-04-13T15:08:37  <sipa> no
283 2016-04-13T15:08:49  <sipa> no script versions can easily use a completely independent interpreter
284 2016-04-13T15:08:54  <sipa> *new script versions
285 2016-04-13T15:08:57  <Chris_Stewart_5> ahh ok
286 2016-04-13T15:10:54  <jl2012> sipa: It's like your tree signature. I just compact everyone to become 3 arguments: position, path, script . (Actually I borrowed your original segwit code when the commitment was a Merkle tree)
287 2016-04-13T15:13:05  <jl2012> and the depth is implied by the size of path
288 2016-04-13T15:14:59  <jl2012> Chris_Stewart_5: it's very similar to P2SH and P2WSH. Just with 2 extra arguments
289 2016-04-13T15:16:04  <Chris_Stewart_5> jl2012: I understand that part, I for specific implementation details I"m getting caught up on 'Position' and 'Path' and how they are different
290 2016-04-13T15:16:28  <Chris_Stewart_5> It seems that if you have the path that the script takes in the tree you could derive its position..
291 2016-04-13T15:17:17  <jl2012> First you divide the size of Path by 32, which is the Depth of the tree
292 2016-04-13T15:17:52  <instagibbs> Chris_Stewart_5, I believe path is the hashes in the tree, the position will tell you how to build the branch
293 2016-04-13T15:18:08  <instagibbs> jl2012, you might want to make it explicit, as I had trouble understanding it first go around as well
294 2016-04-13T15:18:16  <instagibbs> and if I'm wrong, doubly so :P
295 2016-04-13T15:18:34  <jl2012> instagibbs, yes, you are right
296 2016-04-13T15:18:38  <Chris_Stewart_5> hmm ok
297 2016-04-13T15:18:58  <instagibbs> I had to read between the lines tbh, since path had to be multiple of 32 bytes, i inferred it was sha hash
298 2016-04-13T15:19:25  <jl2012> for Depth (d), you may have at most 2^d possible Position
299 2016-04-13T15:19:45  <jl2012> Position = 0 means the leftmost position in the tree
300 2016-04-13T15:20:11  <Chris_Stewart_5> jl2012: Leftmost... what exactly doe that mean? THe left most leaf node if you were to draw the tree out?
301 2016-04-13T15:20:17  <instagibbs> yes
302 2016-04-13T15:20:22  <jl2012> yes
303 2016-04-13T15:20:45  <jl2012> same as the Merkle Root in the block header
304 2016-04-13T15:21:08  <instagibbs> jl2012, mind if I write a clarification text? do I PR directly against the bip repo or yours?
305 2016-04-13T15:21:48  <jl2012> instagibbs, please feel free, just a direct PR to BIP repo, thanks
306 2016-04-13T15:23:32  <Chris_Stewart_5> So path is essentially a vector of sha256 hashes.. why do we exactly need the position arg again? instagibbs said for building the branch, can you be more explicit than that? Some how reconstructing the script from the hashes?
307 2016-04-13T15:25:07  <sipa> Chris_Stewart_5: if your leaves are (a,b,c,d) then root=H(H(a,b),H(c,d)), right?
308 2016-04-13T15:25:15  <Chris_Stewart_5> yes
309 2016-04-13T15:25:27  <sipa> if you want leaf b, you need to reveal a and H(c,d), right?
310 2016-04-13T15:25:40  <Chris_Stewart_5> yes
311 2016-04-13T15:25:40  <sipa> so your path would be (a,H(c,d))
312 2016-04-13T15:26:06  <sipa> if you want leaf c, however, you reveal (d,H(a,b))
313 2016-04-13T15:26:35  <Chris_Stewart_5> so position = 3?
314 2016-04-13T15:26:49  <sipa> if you reveal b, position = 1
315 2016-04-13T15:26:52  <sipa> if you reveal c, position = 2
316 2016-04-13T15:26:57  <sipa> etc
317 2016-04-13T15:26:58  <Chris_Stewart_5> ahh zero based index
318 2016-04-13T15:27:02  <Chris_Stewart_5> gotcha. Thanks.
319 2016-04-13T15:27:03  <sipa> of course :p
320 2016-04-13T15:27:34  * instagibbs fortran user detected
321 2016-04-13T15:28:27  <Chris_Stewart_5> lol
322 2016-04-13T15:29:11  <jl2012> programmers count from 0
323 2016-04-13T15:29:31  *** niels_ has quit IRC
324 2016-04-13T15:31:05  <Chris_Stewart_5> I think I forgot to turn on the CS part of my brain this morning... it was almost like I was a normal person for a while :P
325 2016-04-13T15:31:40  *** Thireus has joined #bitcoin-core-dev
326 2016-04-13T15:31:41  <Chris_Stewart_5> *looks around for more coffee*
327 2016-04-13T15:34:39  *** AaronvanW has quit IRC
328 2016-04-13T15:35:15  *** earlest has joined #bitcoin-core-dev
329 2016-04-13T15:42:06  *** laurentmt has joined #bitcoin-core-dev
330 2016-04-13T15:44:06  *** earlest has quit IRC
331 2016-04-13T15:44:07  *** BlueMatt_ has joined #bitcoin-core-dev
332 2016-04-13T15:44:16  *** muuqwaul has quit IRC
333 2016-04-13T15:44:16  *** wangchun has quit IRC
334 2016-04-13T15:44:16  *** BlueMatt has quit IRC
335 2016-04-13T15:44:16  *** btcdrak has quit IRC
336 2016-04-13T15:44:32  *** earlest has joined #bitcoin-core-dev
337 2016-04-13T15:46:10  *** wangchun has joined #bitcoin-core-dev
338 2016-04-13T15:46:30  *** TomMc has quit IRC
339 2016-04-13T15:47:07  *** niels_ has joined #bitcoin-core-dev
340 2016-04-13T15:49:33  <instagibbs> jl2012, https://github.com/bitcoin/bips/pull/369
341 2016-04-13T15:49:35  <instagibbs> let me know of quibbles etc
342 2016-04-13T15:51:28  *** laurentmt1 has joined #bitcoin-core-dev
343 2016-04-13T15:51:34  <jl2012> thanks!
344 2016-04-13T15:52:12  *** laurentmt has quit IRC
345 2016-04-13T15:52:12  *** laurentmt1 is now known as laurentmt
346 2016-04-13T15:52:16  *** btcdrak has joined #bitcoin-core-dev
347 2016-04-13T15:52:52  <instagibbs> the merkle branch also has to be "minimal", but I figure anyone who skims the merkle root function would arrive at that
348 2016-04-13T15:53:04  <instagibbs> and really should just copypasta that function if need be
349 2016-04-13T15:53:41  <instagibbs> maybe branch singular already means that, no idea
350 2016-04-13T15:58:49  *** crescendo has quit IRC
351 2016-04-13T15:58:59  *** niels_ has quit IRC
352 2016-04-13T15:59:05  *** crescendo has joined #bitcoin-core-dev
353 2016-04-13T15:59:54  <wumpus> jonasschnelli: hahah oops! good to know that's the issue, that was an old branch
354 2016-04-13T16:01:21  *** abritoid has quit IRC
355 2016-04-13T16:02:13  <wumpus> I remember having made a similar mistake at least once, testing another branch then I thought I was testing, then spending quite some time debuggin why it didnt work as expected. I think around the time of the boost to evhttpd switch.
356 2016-04-13T16:05:21  *** AaronvanW has joined #bitcoin-core-dev
357 2016-04-13T16:06:12  *** earlest has quit IRC
358 2016-04-13T16:06:30  *** laurentmt has quit IRC
359 2016-04-13T16:06:36  *** earlest has joined #bitcoin-core-dev
360 2016-04-13T16:09:00  <jl2012> instagibbs: what do you mean by minimal?
361 2016-04-13T16:11:18  <instagibbs> it only deals with the nodes it needs to compute a single path
362 2016-04-13T16:14:47  <jl2012> I think it's implied by the design
363 2016-04-13T16:28:05  *** cryptocoder has quit IRC
364 2016-04-13T16:29:21  *** cryptocoder has joined #bitcoin-core-dev
365 2016-04-13T16:32:52  <Chris_Stewart_5> probably better to be explicit..
366 2016-04-13T16:34:33  <instagibbs> Copying and pasting the tiny function call is pretty explicit and no work
367 2016-04-13T16:38:26  *** TomMc has joined #bitcoin-core-dev
368 2016-04-13T16:44:38  *** murch has joined #bitcoin-core-dev
369 2016-04-13T16:54:17  *** AaronvanW has quit IRC
370 2016-04-13T16:55:16  *** paveljanik has joined #bitcoin-core-dev
371 2016-04-13T16:55:16  *** paveljanik has joined #bitcoin-core-dev
372 2016-04-13T16:55:51  <jl2012> Chris_Stewart_5, instagibbs: more comments added to the reference implementation https://github.com/jl2012/bips/blob/bip114ref/bip-0114.mediawiki#Reference_Implementation
373 2016-04-13T16:56:25  <instagibbs> ACK :)
374 2016-04-13T17:09:10  *** Chris_Stewart_5 has quit IRC
375 2016-04-13T17:11:37  *** TomMc has quit IRC
376 2016-04-13T17:12:10  *** molz has quit IRC
377 2016-04-13T17:12:27  *** molz has joined #bitcoin-core-dev
378 2016-04-13T17:21:06  *** laurentmt has joined #bitcoin-core-dev
379 2016-04-13T17:21:08  *** laurentmt has quit IRC
380 2016-04-13T17:36:43  *** AaronvanW has joined #bitcoin-core-dev
381 2016-04-13T17:37:38  *** AaronvanW has quit IRC
382 2016-04-13T17:47:49  *** d_t has joined #bitcoin-core-dev
383 2016-04-13T17:48:57  *** earlest has quit IRC
384 2016-04-13T17:49:22  *** earlest has joined #bitcoin-core-dev
385 2016-04-13T18:10:42  *** johnwhitton has joined #bitcoin-core-dev
386 2016-04-13T18:10:59  *** Thireus1 has joined #bitcoin-core-dev
387 2016-04-13T18:12:31  *** moli has joined #bitcoin-core-dev
388 2016-04-13T18:13:54  *** Thireus has quit IRC
389 2016-04-13T18:14:34  *** molz has quit IRC
390 2016-04-13T18:16:54  *** TomMc has joined #bitcoin-core-dev
391 2016-04-13T18:36:32  *** PaulCape_ has joined #bitcoin-core-dev
392 2016-04-13T18:37:35  *** mrkent has joined #bitcoin-core-dev
393 2016-04-13T18:37:38  *** Alopex has quit IRC
394 2016-04-13T18:37:38  *** da2ce7_mobile has quit IRC
395 2016-04-13T18:37:38  *** jyap has quit IRC
396 2016-04-13T18:37:46  *** jyap has joined #bitcoin-core-dev
397 2016-04-13T18:37:46  *** jyap has joined #bitcoin-core-dev
398 2016-04-13T18:38:18  *** goregrind has joined #bitcoin-core-dev
399 2016-04-13T18:38:43  *** wangchun has quit IRC
400 2016-04-13T18:39:17  *** PaulCapestany has quit IRC
401 2016-04-13T18:39:17  *** goregrin1 has quit IRC
402 2016-04-13T18:39:18  *** morcos has quit IRC
403 2016-04-13T18:39:18  *** aj has quit IRC
404 2016-04-13T18:39:18  *** TD-Linux has quit IRC
405 2016-04-13T18:39:18  *** warren has quit IRC
406 2016-04-13T18:39:18  *** OxADADA has quit IRC
407 2016-04-13T18:39:49  *** zxzzt has quit IRC
408 2016-04-13T18:40:39  *** wangchun has joined #bitcoin-core-dev
409 2016-04-13T18:41:07  *** aj has joined #bitcoin-core-dev
410 2016-04-13T18:41:08  *** OxADADA has joined #bitcoin-core-dev
411 2016-04-13T18:41:20  *** morcos has joined #bitcoin-core-dev
412 2016-04-13T18:41:28  *** zxzzt has joined #bitcoin-core-dev
413 2016-04-13T18:41:49  *** shangzhou has quit IRC
414 2016-04-13T18:41:51  *** limpkin has quit IRC
415 2016-04-13T18:45:18  *** TD-Linux has joined #bitcoin-core-dev
416 2016-04-13T18:45:30  *** da2ce7_mobile has joined #bitcoin-core-dev
417 2016-04-13T18:49:40  *** warren has joined #bitcoin-core-dev
418 2016-04-13T18:51:28  *** limpkin has joined #bitcoin-core-dev
419 2016-04-13T19:02:07  *** Alopex has joined #bitcoin-core-dev
420 2016-04-13T19:18:41  *** shangzhou has joined #bitcoin-core-dev
421 2016-04-13T19:26:29  *** jtimon has joined #bitcoin-core-dev
422 2016-04-13T19:36:41  *** RoyceX has joined #bitcoin-core-dev
423 2016-04-13T19:38:21  *** jannes has quit IRC
424 2016-04-13T19:40:01  *** cryptapus has quit IRC
425 2016-04-13T19:47:09  *** Chris_Stewart_5 has joined #bitcoin-core-dev
426 2016-04-13T19:48:24  *** morcos has quit IRC
427 2016-04-13T19:48:24  *** belcher has quit IRC
428 2016-04-13T19:48:24  *** aureianimus has quit IRC
429 2016-04-13T19:48:24  *** cguida_ has quit IRC
430 2016-04-13T19:48:24  *** hybridsole has quit IRC
431 2016-04-13T19:48:24  *** afk11 has quit IRC
432 2016-04-13T19:48:24  *** Cheeseo has quit IRC
433 2016-04-13T19:48:25  *** amiller has quit IRC
434 2016-04-13T19:48:25  *** kanzure has quit IRC
435 2016-04-13T19:48:25  *** nkuttler has quit IRC
436 2016-04-13T19:48:25  *** roasbeef has quit IRC
437 2016-04-13T19:48:32  *** kanzure_ has joined #bitcoin-core-dev
438 2016-04-13T19:51:16  *** nkuttler_ has joined #bitcoin-core-dev
439 2016-04-13T19:53:40  *** roasbeef_ has joined #bitcoin-core-dev
440 2016-04-13T19:54:07  *** hybridsole_ has joined #bitcoin-core-dev
441 2016-04-13T19:54:32  <jonasschnelli> Now correct: LMDB branch sync from random peers took 2h 30min up to progress=1
442 2016-04-13T19:54:34  *** nkuttler_ is now known as nkuttler
443 2016-04-13T19:54:43  <jonasschnelli> Now comparing reindex with default dbcache
444 2016-04-13T19:56:44  <jonasschnelli> First shutdown of LMDB IBDed node with dbcache=9000 took just a couple of seconds (write speed didn't felt different to leveldb).
445 2016-04-13T20:00:19  *** afk11_ has joined #bitcoin-core-dev
446 2016-04-13T20:03:32  *** aureianimus has joined #bitcoin-core-dev
447 2016-04-13T20:03:32  *** morcos has joined #bitcoin-core-dev
448 2016-04-13T20:03:32  *** belcher has joined #bitcoin-core-dev
449 2016-04-13T20:03:32  *** cguida_ has joined #bitcoin-core-dev
450 2016-04-13T20:03:32  *** hybridsole has joined #bitcoin-core-dev
451 2016-04-13T20:03:32  *** afk11 has joined #bitcoin-core-dev
452 2016-04-13T20:03:32  *** amiller has joined #bitcoin-core-dev
453 2016-04-13T20:03:32  *** roasbeef has joined #bitcoin-core-dev
454 2016-04-13T20:04:32  *** aureianimus has quit IRC
455 2016-04-13T20:04:32  *** morcos has quit IRC
456 2016-04-13T20:04:33  *** belcher has quit IRC
457 2016-04-13T20:04:33  *** cguida_ has quit IRC
458 2016-04-13T20:04:34  *** hybridsole has quit IRC
459 2016-04-13T20:04:34  *** afk11 has quit IRC
460 2016-04-13T20:04:34  *** amiller has quit IRC
461 2016-04-13T20:04:34  *** roasbeef has quit IRC
462 2016-04-13T20:04:34  *** hybridsole_ is now known as hybridsole
463 2016-04-13T20:05:50  *** ibrightly has quit IRC
464 2016-04-13T20:07:21  *** morcos has joined #bitcoin-core-dev
465 2016-04-13T20:08:23  *** ibrightly has joined #bitcoin-core-dev
466 2016-04-13T20:11:57  *** aureianimus has joined #bitcoin-core-dev
467 2016-04-13T20:11:57  *** belcher has joined #bitcoin-core-dev
468 2016-04-13T20:11:57  *** cguida_ has joined #bitcoin-core-dev
469 2016-04-13T20:11:57  *** amiller has joined #bitcoin-core-dev
470 2016-04-13T20:12:34  *** aureianimus has quit IRC
471 2016-04-13T20:13:02  *** cguida has joined #bitcoin-core-dev
472 2016-04-13T20:15:04  *** cguida_ has quit IRC
473 2016-04-13T20:15:34  *** belcher has quit IRC
474 2016-04-13T20:15:35  *** amiller has quit IRC
475 2016-04-13T20:16:52  *** aureianimus has joined #bitcoin-core-dev
476 2016-04-13T20:17:58  *** cguida has quit IRC
477 2016-04-13T20:20:23  <GitHub79> [bitcoin] morcos opened pull request #7874: Improve AlreadyHave (master...speedAlreadyHave) https://github.com/bitcoin/bitcoin/pull/7874
478 2016-04-13T20:23:31  *** Guest85557 has joined #bitcoin-core-dev
479 2016-04-13T20:29:06  *** TomMc has quit IRC
480 2016-04-13T20:29:40  *** Chris_Stewart_5 has quit IRC
481 2016-04-13T20:29:54  *** Guest23453 has joined #bitcoin-core-dev
482 2016-04-13T20:30:29  *** Guest23453 has quit IRC
483 2016-04-13T20:32:06  *** belcher has joined #bitcoin-core-dev
484 2016-04-13T20:37:27  *** molz has joined #bitcoin-core-dev
485 2016-04-13T20:39:58  *** Pasha has joined #bitcoin-core-dev
486 2016-04-13T20:43:27  *** adam3us_ has joined #bitcoin-core-dev
487 2016-04-13T20:47:07  *** moli has quit IRC
488 2016-04-13T20:47:08  *** Giszmo has quit IRC
489 2016-04-13T20:47:08  *** justanotheruser has quit IRC
490 2016-04-13T20:47:08  *** cryptapus_afk has quit IRC
491 2016-04-13T20:47:08  *** Cory has quit IRC
492 2016-04-13T20:47:08  *** ghtdak has quit IRC
493 2016-04-13T20:47:08  *** dgenr8 has quit IRC
494 2016-04-13T20:47:09  *** adam3us has quit IRC
495 2016-04-13T20:47:54  *** dgenr8 has joined #bitcoin-core-dev
496 2016-04-13T20:48:30  *** spikeheadon has joined #bitcoin-core-dev
497 2016-04-13T20:56:32  *** spikeheadon has quit IRC
498 2016-04-13T20:59:17  *** Giszmo has joined #bitcoin-core-dev
499 2016-04-13T21:12:38  *** justanotheruser has joined #bitcoin-core-dev
500 2016-04-13T21:28:28  *** TomMc has joined #bitcoin-core-dev
501 2016-04-13T21:37:38  *** earlest has quit IRC
502 2016-04-13T21:39:58  *** mrkent_ has joined #bitcoin-core-dev
503 2016-04-13T21:40:04  *** Giszmo has quit IRC
504 2016-04-13T21:40:27  *** pavel_ has joined #bitcoin-core-dev
505 2016-04-13T21:41:16  *** TomMc has quit IRC
506 2016-04-13T21:41:16  *** d_t has quit IRC
507 2016-04-13T21:41:16  *** paveljanik has quit IRC
508 2016-04-13T21:41:52  *** belcher has quit IRC
509 2016-04-13T21:41:52  *** afk11_ has quit IRC
510 2016-04-13T21:41:52  *** aj has quit IRC
511 2016-04-13T21:41:53  *** mrkent has quit IRC
512 2016-04-13T21:42:48  *** Giszmo has joined #bitcoin-core-dev
513 2016-04-13T21:43:07  *** aj has joined #bitcoin-core-dev
514 2016-04-13T21:44:44  *** TomMc has joined #bitcoin-core-dev
515 2016-04-13T21:45:05  *** d_t has joined #bitcoin-core-dev
516 2016-04-13T21:46:56  *** afk11 has joined #bitcoin-core-dev
517 2016-04-13T21:49:18  *** kanzure_ is now known as kanzure
518 2016-04-13T21:49:47  *** kanzure has joined #bitcoin-core-dev
519 2016-04-13T21:56:27  *** Guest1918 has joined #bitcoin-core-dev
520 2016-04-13T21:57:35  *** PaulCape_ has quit IRC
521 2016-04-13T22:03:16  *** PaulCapestany has joined #bitcoin-core-dev
522 2016-04-13T22:04:55  *** Guest1918 has quit IRC
523 2016-04-13T22:19:12  *** TomMc has quit IRC
524 2016-04-13T22:44:46  *** d_t has quit IRC
525 2016-04-13T22:51:51  *** cguida has joined #bitcoin-core-dev
526 2016-04-13T23:06:49  *** cguida has quit IRC
527 2016-04-13T23:08:25  *** Chris_Stewart_5 has joined #bitcoin-core-dev
528 2016-04-13T23:21:06  *** Ylbam has quit IRC
529 2016-04-13T23:31:30  *** Amnez777- has quit IRC
530 2016-04-13T23:38:20  *** laurentmt has joined #bitcoin-core-dev
531 2016-04-13T23:38:26  <cfields_> mm, what's the real-world use-case for getaddednodeinfo rpc?
532 2016-04-13T23:38:41  *** laurentmt has quit IRC
533 2016-04-13T23:38:43  *** Amnez777 has joined #bitcoin-core-dev
534 2016-04-13T23:39:08  <cfields_> the resolving logic is kinda wonky, and i'm not sure it's worth trying to maintain compatibility with the net refactor
535 2016-04-13T23:41:42  *** gevs has quit IRC
536 2016-04-13T23:42:34  <cfields_> BlueMatt_: ^^. Looks like you added it. In particular, the issue is that it (for dns entires) it does a resolve in the rpc, though that doesn't represent the ips that the network thread will end up trying
537 2016-04-13T23:44:55  <cfields_> so I'm not sure that it's really worth trying to enumerate them. seems like keeping a map of dns->resolved would be enough to determine if a dns entry is connected or not, which i think is the useful info there?
538 2016-04-13T23:45:38  *** Guyver2 has quit IRC
539 2016-04-13T23:52:08  *** cguida has joined #bitcoin-core-dev
540 2016-04-13T23:57:25  <sipa> cfields_: i doubt it is important to keep its exact semantics
541 2016-04-13T23:59:41  *** Pasha is now known as Cory
542 2016-04-13T23:59:43  <cfields_> ok