1 2017-07-29 00:25:26 0|bitcoin-git|[13bitcoin] 15achow101 opened pull request #10952: [wallet] Remove vchDefaultKey and have better first run detection (06master...06remove-defaultkey) 02https://github.com/bitcoin/bitcoin/pull/10952
2 2017-07-29 14:36:13 0|sam_c|achow101: FYI wrt pr 10952, you can use git add -p to only add parts of the local changes
3 2017-07-29 14:36:26 0|sam_c|achow101: this prevents whitespace or other unintentional changes from finding their way into commit.
4 2017-07-29 14:36:34 0|sam_c|bit late for that one but good to know :)
5 2017-07-29 20:55:06 0|jamesob|how welcome are readability improvement & documentation PRs? low-priority distraction or actually welcome? I see a few things in validation.cpp that could be made a bit more readable.
6 2017-07-29 20:57:18 0|gmaxwell|jamesob: they're welcome if that is what they do; but "change the code to my personal style; because I'm not involved with the project enough to distinguish what I'd like with what other contributors would like" wouldn't be, and it's not always easy to tell unless you're heavily involved.
7 2017-07-29 20:57:45 0|jamesob|gotcha. maybe I'll save them for when my intuition is better :)
8 2017-07-29 20:58:19 0|gmaxwell|comments are probably always good, though they take a fair amount of work to review .. since they need to be right. :)
9 2017-07-29 20:58:33 0|jamesob|e.g. this conditional wraps the entirety of this function; I think an early return might be clearer https://github.com/bitcoin/bitcoin/blob/c86b77fc44c74628f5c890c9015338600c69739b/src/validation.cpp#L1238-L1241
10 2017-07-29 21:00:47 0|gmaxwell|I think that would be a fine change. oh also on these kinds of changes, if they're ones that provably don't change behavior (e.g. stripped object code is the same) that's always helpful.
11 2017-07-29 21:01:32 0|jamesob|gmaxwell does that amount to comparing the checksum of `bitcoind` before and after change?
12 2017-07-29 21:02:02 0|jamesob|probably something a little more granular...
13 2017-07-29 21:02:31 0|gmaxwell|.o of the relevant file is more granular. diffing and objdump of the .o
14 2017-07-29 21:03:05 0|jamesob|cool, thanks
15 2017-07-29 21:05:19 0|gmaxwell|In any case, our threshold for taking improvements like this is lower if it doesn't change the binary. It's also useful to seperate changes into ones that change the binary and ones that don't-- if it doesn't change the binary we only need to review for style. If it changes it we have to worry about subtle mistakes that break the software. :)
16 2017-07-29 21:07:46 0|jamesob|great, good to know. I'm not keen on flooding the PR list with a bunch of [trivial] titles, but I figure if I'm in the neighborhood and can offer some marginal improvement, maybe it's worthwhile.
17 2017-07-29 21:13:51 0|gmaxwell|one thing to do is just rate limit yourself. Do a couple, sleep on it, submit the best of them. Collect feedback, revise the others, submit another later. You can also earn review attention by making an effort to do things that other people want done but don't want to do.
18 2017-07-29 21:14:33 0|gmaxwell|Or by doing some things which everyone reconizes as clearly useful (clarity fixups are not as universally reconized as useful as writing non-trivial tests, for example)
19 2017-07-29 21:18:58 0|jamesob|roger that!
20 2017-07-29 23:54:16 0|bitcoin-git|[13bitcoin] 15sipa closed pull request #10946: Add chainwork to getchaintxstats (06master...0620170727_chainworkstats) 02https://github.com/bitcoin/bitcoin/pull/10946