|
| 1 | +--- |
| 2 | +title: IRC meeting summary for 2018-06-14 |
| 3 | +lang: en |
| 4 | +permalink: /en/meetings/2018/06/14/ |
| 5 | +name: 2016-06-14-meeting |
| 6 | +layout: page |
| 7 | +type: meetings |
| 8 | +version: 1 |
| 9 | +--- |
| 10 | +{% include _toc.html %} |
| 11 | +{% include _references.md %} |
| 12 | + |
| 13 | +- View this week's log on [BotBot.me][bbm log] or [MeetBot][mb log] |
| 14 | +- [Meeting minutes by MeetBot][mb minutes] |
| 15 | + |
| 16 | +--- |
| 17 | + |
| 18 | +Topics discussed during this weekly meeting included what pull requests |
| 19 | +members of the project would like reviewers to focus on during the |
| 20 | +upcoming week, whether Bitcoin Core should optimize selecting which |
| 21 | +inputs to spend based on generating transactions that don't have change |
| 22 | +(better for privacy and fees) or transactions that only spend |
| 23 | +well-confirmed inputs (less likely to result in payment failures), and a |
| 24 | +few mini-topics mostly focused on optimizing SHA256d functions for |
| 25 | +various computer processor architectures. |
| 26 | + |
| 27 | +## High priority for review |
| 28 | + |
| 29 | +**Background:** each meeting, Bitcoin Core developers discuss which Pull |
| 30 | +Requests (PRs) the meeting participants think most need review in the |
| 31 | +upcoming week. Some of these PRs are related to code that contributors |
| 32 | +especially want to see in the next release; others are PRs that are |
| 33 | +blocking further work or which require significant maintenance (rebasing) |
| 34 | +to keep in a pending state. Any capable reviewers are encouraged to |
| 35 | +visit the project's list of [current high-priority |
| 36 | +PRs][]. |
| 37 | + |
| 38 | +**Discussion ([log][log hipri]):** the following pending PRs were |
| 39 | +mentioned this week: |
| 40 | + |
| 41 | +- **[#12136][]:** Implement [BIP174][] Partially Signed Bitcoin Transactions |
| 42 | + serialization and RPCs. Removed from the list at the request of its |
| 43 | + author, Andrew Chow, who said "It depends on [#13425][]." |
| 44 | + |
| 45 | +- **[#13425][]:** Moving final scriptSig construction from |
| 46 | + CombineSignatures to ProduceSignatures. Pieter Wuille commented, |
| 47 | + "#13425 is pretty much all of the [Partially-Signed Bitcoin |
| 48 | + Transactions] internal changes that are needed, excluding |
| 49 | + serialization and RPCs." |
| 50 | + |
| 51 | +- **[#13111][]:** Add unloadwallet RPC. Meeting comments indicated this |
| 52 | + was close to being merged, after a final issue is addressed. |
| 53 | + |
| 54 | +- **[#13160][]:** Unlock spent outputs. Suggested for the high-priority |
| 55 | + list, but refused because its author already had an entry on the list. |
| 56 | + Nevertheless, Wladimir van der Laan suggested it should receive more |
| 57 | + attention. |
| 58 | + |
| 59 | +- **[#13439][]:** RPC: Avoid "duplicate" return value for invalid |
| 60 | + submitblock. |
| 61 | + |
| 62 | +## SRD [Single Random Draw] fallback coin selection |
| 63 | + |
| 64 | +**Background:** several developers have been working on improving |
| 65 | +Bitcoin Core's coin selection---how it chooses which bitcoins (inputs) |
| 66 | +to spend---to simultaneously improve privacy, reduce transaction size, |
| 67 | +and reduce fees. The current selection protocol starts with a |
| 68 | +Branch-and-Bound (BnB) algorithm that tries to find a match between the |
| 69 | +inputs available and the amount being sent. If that doesn't work, a |
| 70 | +fallback algorithm is needed. A Single-Random Draw (SRD) algorithm |
| 71 | +randomly adds additional inputs to a partial transaction until the sum |
| 72 | +of the inputs is equal to or greater than the amount being spent |
| 73 | +(including fees). |
| 74 | + |
| 75 | +**Discussion ([log][log srd]):** Andrew Chow requested and introduced |
| 76 | +the topic, "I think we should discuss [Gregory Sanders's] point |
| 77 | +[here][instagibbs comment]." The cited comment says, "This new logic |
| 78 | +means that non-BnB will be tried more often. Instead of trying all |
| 79 | +variants of BnB (6 confirms, 1 confirm, small chain, etc...), we seem to |
| 80 | +be [switching to] trying 6 confirms for BnB, then 6 confirms for |
| 81 | +non-BnB. [...] I prefer the [previous] behavior in master due to |
| 82 | +privacy reasons of change-less transactions." |
| 83 | + |
| 84 | +Pieter Wuille asked, "So this is a bit of a question on what our coin |
| 85 | +selection algorithm should prioritize: confirmed coins or (immediate) |
| 86 | +fee [reduction]?" |
| 87 | + |
| 88 | +Sanders agreed and added, "and privacy. [...] Change-less outputs mess |
| 89 | +with coin analysis to a large degree." |
| 90 | + |
| 91 | +Chow, and perhaps others, have performed simulations of the new |
| 92 | +behavior, the behavior from earlier versions of Bitcoin Core, and |
| 93 | +various alternatives. The conversation then briefly discussed those |
| 94 | +results and what they implied, with at least two participants indicating |
| 95 | +they wanted to see more simulations performed. |
| 96 | + |
| 97 | +**Conclusion:** no explicit conclusion. Chow is running more |
| 98 | +simulations and he, Wuille, and Sanders mentioned discussing them on the |
| 99 | +PR when they're available. |
| 100 | + |
| 101 | +## Mini-topics |
| 102 | + |
| 103 | +- Pieter Wuille said, "I have 4 PRs open relating to optimized hardware |
| 104 | + SHA256. Should I combine them into 1 [PR], or leave like this? |
| 105 | + [#13471][], [#13386][], [#13442][], [#13438][]" Wladimir van der Laan |
| 106 | + was opposed to [#13438][] being combined, and suggested it could be |
| 107 | + merged soon, but neither Van der Laan nor anyone else offered comment |
| 108 | + on whether or not the remaining PRs should be combined. |
| 109 | + |
| 110 | +- Regarding [#13442][], this PR introduced optimized code that initially |
| 111 | + ran slower than before the optimization. Its author, Wuille, has |
| 112 | + since improved it to be faster, but he notes that it's "very heavily |
| 113 | + compiler dependent: rearranging two lines can have 5% effect on speed, |
| 114 | + or making a constant static, [...] or with particular GCC versions." |
| 115 | + Van der Laan said, "If it becomes faster with new compilers, it's |
| 116 | + good; if slower, not. :)" |
| 117 | + |
| 118 | +- Some brief discussion about managing release signatures for Bitcoin |
| 119 | + Core 0.16.1. |
| 120 | + |
| 121 | +## Comic relief |
| 122 | + |
| 123 | +{% highlight text %} |
| 124 | +<ryanofsky> cd |
| 125 | + <cfields> ~$ |
| 126 | +{% endhighlight %} |
| 127 | + |
| 128 | +## Participants |
| 129 | + |
| 130 | +| IRC nick | Name/Nym | |
| 131 | +|-----------------|---------------------------| |
| 132 | +| wumpus | [Wladimir van der Laan][] | |
| 133 | +| sipa | [Pieter Wuille][] | |
| 134 | +| instagibbs | [Gregory Sanders][] | |
| 135 | +| achow101 | [Andrew Chow][] | |
| 136 | +| cfields | [Cory Fields][] | |
| 137 | +| promag | [Joao Barbosa][] | |
| 138 | +| meshcollider | [Samuel Dobson][] | |
| 139 | +| luke-jr | [Luke Dashjr][] | |
| 140 | +| jonasschnelli | [Jonas Schnelli][] | |
| 141 | +| MarcoFalke | [Marco Falke][] | |
| 142 | +| jnewbery | [John Newbery][] | |
| 143 | +| kanzure | [Bryan Bishop][] | |
| 144 | +| ryanofsky | [Russell Yanofsky][] | |
| 145 | + |
| 146 | +## Disclaimer |
| 147 | + |
| 148 | +This summary was compiled without input from any of the participants in |
| 149 | +the discussion, so any errors are the fault of the summary author and |
| 150 | +not the discussion participants. In particular, quotes taken from the |
| 151 | +discussion had their capitalization, punctuation, and spelling modified |
| 152 | +to produce consistent sentences. Bracketed words and fragments, as well |
| 153 | +as background narratives and exposition, were added by the author of |
| 154 | +this summary and may have accidentally changed the meaning of some |
| 155 | +sentences. If you believe any quote was taken out of context, please |
| 156 | +[open an issue](https://github.com/bitcoin-core/bitcoincore.org/issues/new) |
| 157 | +and we will correct the mistake. |
| 158 | + |
| 159 | +[bbm log]: https://botbot.me/freenode/bitcoin-core-dev/msg/101130091/ |
| 160 | + |
| 161 | +[mb minutes]: http://www.erisian.com.au/meetbot/bitcoin-core-dev/2018/bitcoin-core-dev.2018-06-07-19.00.html |
| 162 | +[current high-priority PRs]: https://github.com/bitcoin/bitcoin/projects/8 |
| 163 | +[instagibbs comment]: https://github.com/bitcoin/bitcoin/pull/13307#discussion_r192899180 |
| 164 | + |
| 165 | + |
| 166 | +{% assign log = "http://www.erisian.com.au/meetbot/bitcoin-core-dev/2018/bitcoin-core-dev.2018-06-14-19.00.log.html" %} |
| 167 | +[mb log]: {{log}} |
| 168 | +[log hipri]: {{log}}#l-15 |
| 169 | +[log srd]: {{log}}#l-58 |
| 170 | + |
| 171 | +{% include link-to-issues.md issues="12136,13425,13111,13160,13439,13471,13386,13442,13438" %} |
0 commit comments