<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 13 Jan 2016, at 20:02, David Goulet <<a href="mailto:dgoulet@ev0ke.net" class="">dgoulet@ev0ke.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On 13 Jan (11:34:05), Tim Wilson-Brown - teor wrote:<br class=""><blockquote type="cite" class=""><br class=""><blockquote type="cite" class="">On 13 Jan 2016, at 01:46, George Kadianakis <<a href="mailto:desnacked@riseup.net" class="">desnacked@riseup.net</a>> wrote:<br class=""><br class="">...<br class="">For what it's worth, we expect this code to run for a long time before the<br class="">shared random values generated by the authorities are used for anything<br class="">(e.g. HSDir scrambling).<br class=""></blockquote><br class="">I've seen you talk about using chutney for shared randomness generation.<br class="">Can you open a ticket with a branch for the chutney SR template, so people can use it for testing?<br class="">(And then we can merge it into chutney master about the same time this code goes into tor master.)<br class=""></blockquote><br class="">We've done extensive testing already with chutney. I don't think we need<br class="">a specific SR template since this is part of the voting system which<br class="">ultimately put the SR values in the consensus.<br class=""><br class="">I mostly used the "hs" template for this and sometimes used a variation<br class="">of it with 9 dirauths instead of 3.<br class=""><br class=""><blockquote type="cite" class=""><br class="">There's a make target, "test-network-all", that runs a series of chutney tests.<br class="">Each of these tests finish in around 35 seconds.<br class=""><br class="">Can we get a SR chutney template to finish in around that time?<br class="">(With 10 second voting periods?)<br class="">What is the minimum number of voting periods that shared randomness requires?<br class="">(I understand the standard setting is 24, 12 for the commit, and 12 for the reveal.)<br class=""></blockquote><br class="">For now, that won't be possible :S, the number of rounds per phase (12<br class="">commits and 12 reveals) are hardcoded so no torrc options to change<br class="">them. We could make it that in TestingNetwork, this is divided by 4<br class="">having 3 and 3 but then we are at 60 seconds so :S... Do you think even<br class="">just that would be useful?<br class=""></div></div></blockquote><div><br class=""></div><div>If the minimum number of rounds per phase is 3, then let's set it at 3 in test networks.</div><div>(But leave it as a configurable, test-network-only parameter, like the many other test network parameters.)</div><div>60 seconds is better than 240 seconds, and it means the tests are more likely to get run.</div><div><br class=""></div><blockquote type="cite" class=""><div class=""><div class="">On the other hand, a very very useful test would be to have a way to<br class="">kill/spawn/kill/spawn dirauth to simulate reboots or a way to make them<br class="">miss voting periods. That doesn't sound to me that crazy difficult to<br class="">achieve with chutney and in that case we could have an epic SR template<br class="">that imposes conditions on dirauth lifetime.</div></div></blockquote><br class=""></div><div>I think this is one of those future features that would require a rewrite of chutney, or at least substantially more code.</div><div>I agree it would be useful.</div><div><br class=""></div><div>Tim</div><div><br class=""></div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Tim Wilson-Brown (teor)</div><div style="color: rgb(0, 0, 0); letter-spacing: normal; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""></div><div style="orphans: auto; text-align: start; text-indent: 0px; widows: auto; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">teor2345 at gmail dot com<br class="">PGP 968F094B<br class=""><br class="">teor at blah dot im<br class="">OTR CAD08081 9755866D 89E2A06F E3558B7F B5A9D14F</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>
<br class=""></body></html>