12017-03-24T00:01:06 <jtimon> so in case they don't do it with segwit inactive is a bug, otherwise is expected behaviour, right?
22017-03-24T00:01:08 *** gabridome has quit IRC
32017-03-24T00:02:06 *** justanotheruser has quit IRC
42017-03-24T00:04:32 <jtimon> english speakers: sorry for the double negations, I didn't lacked no ineducation
52017-03-24T00:06:43 *** jannes has quit IRC
62017-03-24T00:10:31 <gmaxwell> jtimon: segwit is active on testnet.
72017-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.
82017-03-24T00:11:53 <jtimon> oh, right, the assumptions to reproduce the error aren't even possible on testnet3 right now, thanks for clarifying
92017-03-24T00:12:04 <sipa> jtimon: ?
102017-03-24T00:12:17 <sipa> what is 'the error' you're referring to?
112017-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
122017-03-24T00:14:20 <sipa> nobody is talking about the case where segwit is not active
132017-03-24T00:14:32 <jtimon> sorry then
142017-03-24T00:15:48 *** sugarpuff has joined #bitcoin-core-dev
152017-03-24T00:16:35 *** bityogi has quit IRC
162017-03-24T00:22:20 <jtimon> I can't believe I didn't mentioned #9279, next meeting
172017-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
182017-03-24T00:23:34 *** justanotheruser has joined #bitcoin-core-dev
192017-03-24T00:28:05 *** chjj has quit IRC
202017-03-24T00:31:35 *** dodomojo has joined #bitcoin-core-dev
212017-03-24T00:41:37 *** chjj has joined #bitcoin-core-dev
222017-03-24T00:46:29 *** AaronvanW has quit IRC
232017-03-24T00:59:53 *** abpa has quit IRC
242017-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.
252017-03-24T01:00:47 *** dodomojo has quit IRC
262017-03-24T01:01:55 *** dodomojo has joined #bitcoin-core-dev
272017-03-24T01:24:41 *** sdaftuar has quit IRC
282017-03-24T01:25:36 *** sdaftuar has joined #bitcoin-core-dev
292017-03-24T01:25:36 *** sdaftuar has joined #bitcoin-core-dev
302017-03-24T01:26:01 *** harrymm has quit IRC
312017-03-24T01:26:56 *** dfe has joined #bitcoin-core-dev
322017-03-24T01:35:15 *** dodomojo has quit IRC
332017-03-24T01:38:00 *** dodomojo has joined #bitcoin-core-dev
342017-03-24T01:42:35 *** To7 has joined #bitcoin-core-dev
352017-03-24T01:54:31 *** harrymm has joined #bitcoin-core-dev
362017-03-24T01:58:53 <phantomcircuit> gmaxwell, we're only using openssl for secp256k1 tests now right?
372017-03-24T01:59:04 <sipa> and as RNG
382017-03-24T01:59:09 <phantomcircuit> oh right
392017-03-24T01:59:15 <gmaxwell> and for payment protocol in QT
402017-03-24T01:59:16 <sipa> and in payment protocol processing
412017-03-24T01:59:21 <sipa> !hi5
422017-03-24T01:59:22 <gribble> Error: "hi5" is not a valid command.
432017-03-24T01:59:25 <phantomcircuit> yeah so openssl appears to be trying to change their license in a way that appears uh
442017-03-24T01:59:28 <phantomcircuit> questionable
452017-03-24T01:59:38 <phantomcircuit> iono just mentioning it
462017-03-24T02:00:34 <achow101> phantomcircuit: this https://www.openssl.org/blog/blog/2017/03/22/license/ ?
472017-03-24T02:00:38 *** dodomojo_ has joined #bitcoin-core-dev
482017-03-24T02:01:06 *** dodomojo has quit IRC
492017-03-24T02:01:27 <achow101> they're moving to apache 2.0
502017-03-24T02:03:07 <phantomcircuit> achow101, > If we do not hear from you, we will assume that you have no objection.
512017-03-24T02:03:09 <phantomcircuit> k
522017-03-24T02:04:49 <achow101> where do you see that?
532017-03-24T02:06:01 <gmaxwell> yea, thats ... uh.
542017-03-24T02:13:28 <phantomcircuit> achow101, it's in the email they sent to all contributors
552017-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
562017-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).
572017-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?
582017-03-24T02:16:16 <sipa> yup
592017-03-24T02:16:26 <sipa> that's exactly what you should do
602017-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.
612017-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.
622017-03-24T02:17:33 <luke-jr> that's why only 1/2+1 gets the min size counted
632017-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.
642017-03-24T02:17:57 <gmaxwell> okay. sounds good.
652017-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
662017-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.
672017-03-24T02:19:18 <gmaxwell> that does make my proposed optimization process suboptimal.
682017-03-24T02:20:12 <luke-jr> can you count half beyond it? I was assuming min(half+1, lastFullProven)
692017-03-24T02:20:17 <gmaxwell> (since there is an advantage in making one of the full txn shown be late in the block.
702017-03-24T02:21:02 <luke-jr> it's probably better than what I have now
712017-03-24T02:21:10 <luke-jr> currently I'm just adding them largest first
722017-03-24T02:34:27 *** aj_ is now known as aj
732017-03-24T02:54:07 *** Ylbam has quit IRC
742017-03-24T02:58:47 *** dodomojo has joined #bitcoin-core-dev
752017-03-24T02:59:08 *** dodomojo_ has quit IRC
762017-03-24T03:13:13 *** justan0theruser has joined #bitcoin-core-dev
772017-03-24T03:13:52 *** dodomojo has quit IRC
782017-03-24T03:14:03 *** dodomojo has joined #bitcoin-core-dev
792017-03-24T03:14:41 *** justanotheruser has quit IRC
802017-03-24T15:03:11 *** lightningbot has joined #bitcoin-core-dev
812017-03-24T15:12:00 *** belcher has joined #bitcoin-core-dev
822017-03-24T15:14:01 *** dfe has quit IRC
832017-03-24T15:23:28 *** dodomojo has joined #bitcoin-core-dev
842017-03-24T15:23:38 *** bityogi has joined #bitcoin-core-dev
852017-03-24T15:28:10 *** dodomojo has quit IRC
862017-03-24T15:49:56 *** abpa has joined #bitcoin-core-dev
872017-03-24T15:56:55 *** riemann has quit IRC
882017-03-24T16:04:21 *** laurentmt has joined #bitcoin-core-dev
892017-03-24T16:08:46 *** laurentmt has quit IRC
902017-03-24T16:17:59 *** dodomojo has joined #bitcoin-core-dev
912017-03-24T16:22:25 *** dodomojo has quit IRC
922017-03-24T16:26:10 *** magicwund has quit IRC
932017-03-24T16:46:39 *** magicwund has joined #bitcoin-core-dev
942017-03-24T16:52:36 *** n1ce has joined #bitcoin-core-dev
952017-03-24T16:57:00 *** cryptapus has quit IRC
962017-03-24T16:57:34 *** talmai has quit IRC
972017-03-24T17:05:34 *** kexkey has joined #bitcoin-core-dev
982017-03-24T17:36:02 *** justan0theruser has quit IRC
992017-03-24T17:37:58 *** talmai has joined #bitcoin-core-dev
1002017-03-24T17:38:32 *** Mario_ has joined #bitcoin-core-dev
1012017-03-24T17:47:13 *** Mario_ has quit IRC
1022017-03-24T17:47:34 *** makriath has joined #bitcoin-core-dev
1032017-03-24T17:47:58 *** makriath has left #bitcoin-core-dev
1042017-03-24T17:50:18 *** talmai has quit IRC
1052017-03-24T17:50:43 *** magicwund has quit IRC
1062017-03-24T17:56:16 *** talmai has joined #bitcoin-core-dev
1072017-03-24T17:57:40 *** laurentmt has joined #bitcoin-core-dev
1082017-03-24T18:05:27 *** justan0theruser has joined #bitcoin-core-dev
1092017-03-24T18:09:02 *** laurentmt has quit IRC
1102017-03-24T18:11:10 *** magicwund has joined #bitcoin-core-dev
1112017-03-24T18:16:11 *** magicwund has quit IRC
1122017-03-24T18:17:33 *** BashCo_ has joined #bitcoin-core-dev
1132017-03-24T18:19:12 *** moli_ has quit IRC
1142017-03-24T18:20:44 *** BashCo has quit IRC
1152017-03-24T18:20:54 *** moli_ has joined #bitcoin-core-dev
1162017-03-24T18:21:40 *** chjj has quit IRC
1172017-03-24T18:35:28 *** chjj has joined #bitcoin-core-dev
1182017-03-24T18:39:47 *** magicwund has joined #bitcoin-core-dev
1192017-03-24T18:46:02 *** juscamarena has joined #bitcoin-core-dev
1202017-03-24T18:46:04 *** juscamarena_ has joined #bitcoin-core-dev
1212017-03-24T18:46:16 *** juscamarena_ has quit IRC
1222017-03-24T18:53:57 *** talmai has quit IRC
1232017-03-24T19:00:05 *** dodomojo has joined #bitcoin-core-dev
1242017-03-24T19:04:28 *** dodomojo has quit IRC
1252017-03-24T19:06:04 *** BashCo_ has quit IRC
1262017-03-24T19:06:40 *** BashCo has joined #bitcoin-core-dev
1272017-03-24T19:10:41 *** BashCo has quit IRC
1282017-03-24T19:15:19 *** chjj has quit IRC
1292017-03-24T19:17:12 *** juscamarena has quit IRC
1302017-03-24T19:18:41 *** _biO_ has quit IRC
1312017-03-24T19:19:18 *** juscamarena has joined #bitcoin-core-dev
1322017-03-24T19:20:45 *** laurentmt has joined #bitcoin-core-dev
1332017-03-24T19:22:00 *** jannes has quit IRC
1342017-03-24T19:25:15 *** BashCo has joined #bitcoin-core-dev
1352017-03-24T19:29:26 *** chjj has joined #bitcoin-core-dev
1362017-03-24T19:30:02 *** sipa has quit IRC
1372017-03-24T19:30:02 *** sipa has joined #bitcoin-core-dev
1382017-03-24T19:35:06 *** moli_ has quit IRC
1392017-03-24T19:39:57 *** blacczenith has joined #bitcoin-core-dev
1402017-03-24T19:42:10 *** CubicEarthh has joined #bitcoin-core-dev
1412017-03-24T19:46:46 *** _biO_ has joined #bitcoin-core-dev
1422017-03-24T19:49:42 *** CubicEarthh has quit IRC
1432017-03-24T19:54:22 *** dodomojo has joined #bitcoin-core-dev
1442017-03-24T19:58:43 *** dodomojo has quit IRC
1452017-03-24T20:06:09 *** Chris_Stewart_5 has quit IRC
1462017-03-24T20:07:46 *** blacczenith has quit IRC
1472017-03-24T20:10:00 *** CubicEarthh has joined #bitcoin-core-dev
1482017-03-24T20:13:41 *** Giszmo has quit IRC
1492017-03-24T20:15:54 *** laurentmt has quit IRC
1502017-03-24T20:28:25 *** Giszmo has joined #bitcoin-core-dev
1512017-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
1522017-03-24T20:29:25 *** kvnn has joined #bitcoin-core-dev
1532017-03-24T20:31:25 <cfields> BlueMatt: ping
1542017-03-24T20:31:33 <BlueMatt> yo
1552017-03-24T20:32:29 <cfields> BlueMatt: looks like #9605 is hitting the cpu hard
1562017-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
1572017-03-24T20:32:36 <cfields> not sure how i didn't notice pre-merge :(
1582017-03-24T20:32:43 <BlueMatt> thats...strange
1592017-03-24T20:32:44 <BlueMatt> wtf
1602017-03-24T20:32:55 <BlueMatt> grrr, if there's more bugs in cscheduler.....
1612017-03-24T20:33:02 <BlueMatt> I assume its in the scheduler thread?
1622017-03-24T20:33:47 <cfields> unsure where the overhead is, figured i'd poke you first for ideas
1632017-03-24T20:34:14 <cfields> i'm not managing to hit it while it's busy with gdb, so not sure yet
1642017-03-24T20:34:28 <BlueMatt> you should be able to see it with top H
1652017-03-24T20:34:36 <BlueMatt> (if its scheduler thread)
1662017-03-24T20:35:37 <cfields> cool!
1672017-03-24T20:35:39 <cfields> yep
1682017-03-24T20:35:54 <cfields> (how have i not known this?!)
1692017-03-24T20:36:10 <BlueMatt> i dont know
1702017-03-24T20:38:04 <sipa> what? top supports threads?
1712017-03-24T20:38:09 <BlueMatt> yes!
1722017-03-24T20:38:10 <sipa> TIL.
1732017-03-24T20:38:15 <BlueMatt> press H while its running to flip
1742017-03-24T20:38:20 <sipa> i always used htop for that
1752017-03-24T20:46:20 *** jtimon has quit IRC
1762017-03-24T20:58:41 *** moli_ has joined #bitcoin-core-dev
1772017-03-24T21:08:15 *** abpa has quit IRC
1782017-03-24T21:11:30 *** CubicEarthh has quit IRC
1792017-03-24T21:36:16 *** magicwund has quit IRC
1802017-03-24T21:38:58 *** abpa has joined #bitcoin-core-dev
1812017-03-24T21:40:06 *** jtimon has joined #bitcoin-core-dev
1822017-03-24T21:40:35 *** laurentmt has joined #bitcoin-core-dev
1832017-03-24T21:44:50 *** laurentmt has quit IRC
1842017-03-24T22:06:40 *** Guyver2 has quit IRC
1852017-03-24T22:09:40 *** CubicEarthh has joined #bitcoin-core-dev
1862017-03-24T22:12:15 *** magicwund has joined #bitcoin-core-dev
1872017-03-24T22:16:02 *** midnightmagic has quit IRC
1882017-03-24T22:16:58 *** magicwund has quit IRC
1892017-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
1902017-03-24T22:33:08 *** magicwund has joined #bitcoin-core-dev
1912017-03-24T22:33:12 *** midnightmagic has joined #bitcoin-core-dev
1922017-03-24T22:36:34 *** dodomojo has joined #bitcoin-core-dev
1932017-03-24T22:37:08 *** magicwund has quit IRC
1942017-03-24T22:41:24 *** dodomojo has quit IRC
1952017-03-24T22:41:33 *** justan0theruser has quit IRC
1962017-03-24T22:59:48 *** abpa has quit IRC
1972017-03-24T23:03:28 *** CubicEar_ has joined #bitcoin-core-dev
1982017-03-24T23:07:17 *** CubicEarthh has quit IRC
1992017-03-24T23:31:47 *** justanotheruser has joined #bitcoin-core-dev
2002017-03-24T23:32:49 *** kexkey has quit IRC