1 2017-03-24T00:01:06  <jtimon> so in case they don't do it with segwit inactive is a bug, otherwise is expected behaviour, right?
  2 2017-03-24T00:01:08  *** gabridome has quit IRC
  3 2017-03-24T00:02:06  *** justanotheruser has quit IRC
  4 2017-03-24T00:04:32  <jtimon> english speakers: sorry for the double negations, I didn't lacked no ineducation
  5 2017-03-24T00:06:43  *** jannes has quit IRC
  6 2017-03-24T00:10:31  <gmaxwell> jtimon: segwit is active on testnet.
  7 2017-03-24T00:11:11  <gmaxwell> It's expected behavior on testnet that nodes will not fetch blocks from non-segwit peers, because non-segwit peers cannot provide witnesses, which are required, since segwit is active.
  8 2017-03-24T00:11:53  <jtimon> oh, right, the assumptions to reproduce the error aren't even possible on testnet3 right now, thanks for clarifying
  9 2017-03-24T00:12:04  <sipa> jtimon: ?
 10 2017-03-24T00:12:17  <sipa> what is 'the error' you're referring to?
 11 2017-03-24T00:14:02  <jtimon> the potential error was segwit nodes not downloading blocks from non-segwit nodes when segwit is not active, which cannot be reproduced in testnet3 as pointed out by greg
 12 2017-03-24T00:14:20  <sipa> nobody is talking about the case where segwit is not active
 13 2017-03-24T00:14:32  <jtimon> sorry then
 14 2017-03-24T00:15:48  *** sugarpuff has joined #bitcoin-core-dev
 15 2017-03-24T00:16:35  *** bityogi has quit IRC
 16 2017-03-24T00:22:20  <jtimon> I can't believe I didn't mentioned #9279, next meeting
 17 2017-03-24T00:22:22  <gribble> https://github.com/bitcoin/bitcoin/issues/9279 | Consensus: Move CFeeRate out of libconsensus by jtimon · Pull Request #9279 · bitcoin/bitcoin · GitHub
 18 2017-03-24T00:23:34  *** justanotheruser has joined #bitcoin-core-dev
 19 2017-03-24T00:28:05  *** chjj has quit IRC
 20 2017-03-24T00:31:35  *** dodomojo has joined #bitcoin-core-dev
 21 2017-03-24T00:41:37  *** chjj has joined #bitcoin-core-dev
 22 2017-03-24T00:46:29  *** AaronvanW has quit IRC
 23 2017-03-24T00:59:53  *** abpa has quit IRC
 24 2017-03-24T01:00:03  <gmaxwell> luke-jr: can you explain to me how your size proof deals with blocksizes that aren't a power of two. I'm too intellectually lazy to read that out of your document, and its not obvious to me how you'd deal with it except something like "don't count the minimum size for segments of the tree which are elided so that you can't look for duplication.
 25 2017-03-24T01:00:47  *** dodomojo has quit IRC
 26 2017-03-24T01:01:55  *** dodomojo has joined #bitcoin-core-dev
 27 2017-03-24T01:24:41  *** sdaftuar has quit IRC
 28 2017-03-24T01:25:36  *** sdaftuar has joined #bitcoin-core-dev
 29 2017-03-24T01:25:36  *** sdaftuar has joined #bitcoin-core-dev
 30 2017-03-24T01:26:01  *** harrymm has quit IRC
 31 2017-03-24T01:26:56  *** dfe has joined #bitcoin-core-dev
 32 2017-03-24T01:35:15  *** dodomojo has quit IRC
 33 2017-03-24T01:38:00  *** dodomojo has joined #bitcoin-core-dev
 34 2017-03-24T01:42:35  *** To7 has joined #bitcoin-core-dev
 35 2017-03-24T01:54:31  *** harrymm has joined #bitcoin-core-dev
 36 2017-03-24T01:58:53  <phantomcircuit> gmaxwell, we're only using openssl for secp256k1 tests now right?
 37 2017-03-24T01:59:04  <sipa> and as RNG
 38 2017-03-24T01:59:09  <phantomcircuit> oh right
 39 2017-03-24T01:59:15  <gmaxwell> and for payment protocol in QT
 40 2017-03-24T01:59:16  <sipa> and in payment protocol processing
 41 2017-03-24T01:59:21  <sipa> !hi5
 42 2017-03-24T01:59:22  <gribble> Error: "hi5" is not a valid command.
 43 2017-03-24T01:59:25  <phantomcircuit> yeah so openssl appears to be trying to change their license in a way that appears uh
 44 2017-03-24T01:59:28  <phantomcircuit> questionable
 45 2017-03-24T01:59:38  <phantomcircuit> iono just mentioning it
 46 2017-03-24T02:00:34  <achow101> phantomcircuit: this https://www.openssl.org/blog/blog/2017/03/22/license/ ?
 47 2017-03-24T02:00:38  *** dodomojo_ has joined #bitcoin-core-dev
 48 2017-03-24T02:01:06  *** dodomojo has quit IRC
 49 2017-03-24T02:01:27  <achow101> they're moving to apache 2.0
 50 2017-03-24T02:03:07  <phantomcircuit> achow101, > If we do not hear from you, we will assume that you have no objection.
 51 2017-03-24T02:03:09  <phantomcircuit> k
 52 2017-03-24T02:04:49  <achow101> where do you see that?
 53 2017-03-24T02:06:01  <gmaxwell> yea, thats ... uh.
 54 2017-03-24T02:13:28  <phantomcircuit> achow101, it's in the email they sent to all contributors
 55 2017-03-24T02:13:36  <luke-jr> gmaxwell: the minimum 60 bytes is only assumed up to the last full tx proof, or 1 greater than the half-way point
 56 2017-03-24T02:14:54  <gmaxwell> luke-jr: couldn't I just create a block that had 2^n+1 transactions  for some n and then provide a full proof for the 'last' transaction (really one long past the end).
 57 2017-03-24T02:15:35  <luke-jr> gmaxwell: that's the part I haven't solved yet. I *think* it's sufficient to simply forbid any duplicate hashes building to the root?
 58 2017-03-24T02:16:16  <sipa> yup
 59 2017-03-24T02:16:26  <sipa> that's exactly what you should do
 60 2017-03-24T02:16:40  <gmaxwell> luke-jr: yes, but you don't see the whole tree. I think it's sufficient to not count minimum size for txn where you possibly couldn't see duplication.
 61 2017-03-24T02:17:11  <gmaxwell> e.g. say you should a full proof for the coinbase, and nothing else, but perhaps the last 1/4th of the block was a duplicated branch.
 62 2017-03-24T02:17:33  <luke-jr> that's why only 1/2+1 gets the min size counted
 63 2017-03-24T02:17:39  <gmaxwell> if you only show the hashes along the path to the coinbase you could only count half the number of minimum transactions.
 64 2017-03-24T02:17:57  <gmaxwell> okay. sounds good.
 65 2017-03-24T02:18:23  <luke-jr> if you prove the full tx at/near the end, though, you'd encounter a duplicate hash somewhere building upward
 66 2017-03-24T02:19:05  <gmaxwell> yes, I think thats right, okay, so you can count all minimum up to the last shown transaction, and half that beyond that.
 67 2017-03-24T02:19:18  <gmaxwell> that does make my proposed optimization process suboptimal.
 68 2017-03-24T02:20:12  <luke-jr> can you count half beyond it? I was assuming min(half+1, lastFullProven)
 69 2017-03-24T02:20:17  <gmaxwell> (since there is an advantage in making one of the full txn shown be late in the block.
 70 2017-03-24T02:21:02  <luke-jr> it's probably better than what I have now
 71 2017-03-24T02:21:10  <luke-jr> currently I'm just adding them largest first
 72 2017-03-24T02:34:27  *** aj_ is now known as aj
 73 2017-03-24T02:54:07  *** Ylbam has quit IRC
 74 2017-03-24T02:58:47  *** dodomojo has joined #bitcoin-core-dev
 75 2017-03-24T02:59:08  *** dodomojo_ has quit IRC
 76 2017-03-24T03:13:13  *** justan0theruser has joined #bitcoin-core-dev
 77 2017-03-24T03:13:52  *** dodomojo has quit IRC
 78 2017-03-24T03:14:03  *** dodomojo has joined #bitcoin-core-dev
 79 2017-03-24T03:14:41  *** justanotheruser has quit IRC
 80 2017-03-24T15:03:11  *** lightningbot has joined #bitcoin-core-dev
 81 2017-03-24T15:12:00  *** belcher has joined #bitcoin-core-dev
 82 2017-03-24T15:14:01  *** dfe has quit IRC
 83 2017-03-24T15:23:28  *** dodomojo has joined #bitcoin-core-dev
 84 2017-03-24T15:23:38  *** bityogi has joined #bitcoin-core-dev
 85 2017-03-24T15:28:10  *** dodomojo has quit IRC
 86 2017-03-24T15:49:56  *** abpa has joined #bitcoin-core-dev
 87 2017-03-24T15:56:55  *** riemann has quit IRC
 88 2017-03-24T16:04:21  *** laurentmt has joined #bitcoin-core-dev
 89 2017-03-24T16:08:46  *** laurentmt has quit IRC
 90 2017-03-24T16:17:59  *** dodomojo has joined #bitcoin-core-dev
 91 2017-03-24T16:22:25  *** dodomojo has quit IRC
 92 2017-03-24T16:26:10  *** magicwund has quit IRC
 93 2017-03-24T16:46:39  *** magicwund has joined #bitcoin-core-dev
 94 2017-03-24T16:52:36  *** n1ce has joined #bitcoin-core-dev
 95 2017-03-24T16:57:00  *** cryptapus has quit IRC
 96 2017-03-24T16:57:34  *** talmai has quit IRC
 97 2017-03-24T17:05:34  *** kexkey has joined #bitcoin-core-dev
 98 2017-03-24T17:36:02  *** justan0theruser has quit IRC
 99 2017-03-24T17:37:58  *** talmai has joined #bitcoin-core-dev
100 2017-03-24T17:38:32  *** Mario_ has joined #bitcoin-core-dev
101 2017-03-24T17:47:13  *** Mario_ has quit IRC
102 2017-03-24T17:47:34  *** makriath has joined #bitcoin-core-dev
103 2017-03-24T17:47:58  *** makriath has left #bitcoin-core-dev
104 2017-03-24T17:50:18  *** talmai has quit IRC
105 2017-03-24T17:50:43  *** magicwund has quit IRC
106 2017-03-24T17:56:16  *** talmai has joined #bitcoin-core-dev
107 2017-03-24T17:57:40  *** laurentmt has joined #bitcoin-core-dev
108 2017-03-24T18:05:27  *** justan0theruser has joined #bitcoin-core-dev
109 2017-03-24T18:09:02  *** laurentmt has quit IRC
110 2017-03-24T18:11:10  *** magicwund has joined #bitcoin-core-dev
111 2017-03-24T18:16:11  *** magicwund has quit IRC
112 2017-03-24T18:17:33  *** BashCo_ has joined #bitcoin-core-dev
113 2017-03-24T18:19:12  *** moli_ has quit IRC
114 2017-03-24T18:20:44  *** BashCo has quit IRC
115 2017-03-24T18:20:54  *** moli_ has joined #bitcoin-core-dev
116 2017-03-24T18:21:40  *** chjj has quit IRC
117 2017-03-24T18:35:28  *** chjj has joined #bitcoin-core-dev
118 2017-03-24T18:39:47  *** magicwund has joined #bitcoin-core-dev
119 2017-03-24T18:46:02  *** juscamarena has joined #bitcoin-core-dev
120 2017-03-24T18:46:04  *** juscamarena_ has joined #bitcoin-core-dev
121 2017-03-24T18:46:16  *** juscamarena_ has quit IRC
122 2017-03-24T18:53:57  *** talmai has quit IRC
123 2017-03-24T19:00:05  *** dodomojo has joined #bitcoin-core-dev
124 2017-03-24T19:04:28  *** dodomojo has quit IRC
125 2017-03-24T19:06:04  *** BashCo_ has quit IRC
126 2017-03-24T19:06:40  *** BashCo has joined #bitcoin-core-dev
127 2017-03-24T19:10:41  *** BashCo has quit IRC
128 2017-03-24T19:15:19  *** chjj has quit IRC
129 2017-03-24T19:17:12  *** juscamarena has quit IRC
130 2017-03-24T19:18:41  *** _biO_ has quit IRC
131 2017-03-24T19:19:18  *** juscamarena has joined #bitcoin-core-dev
132 2017-03-24T19:20:45  *** laurentmt has joined #bitcoin-core-dev
133 2017-03-24T19:22:00  *** jannes has quit IRC
134 2017-03-24T19:25:15  *** BashCo has joined #bitcoin-core-dev
135 2017-03-24T19:29:26  *** chjj has joined #bitcoin-core-dev
136 2017-03-24T19:30:02  *** sipa has quit IRC
137 2017-03-24T19:30:02  *** sipa has joined #bitcoin-core-dev
138 2017-03-24T19:35:06  *** moli_ has quit IRC
139 2017-03-24T19:39:57  *** blacczenith has joined #bitcoin-core-dev
140 2017-03-24T19:42:10  *** CubicEarthh has joined #bitcoin-core-dev
141 2017-03-24T19:46:46  *** _biO_ has joined #bitcoin-core-dev
142 2017-03-24T19:49:42  *** CubicEarthh has quit IRC
143 2017-03-24T19:54:22  *** dodomojo has joined #bitcoin-core-dev
144 2017-03-24T19:58:43  *** dodomojo has quit IRC
145 2017-03-24T20:06:09  *** Chris_Stewart_5 has quit IRC
146 2017-03-24T20:07:46  *** blacczenith has quit IRC
147 2017-03-24T20:10:00  *** CubicEarthh has joined #bitcoin-core-dev
148 2017-03-24T20:13:41  *** Giszmo has quit IRC
149 2017-03-24T20:15:54  *** laurentmt has quit IRC
150 2017-03-24T20:28:25  *** Giszmo has joined #bitcoin-core-dev
151 2017-03-24T20:29:20  <bitcoin-git> [bitcoin] jnewbery opened pull request #10072: Remove sources of unreliablility in extended functional tests (master...extended_test_unreliablility) https://github.com/bitcoin/bitcoin/pull/10072
152 2017-03-24T20:29:25  *** kvnn has joined #bitcoin-core-dev
153 2017-03-24T20:31:25  <cfields> BlueMatt: ping
154 2017-03-24T20:31:33  <BlueMatt> yo
155 2017-03-24T20:32:29  <cfields> BlueMatt: looks like #9605 is hitting the cpu hard
156 2017-03-24T20:32:31  <gribble> https://github.com/bitcoin/bitcoin/issues/9605 | Use CScheduler for wallet flushing, remove ThreadFlushWalletDB by TheBlueMatt · Pull Request #9605 · bitcoin/bitcoin · GitHub
157 2017-03-24T20:32:36  <cfields> not sure how i didn't notice pre-merge :(
158 2017-03-24T20:32:43  <BlueMatt> thats...strange
159 2017-03-24T20:32:44  <BlueMatt> wtf
160 2017-03-24T20:32:55  <BlueMatt> grrr, if there's more bugs in cscheduler.....
161 2017-03-24T20:33:02  <BlueMatt> I assume its in the scheduler thread?
162 2017-03-24T20:33:47  <cfields> unsure where the overhead is, figured i'd poke you first for ideas
163 2017-03-24T20:34:14  <cfields> i'm not managing to hit it while it's busy with gdb, so not sure yet
164 2017-03-24T20:34:28  <BlueMatt> you should be able to see it with top H
165 2017-03-24T20:34:36  <BlueMatt> (if its scheduler thread)
166 2017-03-24T20:35:37  <cfields> cool!
167 2017-03-24T20:35:39  <cfields> yep
168 2017-03-24T20:35:54  <cfields> (how have i not known this?!)
169 2017-03-24T20:36:10  <BlueMatt> i dont know
170 2017-03-24T20:38:04  <sipa> what? top supports threads?
171 2017-03-24T20:38:09  <BlueMatt> yes!
172 2017-03-24T20:38:10  <sipa> TIL.
173 2017-03-24T20:38:15  <BlueMatt> press H while its running to flip
174 2017-03-24T20:38:20  <sipa> i always used htop for that
175 2017-03-24T20:46:20  *** jtimon has quit IRC
176 2017-03-24T20:58:41  *** moli_ has joined #bitcoin-core-dev
177 2017-03-24T21:08:15  *** abpa has quit IRC
178 2017-03-24T21:11:30  *** CubicEarthh has quit IRC
179 2017-03-24T21:36:16  *** magicwund has quit IRC
180 2017-03-24T21:38:58  *** abpa has joined #bitcoin-core-dev
181 2017-03-24T21:40:06  *** jtimon has joined #bitcoin-core-dev
182 2017-03-24T21:40:35  *** laurentmt has joined #bitcoin-core-dev
183 2017-03-24T21:44:50  *** laurentmt has quit IRC
184 2017-03-24T22:06:40  *** Guyver2 has quit IRC
185 2017-03-24T22:09:40  *** CubicEarthh has joined #bitcoin-core-dev
186 2017-03-24T22:12:15  *** magicwund has joined #bitcoin-core-dev
187 2017-03-24T22:16:02  *** midnightmagic has quit IRC
188 2017-03-24T22:16:58  *** magicwund has quit IRC
189 2017-03-24T22:26:06  <bitcoin-git> [bitcoin] jnewbery opened pull request #10073: Actually run assumevalid.py (master...improveassumevalid) https://github.com/bitcoin/bitcoin/pull/10073
190 2017-03-24T22:33:08  *** magicwund has joined #bitcoin-core-dev
191 2017-03-24T22:33:12  *** midnightmagic has joined #bitcoin-core-dev
192 2017-03-24T22:36:34  *** dodomojo has joined #bitcoin-core-dev
193 2017-03-24T22:37:08  *** magicwund has quit IRC
194 2017-03-24T22:41:24  *** dodomojo has quit IRC
195 2017-03-24T22:41:33  *** justan0theruser has quit IRC
196 2017-03-24T22:59:48  *** abpa has quit IRC
197 2017-03-24T23:03:28  *** CubicEar_ has joined #bitcoin-core-dev
198 2017-03-24T23:07:17  *** CubicEarthh has quit IRC
199 2017-03-24T23:31:47  *** justanotheruser has joined #bitcoin-core-dev
200 2017-03-24T23:32:49  *** kexkey has quit IRC