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

What other states need access? Note this secretstring is for the
future, not for the current block.

On 02/26/2014 10:09 PM, DavidVorick wrote:
> In src/swarm/statesteady.go:
> 
>> type StateSteady struct { +	// blocksend is a timeout channel,
>> with some modifications so +	// previous heartbeat timeout
>> doesn't affect current heartbeat +	blocksend chan string +	update
>> chan common.Update +	die       chan struct{} + +	// Hosts is a
>> record of all hosts in the swarm +	Hosts map[string]bool + +
>> chain *Blockchain +	// Current block, all Hosts will be creating
>> new block. +	block        *Block +	secretstring string
> 
> since multiple states need access to the secret string, we may want
> this to be in struct blockchain
> 
> — Reply to this email directly or view it on GitHub 
> <https://github.com/Siacoin/Sia/pull/28/files#r10110833>.
> 

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

iQEcBAEBAgAGBQJTDqyeAAoJEHP1nN3uZoHuorMH/2WzX39GijQpzd+xtbutxAdl
+GGLqizibwRFBoSJe7xmDKfyMzFVTpm3On9hyBy5pQFO35kHX0XmixKkHzUxRCbK
kdwB+goJuKOjQ/kQOVwKfvkTF6281R3E2f888hkLw21dA+ptlwevLw2oUuctaxwp
w+922bOiEzvqI8av4hXdCrblZ8ORJZvSph9eqyPYa6X71ImzlN/icDmLssdPnpd8
E+F71WHvpneT4DKAerVc9AZ7iC6KVVzu0p2poZjokOzsvUP1nWuTv4glE5L7Qf2r
V8lonfqMtiaroB4xqfjNl60j98khUk2nX+xybjySZyOKHSmM5QCN4IINuZmZavo=
=zEYT
-----END PGP SIGNATURE-----