Last active
August 29, 2015 14:01
-
-
Save ripienaar/bb794b4ee37a57b806c5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* The dance is complete and the flash bits have been lit. Toss | |
* the packet over the fence for processing, which may light up | |
* more flashers. | |
*/ | |
/* | |
* Initially, we populate the island with all the rifraff peers | |
* that happen to be lying around. Those with seriously | |
* defective clocks are immediately booted off the island. Then, | |
* the falsetickers are culled and put to sea. The truechimers | |
* remaining are subject to repeated rounds where the most | |
* unpopular at each round is kicked off. When the population | |
* has dwindled to sys_minclock, the survivors split a million | |
* bucks and collectively crank the chimes. | |
*/ | |
/* | |
* If we get this far, the peer can stay on the | |
* island, but does not yet have the immunity | |
* idol. | |
*/ | |
/* | |
* If no survivors remain at this point, check if the modem | |
* driver, local driver or orphan parent in that order. If so, | |
* nominate the first one found as the only survivor. | |
* Otherwise, give up and leave the island to the rats. | |
*/ | |
/* | |
* Now, vote outlyers off the island by select jitter weighted | |
* by root distance. Continue voting as long as there are more | |
* than sys_minclock survivors and the select jitter of the peer | |
* with the worst metric is greater than the minimum peer | |
* jitter. Stop if we are about to discard a TRUE or PREFER | |
* peer, who of course have the immunity idol. | |
*/ | |
/* | |
* Unless there are at least sys_misane survivors, leave the | |
* building dark. Otherwise, do a clockhop dance. Ordinarily, | |
* use the selected survivor speer. However, if the current | |
* system peer is not speer, stay with the current system peer | |
* as long as it doesn't get too old or too ugly. | |
*/ | |
/* | |
* We have found the alpha male. Wind the clock. | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment