19:00:31 #startmeeting 19:00:31 Meeting started Thu May 14 19:00:31 2020 UTC. The chair is wumpus. Information about MeetBot at http://wiki.debian.org/MeetBot. 19:00:31 Useful Commands: #action #agreed #help #info #idea #link #topic. 19:00:38 hi 19:00:44 hi 19:00:53 Hi 19:00:55 #bitcoin-core-dev Meeting: wumpus sipa gmaxwell jonasschnelli morcos luke-jr sdaftuar jtimon cfields petertodd kanzure bluematt instagibbs phantomcircuit codeshark michagogo marcofalke paveljanik NicolasDorier jl2012 achow101 meshcollider jnewbery maaku fanquake promag provoostenator aj Chris_Stewart_5 dongcarl gwillen jamesob ken281221 ryanofsky gleb moneyball kvaciral ariard digi_james amiti fjahr 19:00:57 jeremyrubin lightlike emilengler jonatack hebasto jb55 19:01:00 Hi 19:01:04 hi 19:01:05 hi 19:01:08 hi 19:01:10 hi 19:01:33 hi 19:01:35 hi 19:01:48 hola 19:02:07 no proposed meeting topics in http://gnusha.org/bitcoin-core-dev/proposedmeetingtopics.txt (only a suggestion for high prio for review) 19:02:48 hi 19:03:04 w.r.t. hi prio, i'd like to get the mempool project back on track it's review blocked 19:03:15 i have a topic: ok to update to boost 1.59? and if so, when? 19:03:19 any any last minute proposals? 19:03:51 sipa: sgtm (though I'm not sure everyone is here wrt that discussion) 19:04:01 #topic High priority for review 19:04:35 Add #18638 to high prio (MarcoFalke, not actually a topic) 19:04:37 https://github.com/bitcoin/bitcoin/issues/18638 | net: Use mockable time for ping/pong, add tests by MarcoFalke · Pull Request #18638 · bitcoin/bitcoin · GitHub 19:05:01 Could we add #18960 as a blocker? 19:05:02 https://github.com/bitcoin/bitcoin/issues/18960 | [indexes] Add compact block filter headers cache by jnewbery · Pull Request #18960 · bitcoin/bitcoin · GitHub 19:05:26 sure 19:05:59 added 19:06:06 thanks! 19:06:58 https://github.com/bitcoin/bitcoin/projects/8 6 blockers, 1 bugfix, 4 chasing concept ACK now 19:07:21 Can we add https://github.com/bitcoin/bitcoin/pull/18191? 19:07:24 jeremyrubin: do you have any specific suggestions wrt prs? 19:07:28 ah thanks 19:08:13 added 19:09:28 #topic required boost to 1.59 (sipa) 19:09:50 hi 19:10:04 see also #8875 19:10:04 i'm considering various approaches to improving to some of the p2p tx download logic 19:10:05 https://github.com/bitcoin/bitcoin/issues/8875 | Bump minimum required Boost version · Issue #8875 · bitcoin/bitcoin · GitHub 19:10:51 and one of them would rely on boost multi_index's ranked indexes 19:11:00 which were added in boost 1.59 19:11:14 so i was wondering if that's a possibility for 0.21 19:11:23 or if i should consider other options (which i may do anyway) 19:11:24 that seems a fair enough reason 19:11:42 * luke-jr grumbles about RHEL/CentOS packages being hard to search 19:11:49 I think the most important thing to check is the versions in currently supported linux distros for building 19:12:14 "Version 1.59.0 August 13th, 2015 15:23 GMT" that sounds old enough, but knowing what old crap some distros ship with, it doesn't say everything 19:12:42 well if we're going to be building with c++17, it seems we'd be relying on compilers newer than that anyway 19:13:01 https://github.com/bitcoin/bitcoin/pull/16381#issuecomment-511277755 19:13:03 yes 19:13:16 sipa: ranked indexes look pretty cool 19:13:21 they're very cool 19:13:32 sounds like RHEL/CentOS 8 has boost 1.66 19:13:56 sipa: the dumbest way to find out would be to do a PR that uses that feature and see if it passes travis :) 19:14:14 luke-jr: oh! that's surprisingly new 19:14:14 Debian has 1.67 19:14:40 ok, will try opening a dummy PR and see what happens 19:14:43 good enough for me 19:14:48 does it make sense to do a minimum bump for feature or to bump to the highest minimum target we support? 19:14:51 wumpus: not 100% sure 19:15:07 well sipa has a good reason now 19:15:08 sipa: maybe check there's no bug-fixes to that new functionality in newer versions? 19:15:22 the reason #16381 was closed is that it wasn't important/urgent at the time 19:15:23 https://github.com/bitcoin/bitcoin/issues/16381 | Set minimum required Boost to 1.53.0 by hebasto · Pull Request #16381 · bitcoin/bitcoin · GitHub 19:15:36 1.64 has a bug fix related to ranked indices 19:15:56 sipa: how severe? 19:15:58 but the bug is just something that doesn't compile, which should 19:16:01 so not severe at all 19:16:21 "it's eight years old" isn't enough to bump a minimum version, "I need this new data structure" well might be 19:16:58 https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/8.0_release_notes/index "Boost updated to version 1.66" 19:17:08 we already use boost 1.70 in depends so that's definitely new enough 19:17:15 oh! 19:17:16 ok 19:17:38 so yeah the current version used for gitian builds doesn't need to be bumped, only the minimum version 19:17:43 that's enough for my topic 19:17:45 sipa: are you adding this to mempool or to a diff data structure? 19:17:48 (supported at all) 19:18:07 Ubuntu LTS is at 1.71 19:18:14 Arch has 1.72 19:18:15 Just worried that if it goes to mempool multiindex it looks like there's a non-trivial perfromance overhead on all erases 19:18:24 Gentoo stablre is 1.72 19:18:25 if luke-jr is right it's complely uncontroversial to bump the minimum to 1.59 19:18:28 but this is less build systemy and more about how you're using it 19:18:46 (it likely depends on CenOS which is alwasys slowest) 19:19:18 SuSE is 1.66 19:19:25 jeremyrubin: no, this is unrelated to mempool 19:19:29 any other popular distros these days? 19:19:40 it's in net processing 19:19:57 cool looking forward to seeing it. 19:20:48 use might actually have some speedups for mempool come to think of it for the eviction logic & mining logic. will noodle on that. 19:21:50 any other topics for this week? 19:21:59 PSA: we're wrapping up 0.20.0rc2 at the moment 19:22:05 they add 1 pointer memory usage per entry, fwiw (compared to ordered_index) 19:22:11 wumpus: do you want me to try to reduce the size of my 0.20 release tarball fixes PR? 19:22:17 #18973 19:22:19 https://github.com/bitcoin/bitcoin/issues/18973 | [0.20] Final backports for rc2 by fanquake · Pull Request #18973 · bitcoin/bitcoin · GitHub 19:22:22 (finally) 19:22:24 sipa: it's the log n erase that's more worrisome 19:22:46 luke-jr: sure, but we're not going to hold up the rc on it 19:23:37 wumpus: it's a security violation for users who build from source 19:23:45 to answer how relevant it is 19:24:08 how so? 19:24:11 and can result in leaking user private info to the network 19:24:25 wumpus: it's looking at every parent directory to the source code for a git repo 19:24:33 I mean, it's been absurd how long it's taking to roll this release 19:24:33 and taking whatever HEAD hash it finds into the version number 19:25:03 pulling a hash out of an unrelated git repo the user might have, and publishing it, isn't very nice 19:25:16 I agree 19:25:19 that sounds like something we should fix 19:25:29 (Gentoo will kill the build instead) 19:26:01 but honestly we should cut a release at some point, there's aalways some edge case 19:26:13 this is a regression, too 19:27:16 also #18902 rewrites a large part of the gitian descriptor and changes 6 files, can't this be fixed with some small patch? 19:27:18 https://github.com/bitcoin/bitcoin/issues/18902 | Bugfix: Only use git for build info if the repository is actually the right one by luke-jr · Pull Request #18902 · bitcoin/bitcoin · GitHub 19:27:32 probably 19:27:55 I was trying to avoid conflicts with the autogen fix, but I guess we're missing that? 19:28:04 in any case: I agree it should be fixed, but I don't think it's terribly urgent 19:28:39 as a workaround a user could use BITCOIN_GENBUILD_NO_GIT variable 19:28:59 maybe a release notes mention of the known issues 19:29:07 yes 19:29:21 I think that's fine 19:31:11 current draft is in wiki still? or git? 19:31:56 wiki https://github.com/bitcoin-core/bitcoin-devwiki/wiki/0.20.0-Release-Notes-Draft 19:32:15 k, I'll see about writing something up for that 19:32:22 thanks! 19:32:56 should I reduce the footprint of #18902 and/or #18909 also? 19:32:58 https://github.com/bitcoin/bitcoin/issues/18902 | Bugfix: Only use git for build info if the repository is actually the right one by luke-jr · Pull Request #18902 · bitcoin/bitcoin · GitHub 19:32:59 https://github.com/bitcoin/bitcoin/issues/18909 | [0.20] Fix release tarball by luke-jr · Pull Request #18909 · bitcoin/bitcoin · GitHub 19:33:58 would be nice to just get 18902 merged to master as-is to fix all the issues at once :x but maybe reducing 18909 makes more sense 19:35:30 fwiw the git_check_in_repo() check looks straightforward enough 19:35:42 why isn't that enough? 19:36:25 (or alternatively, check if a .git is in the top level of the source directory) 19:37:11 besides that change in genbuild.sh, are any other changes needed to fix this? 19:37:57 it is all about "version hack" 19:38:18 in gitian builds 19:38:28 wumpus: we'd need to restore the "version hack" 19:38:38 luke-jr talks about a security vulnerability importing data from a git repository above the bitcoin one, this can be avoided by checking in genbuild that we're really in a git repo right? 19:38:40 the genbuild changes in 18902 are a proper fix for that 19:39:03 (I mean, in the right git repo) 19:39:22 yes my question is why isn't that the only change needed? 19:40:16 hebasto: so we can fix this by reverting a change too? 19:40:23 #18349 probably has simpler approach 19:40:24 those are the only commits specific to 18902 - the other 3 are inherited from 18818 19:40:25 https://github.com/bitcoin/bitcoin/issues/18349 | build: Fix quick hack for version string in releases by hebasto · Pull Request #18349 · bitcoin/bitcoin · GitHub 19:40:30 (at least in 0.20) 19:41:04 wumpus: not sure 19:41:44 reverting a change would be the first commit of 18902 + restoring the "version hack" 19:42:05 ok 19:42:10 (to literally revert, would be undoing all of the git-archive stuff) 19:42:18 so it's much more complex than I thought 19:42:38 wumpus: it can be simplified with a few hours I suspect 19:42:41 let's just add a note to the release notes then 19:42:50 any other topics? 19:44:05 #endmeeting