-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Where is this specified in the specification? Also if you use block id
and not the running random number you don't need previous blocks or to
store the current random number in the block.

On 02/26/2014 10:12 PM, DavidVorick wrote:
> In src/swarm/statesteady.go:
> 
>> +	// Initiate block compilation +	// New round of heartbeats. + 
>> s.Heartbeats = append(s.Heartbeats, h) + +	if len(s.Heartbeats) 
>> == len(s.Hosts) { +		s.compileBlock() +	} +} + +func (s 
>> *StateSteady) compileBlock() { +	var hosts []string +	// the set 
>> of hosts is stored as a map for easy insertion + deletion +	for 
>> host, _ := range s.Hosts { +		hosts = append(hosts, host) +	} + 
>> compiler := common.RendezvousHash(sha256.New(), hosts, 
>> s.block.UpdateId())
> 
> Why did you change this function? I'm pretty sure that doing so 
> breaks other code.
> 
> This also breaks the specification. The seed for the host ordering
>  should be the entropy, not the block id.
> 
> — Reply to this email directly or view it on GitHub 
> <https://github.com/Siacoin/Sia/pull/28/files#r10110878>.
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTDq4iAAoJEHP1nN3uZoHuLBMH/23lR5Nw4ctEcqy2HjgdKpdh
hQlMCOESuvP8QcpSZlGWUllmP5rNNC/ILouyFTD1Vg0XUW3t1sUhrlKOnON2AsO9
KC2hJE5FeZ6jSmkKF3nWI40QirID805LsBan+EiIAOZuNYDO80m6Lz6ulY1Jlhw5
+oAZP1Y5hingywl52WYy0BPWGpdo9dyctP3wqIl1jkutrbQ2RbhIacZnjKMPsLKI
6BDWTfsF21cItd+fxyJoPr6A03R3PGgrNDSpfF8phXuNYEo+yS2nRKkRMOlWzVc6
10n37FAn97/uDoza03zKDzAUN60gVQ7ccHCfdzaUpT47UAv/6hhrd9HO8tEXzfs=
=umcT
-----END PGP SIGNATURE-----