12016-09-07T00:32:26 *** PRab has joined #bitcoin-core-dev
22016-09-07T00:33:10 *** dcousens has quit IRC
32016-09-07T00:44:04 *** justanotheruser has joined #bitcoin-core-dev
42016-09-07T01:06:44 *** fengling has joined #bitcoin-core-dev
52016-09-07T01:46:51 *** Ylbam has quit IRC
62016-09-07T02:08:04 *** Chris_Stewart_5 has quit IRC
72016-09-07T02:08:24 <GitHub16> [bitcoin] isle2983 opened pull request #8674: tools for analyzing, updating and adding copyright headers in souce files (master...copyright-scripts) https://github.com/bitcoin/bitcoin/pull/8674
82016-09-07T02:11:10 <GitHub51> [bitcoin] isle2983 opened pull request #8675: Make copyright header lines uniform (master...copyright-made-uniform) https://github.com/bitcoin/bitcoin/pull/8675
92016-09-07T02:16:58 <GitHub38> [bitcoin] isle2983 opened pull request #8676: Add missing copyright headers (master...missing-copyright) https://github.com/bitcoin/bitcoin/pull/8676
102016-09-07T02:24:15 *** dcousens has joined #bitcoin-core-dev
112016-09-07T02:26:34 *** TomMc has quit IRC
122016-09-07T02:37:55 *** Giszmo has quit IRC
132016-09-07T03:04:09 *** TomMc has joined #bitcoin-core-dev
142016-09-07T03:20:10 *** TomMc has quit IRC
152016-09-07T03:30:16 *** Alopex has quit IRC
162016-09-07T03:31:21 *** Alopex has joined #bitcoin-core-dev
172016-09-07T03:33:33 *** TomMc has joined #bitcoin-core-dev
182016-09-07T03:41:11 *** Alopex has quit IRC
192016-09-07T03:42:17 *** Alopex has joined #bitcoin-core-dev
202016-09-07T03:59:32 *** Samdney has quit IRC
212016-09-07T03:59:47 *** Samdney has joined #bitcoin-core-dev
222016-09-07T04:00:16 *** harding has quit IRC
232016-09-07T04:08:19 *** dermoth has quit IRC
242016-09-07T04:08:58 *** dermoth has joined #bitcoin-core-dev
252016-09-07T04:10:21 *** Alopex has quit IRC
262016-09-07T04:11:26 *** Alopex has joined #bitcoin-core-dev
272016-09-07T04:15:42 *** TomMc has quit IRC
282016-09-07T04:41:46 *** fengling has quit IRC
292016-09-07T04:47:10 *** kadoban has quit IRC
302016-09-07T04:49:00 *** pavel_ has quit IRC
312016-09-07T04:55:48 *** sdaftuar has quit IRC
322016-09-07T04:56:00 *** zxzzt has quit IRC
332016-09-07T04:56:09 *** paveljanik has joined #bitcoin-core-dev
342016-09-07T04:56:27 *** zxzzt has joined #bitcoin-core-dev
352016-09-07T04:56:29 *** morcos has quit IRC
362016-09-07T04:56:45 *** sdaftuar has joined #bitcoin-core-dev
372016-09-07T04:58:10 *** morcos has joined #bitcoin-core-dev
382016-09-07T05:00:04 *** dcousens has quit IRC
392016-09-07T05:10:19 *** fengling has joined #bitcoin-core-dev
402016-09-07T05:10:55 *** sdaftuar has quit IRC
412016-09-07T05:11:04 *** morcos has quit IRC
422016-09-07T05:11:36 *** zxzzt has quit IRC
432016-09-07T05:11:53 *** zxzzt has joined #bitcoin-core-dev
442016-09-07T05:12:49 *** sdaftuar has joined #bitcoin-core-dev
452016-09-07T05:12:51 *** morcos has joined #bitcoin-core-dev
462016-09-07T05:19:48 *** AtashiCon has quit IRC
472016-09-07T05:39:43 *** dcousens has joined #bitcoin-core-dev
482016-09-07T06:11:47 *** AtashiCon has joined #bitcoin-core-dev
492016-09-07T06:13:48 *** goregrin1 has quit IRC
502016-09-07T06:39:31 *** Ylbam has joined #bitcoin-core-dev
512016-09-07T06:39:57 *** Arnavion has quit IRC
522016-09-07T06:41:04 *** Arnavion has joined #bitcoin-core-dev
532016-09-07T06:47:03 *** blur3d has joined #bitcoin-core-dev
542016-09-07T06:58:03 *** BashCo has quit IRC
552016-09-07T07:15:23 *** blur3d has quit IRC
562016-09-07T07:17:42 *** BashCo has joined #bitcoin-core-dev
572016-09-07T07:23:11 *** spudowiar has joined #bitcoin-core-dev
582016-09-07T07:36:23 *** laurentmt has joined #bitcoin-core-dev
592016-09-07T07:36:50 *** laurentmt has quit IRC
602016-09-07T07:39:43 *** laurentmt has joined #bitcoin-core-dev
612016-09-07T07:40:48 *** laurentmt has quit IRC
622016-09-07T07:47:31 *** rubensayshi has joined #bitcoin-core-dev
632016-09-07T08:24:52 *** spudowiar is now known as SlimBot_
642016-09-07T08:24:57 *** SlimBot_ is now known as spudowiar
652016-09-07T08:31:26 <gmaxwell> Perhaps some release advice for us, https://blogs.msdn.microsoft.com/oldnewthing/20160906-00/?p=94255
662016-09-07T08:31:55 *** dcousens has quit IRC
672016-09-07T08:34:23 *** spudowiar is now known as cybojenix
682016-09-07T08:34:44 *** cybojenix is now known as spudowiar
692016-09-07T08:34:52 *** davec has quit IRC
702016-09-07T08:35:06 <jonasschnelli> gmaxwell: so we need to have a backdrop wallpaper in Qt: :)
712016-09-07T08:35:38 *** davec has joined #bitcoin-core-dev
722016-09-07T08:35:39 <jonasschnelli> But besides that, I think different splash screens between major versions would indeed be good
732016-09-07T08:36:03 <jonasschnelli> Not sure how to adapt this to bitcoind though, :)
742016-09-07T08:37:39 <Yogh> print a hot original welcome message when starting the daemon?
752016-09-07T08:37:42 <gmaxwell> just the general principle that if the chrome doesn't change many people will assume not much has changed.
762016-09-07T08:49:08 *** kyletorpey has quit IRC
772016-09-07T08:50:03 *** spudowiar has quit IRC
782016-09-07T09:01:03 *** aalex_ has quit IRC
792016-09-07T09:01:51 *** aalex_ has joined #bitcoin-core-dev
802016-09-07T09:10:30 *** vega4 has joined #bitcoin-core-dev
812016-09-07T09:11:14 *** assder has quit IRC
822016-09-07T09:17:22 *** vega4 has left #bitcoin-core-dev
832016-09-07T09:19:22 *** vega4 has joined #bitcoin-core-dev
842016-09-07T09:34:06 *** fengling has quit IRC
852016-09-07T09:42:11 *** fengling has joined #bitcoin-core-dev
862016-09-07T09:47:05 *** jtimon has joined #bitcoin-core-dev
872016-09-07T09:54:42 *** Giszmo has joined #bitcoin-core-dev
882016-09-07T10:45:06 *** fengling has quit IRC
892016-09-07T10:50:07 *** fengling has joined #bitcoin-core-dev
902016-09-07T11:02:08 *** Arnavion has quit IRC
912016-09-07T11:02:37 *** Arnavion has joined #bitcoin-core-dev
922016-09-07T11:08:52 *** moli has quit IRC
932016-09-07T11:09:09 *** AaronvanW has quit IRC
942016-09-07T11:10:46 <GitHub123> [bitcoin] sipa pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/8ea44405e76f...e2a1a1ee8951
952016-09-07T11:10:46 <GitHub123> bitcoin/master 144ed76 Pieter Wuille: Fix some locks...
962016-09-07T11:10:47 <GitHub123> bitcoin/master e2a1a1e Pieter Wuille: Merge #8606: Fix some locks...
972016-09-07T11:10:56 <GitHub69> [bitcoin] sipa closed pull request #8606: Fix some locks (master...lockfix) https://github.com/bitcoin/bitcoin/pull/8606
982016-09-07T11:11:03 *** jtimon has quit IRC
992016-09-07T11:14:32 *** moli has joined #bitcoin-core-dev
1002016-09-07T11:20:19 <GitHub6> [bitcoin] sipa pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/e2a1a1ee8951...5b2ea29cf4fd
1012016-09-07T11:20:19 <GitHub6> bitcoin/master eb3596f Gregory Maxwell: Do not add random inbound peers to addrman....
1022016-09-07T11:20:20 <GitHub6> bitcoin/master 5b2ea29 Pieter Wuille: Merge #8594: Do not add random inbound peers to addrman....
1032016-09-07T11:20:34 <GitHub39> [bitcoin] sipa closed pull request #8594: Do not add random inbound peers to addrman. (master...no_inbound_addr) https://github.com/bitcoin/bitcoin/pull/8594
1042016-09-07T11:20:39 *** cryptapus has joined #bitcoin-core-dev
1052016-09-07T11:27:47 *** vega4 has quit IRC
1062016-09-07T11:41:27 *** AaronvanW has joined #bitcoin-core-dev
1072016-09-07T11:41:28 *** AaronvanW has quit IRC
1082016-09-07T11:41:28 *** AaronvanW has joined #bitcoin-core-dev
1092016-09-07T11:46:13 *** Samdney has joined #bitcoin-core-dev
1102016-09-07T11:54:06 <GitHub136> [bitcoin] paveljanik opened pull request #8677: Do not shadow upper local variable 'send', prevent -Wshadow compiler warning. (master...20160907_Wshadow_8606) https://github.com/bitcoin/bitcoin/pull/8677
1112016-09-07T11:55:06 *** fengling has quit IRC
1122016-09-07T12:03:15 *** fengling has joined #bitcoin-core-dev
1132016-09-07T12:27:19 *** justanotheruser has quit IRC
1142016-09-07T12:30:49 *** jtimon has joined #bitcoin-core-dev
1152016-09-07T12:31:53 *** Chris_Stewart_5 has joined #bitcoin-core-dev
1162016-09-07T12:40:29 *** dcousens has joined #bitcoin-core-dev
1172016-09-07T13:09:29 *** Chris_Stewart_5 has quit IRC
1182016-09-07T13:10:28 *** kadoban has joined #bitcoin-core-dev
1192016-09-07T13:25:09 *** Chris_Stewart_5 has joined #bitcoin-core-dev
1202016-09-07T13:27:46 *** Giszmo has quit IRC
1212016-09-07T13:47:16 *** Giszmo has joined #bitcoin-core-dev
1222016-09-07T13:49:13 *** Samdney has quit IRC
1232016-09-07T14:04:37 *** rubensayshi has quit IRC
1242016-09-07T14:06:25 *** OxADADA_ is now known as OxADADA
1252016-09-07T14:06:38 <OxADADA> sup
1262016-09-07T14:06:38 *** TomMc has joined #bitcoin-core-dev
1272016-09-07T14:08:54 <GitHub150> [bitcoin] jonasschnelli opened pull request #8678: [Qt][CoinControl] fix UI bug that could result in paying unexpected fee (master...2016/09/qt_cc_ui_radrio_fix) https://github.com/bitcoin/bitcoin/pull/8678
1282016-09-07T14:20:31 *** Guyver2 has joined #bitcoin-core-dev
1292016-09-07T14:20:34 *** aalex_ has quit IRC
1302016-09-07T14:20:35 *** mn3monic has quit IRC
1312016-09-07T14:20:35 *** Bootvis has quit IRC
1322016-09-07T14:20:35 *** Taek has quit IRC
1332016-09-07T14:21:27 *** Guyver2 has quit IRC
1342016-09-07T14:24:06 *** fengling has quit IRC
1352016-09-07T14:24:48 *** jannes has quit IRC
1362016-09-07T14:25:54 *** Guyver2 has joined #bitcoin-core-dev
1372016-09-07T14:31:58 *** dcousens has quit IRC
1382016-09-07T14:39:24 *** aalex_ has joined #bitcoin-core-dev
1392016-09-07T14:42:12 *** mn3monic has joined #bitcoin-core-dev
1402016-09-07T14:42:12 *** Bootvis has joined #bitcoin-core-dev
1412016-09-07T14:42:12 *** Taek has joined #bitcoin-core-dev
1422016-09-07T14:47:07 <GitHub71> [bitcoin] sipa opened pull request #8679: [0.13] Various backports (0.13...backports_0.13) https://github.com/bitcoin/bitcoin/pull/8679
1432016-09-07T14:57:34 *** arubi has quit IRC
1442016-09-07T14:59:59 *** arubi has joined #bitcoin-core-dev
1452016-09-07T15:09:30 *** achow101 has quit IRC
1462016-09-07T15:09:50 *** achow101 has joined #bitcoin-core-dev
1472016-09-07T15:21:54 *** Samdney has joined #bitcoin-core-dev
1482016-09-07T15:26:09 *** morcos has quit IRC
1492016-09-07T15:32:25 *** BashCo has quit IRC
1502016-09-07T15:41:19 *** morcos has joined #bitcoin-core-dev
1512016-09-07T16:43:03 *** spudowiar has joined #bitcoin-core-dev
1522016-09-07T16:55:13 *** skyraider has joined #bitcoin-core-dev
1532016-09-07T16:56:18 <skyraider> trying to make setup.py install find a package with wheels-only (no sdist) archives on pypi. pythonwheels.com claims setuptools supports wheels, but https://github.com/pypa/setuptools/issues/558 claims setuptools does not support wheels. i'm running into "No local packages or working download links found for mypackage==myversion".
1542016-09-07T16:56:26 <skyraider> wrong channel, disregard.
1552016-09-07T16:56:48 *** skyraider has left #bitcoin-core-dev
1562016-09-07T16:58:33 *** BashCo has joined #bitcoin-core-dev
1572016-09-07T17:23:15 <GitHub157> [bitcoin] theuni opened pull request #8680: Address Travis spurious failures (master...rpc-waitforblock) https://github.com/bitcoin/bitcoin/pull/8680
1582016-09-07T17:26:57 <GitHub23> [bitcoin] MarcoFalke closed pull request #8644: [0.13 backport] Check for compatibility with download in FindNextBlocksToDownload (0.13...findnext_backport) https://github.com/bitcoin/bitcoin/pull/8644
1592016-09-07T17:28:29 *** MarcoFalke has joined #bitcoin-core-dev
1602016-09-07T17:28:52 *** Giszmo has quit IRC
1612016-09-07T17:37:23 *** Arnavion has quit IRC
1622016-09-07T17:37:27 <GitHub1> [bitcoin] MarcoFalke pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/5b2ea29cf4fd...ec139a5621a9
1632016-09-07T17:37:27 <GitHub1> bitcoin/master 426e7bc Jeremy Rubin: Fix obvious assignment/equality error in test
1642016-09-07T17:37:28 <GitHub1> bitcoin/master ec139a5 MarcoFalke: Merge #8673: Trivial: Fix obvious assignment/equality error in test...
1652016-09-07T17:37:42 <GitHub128> [bitcoin] MarcoFalke closed pull request #8673: Trivial: Fix obvious assignment/equality error in test (master...fix_arith_tests_trivial) https://github.com/bitcoin/bitcoin/pull/8673
1662016-09-07T17:37:58 *** Arnavion has joined #bitcoin-core-dev
1672016-09-07T17:45:14 *** Giszmo has joined #bitcoin-core-dev
1682016-09-07T18:15:11 <sipa> MarcoFalke oops, i missed you already had a backport
1692016-09-07T18:18:45 *** pmienk_ has quit IRC
1702016-09-07T18:30:04 *** pmienk_ has joined #bitcoin-core-dev
1712016-09-07T18:34:21 *** pmienk_ has quit IRC
1722016-09-07T18:46:54 *** pmienk_ has joined #bitcoin-core-dev
1732016-09-07T19:25:09 <morcos> sipa: i'm trying to dive back into things now, and picking up the benchmarking for speeding up ConnectBlock to try and help jeremyrubin's stuff get finalized. It appears that connecting transactions slowed down somewhat significantly in master. I think this is due to 8524.
1742016-09-07T19:25:42 <morcos> For now those hash calculations are just extraneous, but even post segwit, i think the effect is you've moved the hashing from something thats parallelized to something thats not
1752016-09-07T19:26:55 <morcos> the benefit of solving the O(n^2) problem dominates of course in the worst case, but in the typical case, i think this is maybe a slowdown we'd like to avoid
1762016-09-07T19:27:18 <morcos> just wondering if you'd thought about any of this, or whether it makes sense to store these hashes from ATMP?
1772016-09-07T19:27:38 *** Yogh has quit IRC
1782016-09-07T19:28:28 *** Yogh has joined #bitcoin-core-dev
1792016-09-07T19:28:51 <sipa> morcos: i'm perfectly fine with moving the hashing to a more parallellizable place
1802016-09-07T19:29:08 <gmaxwell> Why was it parallel before but not now? I don't think we care if there is parallel hashing within a single transaction (that seems too fine grained to me), so long as multiple transactions could run in parallel?
1812016-09-07T19:29:31 <sipa> all sighash precalc now runs in the main thread
1822016-09-07T19:29:45 <morcos> its tricky to parallelize because then you need to synchronize a cache for them right... which is what you were trying to avoid
1832016-09-07T19:30:16 <gmaxwell> but the cache need not be shared across transactions
1842016-09-07T19:30:49 <morcos> gmaxwell: yeah what sipa said, the main thread which is connecting the transactions going to end up being the bottle neck, not sure how many script verification cores are required for that to be the case, but its good to not push more and more stuff into that
1852016-09-07T19:31:06 *** jtimon has quit IRC
1862016-09-07T19:31:14 <sipa> though it does run simultaneously with other transactions' normal signature checks
1872016-09-07T19:31:28 <morcos> perhaps there is a design that puts all scriptchecks from a single tx onto a single thread
1882016-09-07T19:31:29 <sipa> but yes, for the average case, moving more into the main thread is not good
1892016-09-07T19:32:08 <morcos> but that breaks down for a really big tx
1902016-09-07T19:32:46 <gmaxwell> ah, main thread. but .. yes, I think you should keep the scriptchecks for a single transaction togeather, process them as a group, and share the hashing along with them. ... it wouldn't exploit parallelism for big transactions, but I don't know if thats really needed.
1912016-09-07T19:34:00 <jeremyrubin> i think maybe if you can estimate by #inputs or something
1922016-09-07T19:34:24 <jeremyrubin> and split it if too big
1932016-09-07T19:34:34 <jeremyrubin> but you won't be parallel if you have, say, one big txn
1942016-09-07T19:34:42 <gmaxwell> previously the dispatch overhead made that irrelevant-- but perhaps with jeremyrubin's work the overhead is low enough to make that kind of parallelism useful for something.
1952016-09-07T19:36:45 <morcos> so what are your thoughts on caching the hashes for a tx in AcceptToMemoryPool and then the main thread can still check that first before calculating them itself, so maybe that would be pretty fast
1962016-09-07T19:37:26 <morcos> would need only simple synchronization on that b/c its only accessed by ATMP and the main thread
1972016-09-07T19:37:29 <jeremyrubin> What about using some kind of atomic future for the hashes
1982016-09-07T19:37:44 <jeremyrubin> First script check to get there evaluates it and fills it in?
1992016-09-07T19:37:46 <gmaxwell> uh the cacheline bouncing, it hurts.
2002016-09-07T19:38:09 <jeremyrubin> Well...
2012016-09-07T19:38:09 <gmaxwell> morcos: similar to how we have the transaction id hash just calculated once (hopefully) and carried around with the transaction?
2022016-09-07T19:38:12 <jeremyrubin> actually not that bad
2032016-09-07T19:38:26 <jeremyrubin> MESI state only causes invalidation on write
2042016-09-07T19:38:33 <jeremyrubin> which happens once
2052016-09-07T19:38:45 <gmaxwell> there is no actual meaningful concurrency here, however.
2062016-09-07T19:39:46 <gmaxwell> only false concurency created by logistics. (to the extent this hashing is done multiple times, it's only because its being done redundantly)
2072016-09-07T19:41:12 <gmaxwell> morcos: or store validation flags in the mempool and assume valid if the same flags are still in effect ...
2082016-09-07T19:41:36 <sdaftuar> gmaxwell: gah
2092016-09-07T19:41:39 <morcos> gmaxwell: ha, the validation cache, that scares me!
2102016-09-07T19:42:01 <morcos> but yeah i think easy enough to just store the hashes
2112016-09-07T19:45:18 <morcos> ok, well not an emergency, just wanted to see what thoughts you guys had, will circle back when we have a proposed change
2122016-09-07T19:55:50 *** spudowiar has quit IRC
2132016-09-07T19:59:03 *** timothy has quit IRC
2142016-09-07T19:59:06 *** drizztbsd has joined #bitcoin-core-dev
2152016-09-07T19:59:35 *** drizztbsd is now known as timothy
2162016-09-07T20:00:43 *** cryptapus has quit IRC
2172016-09-07T20:12:11 *** spudowiar has joined #bitcoin-core-dev
2182016-09-07T20:21:45 <Chris_Stewart_5> jeremyrubin: With your new pull request (#8670), are you suggesting writing a new testing framework specific to bitcoin from scratch?
2192016-09-07T20:23:06 *** jtimon has joined #bitcoin-core-dev
2202016-09-07T20:36:39 <jeremyrubin> The content of the tests will not change, just the runner.
2212016-09-07T20:36:45 <jeremyrubin> Chris_Stewart_5: ^^
2222016-09-07T20:50:26 *** CocoBTC has joined #bitcoin-core-dev
2232016-09-07T21:18:29 *** Chris_Stewart_5 has quit IRC
2242016-09-07T21:31:39 *** cryptapus_afk is now known as cryptapus
2252016-09-07T21:41:46 *** kyletorpey has joined #bitcoin-core-dev
2262016-09-07T21:49:04 *** Lightsword has quit IRC
2272016-09-07T21:50:41 *** Lightsword has joined #bitcoin-core-dev
2282016-09-07T21:54:22 <sipa> jeremyrubin: feature request: a command line argument to make the binary crash on test failure
2292016-09-07T21:54:29 <sipa> so a core dump file gets created
2302016-09-07T21:56:32 *** Guyver2 has quit IRC
2312016-09-07T21:57:01 <jeremyrubin> sipa: please put in the issue to keep it catalouged
2322016-09-07T21:57:17 <jeremyrubin> but good suggestion; I was trying to get core dumps on travis for a while and couldn't
2332016-09-07T21:57:49 *** PRab has joined #bitcoin-core-dev
2342016-09-07T22:01:19 *** cryptapus is now known as cryptapus_afk
2352016-09-07T22:08:08 <kanzure> what were you trying? the after_failure stuff wasn't working for you or something? or it did work, but couldn't find the actual core dumps, and therefore couldn't upload those somewhere?
2362016-09-07T22:08:26 <kanzure> btw i also think running gdb bt might be good enough in after_failure
2372016-09-07T22:08:36 <kanzure> perhaps once for each core dump too
2382016-09-07T22:10:03 *** justanotheruser has joined #bitcoin-core-dev
2392016-09-07T22:12:09 *** spudowiar has quit IRC
2402016-09-07T22:12:34 <sipa> jeremyrubin: agree, will report on issur
2412016-09-07T22:13:55 *** TomMc has quit IRC
2422016-09-07T22:14:48 *** vega4 has joined #bitcoin-core-dev
2432016-09-07T22:15:59 <kanzure> jeremyrubin: for 8670 perhaps the silly xml outputs should be considered, and (separately) compatibility with mutation testing.
2442016-09-07T22:17:43 *** dcousens has joined #bitcoin-core-dev
2452016-09-07T22:18:49 <jeremyrubin> kanzure: how about jsons the kids like those these days
2462016-09-07T22:19:27 * BlueMatt stabs kanzure
2472016-09-07T22:19:28 <kanzure> yeah but i forget the name of the json test output 'standard'/format
2482016-09-07T22:20:01 <BlueMatt> kanzure: how about the first personw ho needs that can implement it
2492016-09-07T22:20:17 <gmaxwell> ugh
2502016-09-07T22:20:20 <kanzure> BlueMatt: the issuetext is asking for
2512016-09-07T22:20:25 <kanzure> ok whatever. i don't care.
2522016-09-07T22:21:26 <kanzure> it would be more efficient to complain about the issue text in particular in the future :)
2532016-09-07T22:21:40 <BlueMatt> yes
2542016-09-07T22:28:03 *** TomMc has joined #bitcoin-core-dev
2552016-09-07T22:30:16 *** veleiro has joined #bitcoin-core-dev
2562016-09-07T22:48:49 <veleiro> Im trying to build v0.13.0 from source on a beaglebone black with debian jessie, i had to compile db4.8 from source but i installed libboost-all-dev, but in the ./configure stage the error i see is "configure: error: No working boost sleep implementation found." I went through https://github.com/bitcoin/bitcoin/issues/3003 with no success
2572016-09-07T22:49:28 *** MarcoFalke has quit IRC
2582016-09-07T22:49:32 <veleiro> also, the build readme isnt clear about compiling boost from source
2592016-09-07T22:49:52 <sipa> that's surprising
2602016-09-07T22:50:06 <sipa> libboost-all-dev should have a sleep implementatio
2612016-09-07T22:50:20 <sipa> is itp possible you have multiple boost versions side by side?
2622016-09-07T22:52:14 <veleiro> its possible that i may have tried to compile boost from source when i went through this before, but it was a few weeks, but wouldnt ./configure use the system package version unless specified otherwise?
2632016-09-07T22:53:05 <veleiro> i'll try to remove all boost and see whats left over
2642016-09-07T22:53:41 <sipa> it searches in many places
2652016-09-07T22:53:58 <sipa> what os is this?
2662016-09-07T22:54:03 <sipa> and diatribution
2672016-09-07T22:54:08 <veleiro> debian 8 jessie
2682016-09-07T22:54:14 <veleiro> on armv7
2692016-09-07T22:54:24 <sipa> that should work fine
2702016-09-07T22:54:34 <sipa> you can also try to do a depends build
2712016-09-07T22:54:48 <sipa> which builds all dependencies for you and creates a static buildd
2722016-09-07T22:54:48 <GitHub190> [bitcoin] JeremyRubin opened pull request #8681: Performance Regression Fix: Pre-Allocate txChanged vector (master...fix-perf-regressed-txChanged) https://github.com/bitcoin/bitcoin/pull/8681
2732016-09-07T22:55:40 *** TomMc has quit IRC
2742016-09-07T22:56:38 <veleiro> looks like something is also in /usr/local/include/boost/ after removing boost libraries. I'll try a depends build
2752016-09-07T22:57:11 <sipa> cd into depends/
2762016-09-07T22:57:15 <sipa> and follow the readme
2772016-09-07T23:03:03 <cfields> iirc "No working boost sleep" is kinda code for "boost failed to compile on the sleep test"
2782016-09-07T23:03:41 <cfields> i'd suggest that we fix that, except that the test can go away after the std::thread PR goes in
2792016-09-07T23:07:45 <sipa> \o/
2802016-09-07T23:08:03 *** CocoBTC has quit IRC
2812016-09-07T23:14:48 *** Chris_Stewart_5 has joined #bitcoin-core-dev
2822016-09-07T23:29:27 <cfields> morcos / jeremyrubin: as jeremyrubin suggested above, here's a quick hack at a simple future for the new hashing: https://github.com/theuni/bitcoin/commit/e93f724f0554dae43063080ea9d6c87650315c6e
2832016-09-07T23:30:33 <cfields> in that commit the wait() is directly after the calculation, so it can only be worse. Would need to experiment with how early we can begin hashing to offload the most
2842016-09-07T23:34:16 <veleiro> error in depends build too :( got any ideas? I couldnt find anything right off: "error: toolset gcc initialization: error: provided command 'armv7l-unknown-linux-gnueabihf-g++' not found" (gcc version 4.9.2)
2852016-09-07T23:35:04 <jeremyrubin> cfields: that was fast
2862016-09-07T23:36:52 <jeremyrubin> Hm
2872016-09-07T23:37:06 <jeremyrubin> I like the general idea...
2882016-09-07T23:38:26 <jeremyrubin> Initially I figured that the scriptcheck threads could, on a first visited policy, compute these hashes.
2892016-09-07T23:38:33 <jeremyrubin> Obviously putting them earlier is better
2902016-09-07T23:39:14 <jeremyrubin> Also std::mutex is :/
2912016-09-07T23:40:05 <jeremyrubin> nicer to have cooridnation free.
2922016-09-07T23:40:11 <jeremyrubin> I have an idea
2932016-09-07T23:40:18 <jeremyrubin> CBlock is immutable?
2942016-09-07T23:40:28 <jeremyrubin> What if you just pass a pointer to it
2952016-09-07T23:40:41 <jeremyrubin> and have the background thread ONLY do all the hashes
2962016-09-07T23:52:06 <cfields> jeremyrubin: sure, it was just a quick hack. I figured it'd be helpful to have the scriptcheck threads do it, but that got complicated in my head pretty quickly. Figured it'd be worth experimenting before committing to the complication
2972016-09-07T23:53:09 <cfields> jeremyrubin: i don't think the overhead of the mutex/condvar is significant enough to throw off the "is it worth doing" tests :)
2982016-09-07T23:55:00 <cfields> jeremyrubin: and sure, makes sense to do on the per-block level, but only if we don't end up caching in ATMP
2992016-09-07T23:56:43 *** davec has quit IRC
3002016-09-07T23:58:48 *** justanotheruser is now known as justanotherus3r
3012016-09-07T23:59:02 *** davec has joined #bitcoin-core-dev