19:00:23 #startmeeting 19:00:23 Meeting started Thu Jun 2 19:00:23 2016 UTC. The chair is wumpus. Information about MeetBot at http://wiki.debian.org/MeetBot. 19:00:23 Useful Commands: #action #agreed #help #info #idea #link #topic. 19:00:35 aww, too fast 19:00:59 I was going to propose a topic very unseriously explicitly outside the meeting. :P now it's time to be serious 19:01:09 hi 19:01:34 I guess segwit is the recurring topic, any other topic proposals? 19:01:34 jtimon: Cory: morcos: sdaftuar: btcdrak: phantomcircuit: jonasschnelli: 19:01:42 Here! 19:01:47 cfields_! 19:02:02 I can give some updates on compactblock testing, since it seems that Matt isn't around (or if he shows up, I expect he can) 19:02:42 great 19:03:17 #topic segwit review 19:03:49 let's start with that then 19:04:01 My plan right now is making the BIP9/GBT changes, removing segnet, removing the positive witness flag, and then creating a parallel rebase 19:04:12 with has a clean history but leads to the same tree 19:04:19 if that is something wanted at this point 19:04:20 111 comments on PR #7910, that must be a record 19:04:32 "positive witness flag"? 19:05:27 luke-jr: originally, there was a flag to the serialize code to say "serialize witnesses!"; at some point we realized that the opposite was better, as almost always you want to serialize witnesses, and there are just a few exceptions 19:05:48 so i introduced both temporarily, and required that exactly one of both was set 19:05:51 oh, I thought having it explicit was a good idea 19:06:23 luke-jr: one reason for the opposite is that a failure where you miss the positive flag will not be detected usually, but failure to set a negative flag will 19:06:30 luke-jr: i thought the same thing initially 19:06:59 sipa, are you removing new wallet functionality as well? 19:07:07 instagibbs: ? 19:07:09 sipa: what downsides are there to the current explicit flag? 19:07:25 21:06:22 < sipa> luke-jr: one reason for the opposite is that a failure where you miss the positive flag will not be detected usually, but failure to set a negative flag will 19:07:37 I assume you don't want users to have segwit addresses pre-rollout 19:07:41 luke-jr: indeed, I might have very well written it with a separate CWitnessTx class :) 19:07:53 sipa: I don't understand that answer. :< 19:07:55 (unless that would still be a testing branch) 19:08:31 luke-jr: if we use a positive flag only, and we miss setting that flag somewhere, it won't easily be detected, as wherever that data goes, it will likely also accept tx without witness 19:08:45 right, I'm talking about where we have both positive and negative flags.. 19:08:51 ah, that is also an option 19:09:05 it's just more code changes shattered all over the place 19:09:43 less likely to have it accidentally wrong, though 19:09:49 With segwit in place there really isn't much further concern about getting the wrong flags, it should only have been an issue with the migration where support had to be added in many places (like RPCs) that might have less test coverage. 19:10:11 If you get it wrong in the future, the thing you changed simply won't work right. And hopefully you'll be testing the thing you just changed. 19:10:20 I don't have a strong or strongly held opinion however. 19:10:50 we have a lot of outstanding PRs that may need to be updated that might not conflict 19:10:50 ack on cleaning history while removing the testnet 19:11:02 instagibbs: well in principle, master is attesting branch 19:11:35 there are a few things we need in first, though 19:11:37 jtimon: you mean segnet? 19:11:39 jtimon: you mean removing the segnet? don't make him remove testnet too :) 19:11:44 oh a testing, not attesting 19:12:03 petertodd: I believe sipa meant removing segwit's testnet 19:12:13 sipa: in any case, what do you think will let you get the code merged sooner? 19:12:13 #7749 and #8083 19:12:27 but yes ACK on cleaning up the history before merge 19:12:37 I like cleaning history for sure. 19:12:43 Future me thanks you. 19:13:03 well it definitely has to happen before merge 19:13:05 As said, we can ACK the sha256sum of the diff (if someone cares about integrity of an ACK) 19:13:08 the question whether the time is now for that 19:13:17 (GBT VB as well) 19:13:21 jonasschnelli: git internally has tree hashes 19:13:35 sipa: Nice. That should work. 19:14:13 So please review #7749 and #8083 19:14:26 did we get anywhere with the fundrawtransaction issue? 19:14:40 luke-jr: i can't remember the conclusion there 19:14:49 Re 8083: im finalizing the seeder part (nits and filterbitmap-whitelist) 19:14:49 q: is everything in the segwit PR meant to go in at once, or will it be split up in to, say, a pull with consensus/network changes, following up with wallet, and GUI changes 19:15:03 #action review #7749 and #8083 19:15:07 sipa: IIRC, 1) it's a problem; 2) we won't change consensus code to fix it 19:15:26 I don't know of any actual resolution to the problem :/ 19:15:41 wumpus: If sipa does the "rewrite history to result in the same code thing" then if it is is PR split they will need to go in one right after another to preserve the "same code" property. 19:15:56 (I think) 19:16:02 wumpus: that's a good question; the history is broken into sections already 19:16:06 so we can decide later 19:16:21 though... maybe not 19:16:26 I suppose sipa should show "same code" at one point, then split, and the remaining parts could then change. 19:16:38 the unit/rpc/p2p tests rely on the wallet code 19:16:39 gmaxwell: I don't have a strong opinion either way, if this change is sufficiently atomic it makes sense to do it at once, but see e.g. instagibbs's comment about wallet addresses 19:17:12 maybe hide it behind an option in the beginning? 19:17:23 My recommendation for the wallet parts was to just hide the changed functionality there behind a hidden configuration option that the tests could use. 19:17:28 well, the wallet code can be maybe be introduced disabled for users with a constant to be removed later or something? 19:17:29 maybe we can disable addwitnessaddress before the softfork 19:17:32 gmaxwell: right 19:17:37 that would make sense 19:17:47 jtimon: hey we're all saying the same :) 19:17:51 wumpus: yes 19:17:52 yay, agreement 19:17:57 i have another question 19:18:03 sipa: what is the meaning of life? 19:18:06 42 19:18:06 :) 19:18:14 thats an answer, not a question! 19:18:32 he has both the answer and a question 19:18:34 We're going to need to build a bigger computer... 19:18:36 jl2012 brought up the issue that our witness program definition is limited to 16 versions, and that is not easy to extend without introducing a new witness storage 19:18:57 there is an easy solution, by allowing witness programs to be slightly larger 19:19:01 but this is a hard forking change 19:19:11 sipa: it is? I thought the version could be any length? 19:19:14 which, if done unconditionally, could hardfork testnet 19:19:22 luke-jr: nope, has to be OP_0 through OP_16 19:19:26 :/ 19:19:32 why limit it? 19:19:42 then would be something to move to the later hardfork, no? 19:20:01 jtimon: i don't like relying on that 19:20:08 Oh ... how'd that happen? in any case, you can simply use 0..16 and then use another byte after that one. 19:20:16 jtimon: we cannot assume there will ever be a hardfork. 19:20:18 gmaxwell: max 32 bytes can follow 19:20:30 okay thats broken. 19:20:43 * luke-jr doesn't see the purpose of restricting the witness-triggering sPK like that 19:20:45 well, the plan was to deploy segwit as a softfork 19:21:08 jtimon: changing it is a HF with respect to the current SW code 19:21:08 My assumption was that it would be arbritary and extended by just adding more bytes when the space ran out. 19:21:13 jtimon: not with respect to bitcoin 19:21:34 jtimon: so we can change it before merge while leaving SW a SF 19:21:36 sipa: oh, I see, it would still be a SF to bitcoin. ok 19:21:54 gmaxwell, luke-jr: the reason was that constant size utxos are nice 19:21:55 sipa: testnet segwit rules can be changed so activiation doesn't begin until later. 19:22:06 So at worst that would be a reindex for testnet nodes, no? 19:22:11 gmaxwell: ... segwit is already activated on testnet 19:22:16 yes, so? 19:22:16 sipa: they're already non-constant size. 19:22:22 luke-jr: ? 19:22:23 sipa: move it forward, reindex. 19:22:24 testnet4 ? 19:22:27 luke-jr: he means in the future. 19:22:36 sipa: in any case, 16 is unacceptably too few. 19:22:40 agree 19:23:26 gmaxwell: hmm, ok 19:23:31 The bip doesn't read like it would be a HF, but maybe I'm being obtuse 19:23:37 I don't think constant size is as interesting as constant bound. so if you wanted to say that the version was limited to N bytes for some small N that would be fine. 4294967296 versions should be enough for anyone. 19:23:38 gmaxwell: in the future, if we softfork out the current long sPKs, we can softfork a limit on witness sPK length as well 19:23:58 fair enough, will do 19:24:09 limit to 36 or 40 bytes or so 19:24:10 instagibbs: it would be a HF only for testnet3 which has already deployed "old segwit" 19:24:31 jtimon, no I mean, anything where version is 1+ has no consensus meaning yet 19:24:39 sipa: cool (also, testnet behavior has never been in a merged much less released version, I don't mind breaking it) 19:24:41 when it's not simply 0 19:25:15 instagibbs: the problem is that something of the form "1 + 33 bytes" is not treated as a witness program, and is not allowed to have any witness data 19:25:32 we can extend the definition of a witness program, but it would require a new witness structure 19:25:48 as old nodes won't relay witness data with something they don't treat as a witness output 19:25:59 (and that rule is necessary to prevent spam) 19:26:27 anyway, ok, will just change the rule 19:26:36 other topics? 19:26:42 yes 19:26:45 old nodes won't relay anything with witness data they can't verify anyway.. 19:26:48 (or more segwit review related points) 19:26:56 #topic compactblock testing 19:27:00 luke-jr: old nodes in this case being witness v0 nodes 19:27:05 luke-jr, I'm not convinced, but I think fixing now is better anyways so whatever 19:27:06 sipa: yes, I also mean these 19:27:11 @gmaxwell 19:27:13 IMO make any length limit a relay policy only. 19:27:21 we'll discuss further in #segwit-dev 19:27:24 k 19:27:27 ack 19:28:00 compackblock 19:28:23 Okay. So matt has built a parallel relay network that uses compact blocks and the UDP network block coding stuff. 19:28:24 i rebased BlueMatt's compactblock patch on top of the shared_ptr mempool change, and gmaxwell and i have been succesfully running it across the internet 19:28:38 ^ and that's more interesting 19:28:54 ^ a number of people-- including some large miners-- are running both Sipa's rebase, and Matt's PR without the rebase on public nodes. 19:29:16 Which are also connecting to matt's nodes. 19:29:31 good to hear 19:29:33 (I got bored with the simulated topology lab testing, this is potentially more interesting) 19:29:39 2016-06-02 18:36:13.412286 Successfully reconstructed block 0000000000000000014a6a924544dd097d538314281bebd95c89e50726e7d2ef with 1 txn prefilled, 2708 txn from mempool and 0 txn requested 19:29:43 2016-06-02 18:37:46.728092 Successfully reconstructed block 000000000000000001943282946e9579fd84def95df577ebb8bcda3b8d9f4d06 with 1 txn prefilled, 1529 txn from mempool and 0 txn requested 19:29:47 2016-06-02 18:43:32.713909 Successfully reconstructed block 000000000000000000499e1485726cd87003e7a6400118f8c061171748665612 with 1 txn prefilled, 1102 txn from mempool and 3 txn requested 19:29:52 yes, always good to test with real world data as well 19:30:03 I don't know that there is much to report, it's working as expected. :) Sipa's rebase on the sharedptr is pretty nice. 19:30:23 gmaxwell, the rebase includes the predicted transactions? 19:30:29 nice 19:30:31 As it also eliminates transaction duplication from the relay pool, and eliminates a fair bit of transaction copying. 19:30:31 is this branch available somewhere? 19:30:33 instagibbs: it only sends the coinbase directly 19:30:38 sipa, ah k 19:30:52 instagibbs: no, right now I don't believe anyone is running something with fancy prediction. I think we'll leave that out in the initial PR. Easily added later. 19:30:52 wumpus: https://github.com/sipa/bitcoin/commits/compactblocks 19:31:39 #link sipa's rebase of compactblocks on top of PR #8126: https://github.com/sipa/bitcoin/commits/compactblocks 19:31:54 #action review PR #8126 19:32:01 if other developers here are interested in running nodes connected to these nodes, lemme know and I'll give you addresses to connect to. 19:32:17 I'm interested 19:32:28 I should take an action to setup a couple on published addresses too, for people to connect to without asking. :) 19:32:59 yes, that always works best :) 19:33:15 any other topics? 19:33:19 is sipa's rebase different enough that we ought to switch to reviewing that instead? 19:33:20 Yes, though they may get DDOS attacked, which is harmless but would waste time sorting out the issue. :) 19:33:41 luke-jr: it's less code than the original :) 19:33:55 gmaxwell: you mean thoroughly stress-tested :) 19:34:03 * gmaxwell stabs 19:34:16 Does anyone know the current CFPF status? 19:34:34 #topic current CPFP status 19:34:43 gmaxwell: review #7598 19:34:51 afaik no show-stoppers found, but more review needed; there's a dep PR to get in first though 19:34:52 #action review #7598 19:35:08 it's a blocker/dependency for CPFP (#7600) 19:37:33 I've been struggling a bit with too many PRs outstanding at once that I want to test. 19:37:35 #link CPFP is that like 'strong AI should be here in less than 20 years' 19:37:41 EH 19:37:47 :< 19:37:48 #link https://github.com/bitcoin/bitcoin/pull/7600 19:38:01 (sorry, copy paste messup) 19:38:04 Merging them is a pain. (thanks to sipa for merging a lot of things recently!) 19:38:48 i've been going through all PRs... there are so many decent-but-not-quite-finished ones in the queue... 19:38:50 I've lost overview a bit 19:38:58 any PRs that should be close to be able to be merged? 19:39:17 sipa: yes, I've noticed 19:39:21 IMO https://github.com/bitcoin/bitcoin/pull/7957 can be merged (save, tool only) 19:39:29 Mostly my minor difficulty there just comes from many things touching the same parts, and a lot of that was actually my fault. (e.g. opening three PRs at once that all conflicted with each other. :) ) 19:39:51 I'd like to see key generation type merged so there's no risk of other wallet upgrades conflicting it since these wallets are in the wild 19:39:56 17:19:13 < sipa> ping for review: https://github.com/bitcoin/bitcoin/pull/7948 (RPC: augment getblockchaininfo bip9_softforks data) 19:39:59 17:20:03 < sipa> ping for review: https://github.com/bitcoin/bitcoin/pull/7967 ([RPC] add feerate option to fundrawtransaction) 19:40:23 jonasschnelli: agree, but that one is probably not blocking anything 19:40:37 also 7997 19:41:07 I'm requesting permission to merge [docs] and [tools] PRs 19:41:20 jonasschnelli: sure 19:42:09 sounds fine, I know we sometimes don't get enough review on those, esp docs. Please feel empowered to nag people to review things. 19:42:11 Okay. Will try to focus on trivial docs PRs, so wumpus and sipa can take care about the corish ones. 19:42:24 https://github.com/bitcoin/bitcoin/pull/7935 is ready IMO 19:42:46 the problem with doc pulls is usually that they get review comments but the author disappears for large spans of time 19:42:47 luke-jr: agree 19:43:10 luke-jr: will do final review and reack 19:43:28 luke-jr: that looked good to me last time I checked. I'll re-review as well. 19:44:52 also #7825 is good 19:45:26 and #7942 19:46:23 Also have a look at https://github.com/bitcoin/bitcoin/pull/7946 (could speed up things a little bit) 19:46:26 #7942 has an unaddressed comment by sipa 19:46:56 tiny nit :) 19:47:21 nit is nit! 19:47:38 that's not always clear to me whether it should block merging 19:47:46 (I usually at least wait for the author to respond) 19:48:08 the author is active, he probably just missed it 19:48:16 jonasschnelli just pinged 19:48:21 ok good 19:48:24 oh, topic: 0.11.next 19:49:16 luke-jr, I guess we already discussed the 0.11 maintenance? 19:49:16 ok 19:49:21 #topic 0.11.next 19:49:53 jonasschnelli: ? 19:50:12 0.11 goes to critical fixes only when 0.13 is released, right? 19:50:13 luke-jr: 0.11.next is supposed to include csv but not segwit, right? 19:50:33 I had in mind we we BP to 0.12, 0.13 and only security stuff to 0.11? 19:50:37 jtimon: unless it gets delayed until segwit is merged, I guess 19:50:52 is there any urgent reason to do a 0.11 release? 19:50:53 sipa: unless someone decides to maintain it longer 19:51:00 wumpus: CSV support, at least 19:51:05 right 19:51:20 wumpus: is there any reason not to do it while things are backported and tested? 19:51:24 looking at the network I'm not seeing any evidence of need to maintain 0.11 extensively, also we called for people running older versions in operations and got crickets in response, AFAIK. 19:51:35 * jonasschnelli checking the seeder 19:51:36 jtimon: developer overhead 19:51:49 jtimon: is it tested? 19:51:50 wumpus: well, that's luke-jr's problem, isn't it? 19:52:33 gmaxwell: we did? I don't recall seeing the "call for", and I know for a fact that Eligius relies on 0.11 for now 19:52:58 88 0.11 nodes 19:53:06 sipa: I don't know, I'm not reviewing or testing myself, but if luke-jr gets review and testing... 19:53:19 luke-jr: perhaps the time is better spent in upgrading eligius then :) 19:53:28 jtimon: which is unlikely, hence the history of git/rc only stable stuff :P 19:53:37 sipa: probably. 19:53:49 esp since master will hopefully have CPFP soon. 19:53:51 jonasschnelli: what? 19:53:56 yes, interest in older major versions is extrememly low 19:54:09 there is a backport PR for 0.11 for CSV etc. but we sort of semi decided back then it was not urgent and much more risky. 19:54:14 I see 1768 0.11 nodes. 19:54:28 the BIP68 backport in particular is complex 19:54:40 my only point is that we shouldn't use the "we only promise to maintain the last 2 versions" as an artificial limitation beyond review and testing. If people are interested in working on that... 19:54:41 well in particular, interest in _updates_ for old versions is low... 19:54:55 gmaxwell: yes that's what I mean... 19:54:59 we should remove the promise if we're not going to uphold it. 19:55:12 jtimon: the problem is that people are not interested 19:55:17 what promise? 19:55:26 well "promise" 19:55:35 also, not "not going"-- not able.. without people to test you really can't provide good releases. 19:55:48 wumpus: by people you mean users or reviewers/testers? 19:55:50 not doing someone a service to put out a barely tested update. 19:55:57 I mean if luke-jr really wants to handle a release by himself I'm not going to protest 19:56:05 ^ agreed. 19:56:05 https://bitcoincore.org/en/lifecycle/ mentions something; whether promise or able or not, it should be updated if we can't do it 19:56:10 the CSV backport PR was https://github.com/bitcoin/bitcoin/pull/7716 19:56:22 we did pretty much decide not to merge it. 19:56:23 wumpus: I can't get testing/reviews by myself. 19:56:28 luke-jr: sorry,.. wrong file: we have 743 0.11x nodes and 1786 0.12.x nodes... so yes. CSV for 0.11 makes sense. 19:56:41 I can maintain stable branches, but releases seem unlikely to work out at this point 19:56:54 but there's so much happening on master right now, and 0.13 release is near, I can't promise I will be able to spend any time on it (except gitian building / uploading executables) 19:57:23 Yes. 0.11 is certainly not something for wumpus (would be a waste of his time) 19:57:57 Without people interested in using it, we can't get much platform qualification which is a lot of the difference between a branch and a release. 19:57:59 so if you want to do this: please create your own 0.11 branch, tag, do the release notes etc 19:58:00 jtimon: i have 1093 'good' 0.11 nodes 19:58:09 eh, jonasschnelli: 19:58:33 good is not good enough... 19:58:34 cat dnsseed.dump | grep " 100.00% 100.00% 100.00% " | grep "Satoshi:0.11." | wc -l 19:59:05 anyway, besided the point 19:59:14 we can't do releases without people interested in running and testing 19:59:17 yes, meeting time over 19:59:21 oh, that too 19:59:24 #endmeeting