DRNGSeed is fine?
On Feb 7, 2014 3:44 PM, "DavidVorick" <notifications@github.com> wrote:

> In src/swarm/entropy.go:
>
> > +psuedo-random data. Entropy() generates the entropy */
> > +
> > +func Entropy() (randomBytes []byte, err error) {
> > +	randomBytes = make([]byte, EntropyVolume)
> > +	_, err = rand.Read(randomBytes)
> > +	return
> > +}
> > +
> > +/* Each block, all of the entropy introduced in the heartbeats must be merged
> > +to produce a single seed for the random number generator. MergeEntropy fulfills
> > +this requirement according to the protocol specification */
> > +
> > +/* MergeEntropy assumes that the set of entropy strings in the block have
> > +already been sorted according to the protocol specification */
> > +
> > +func (b Block) MergeEntropy() (seed []byte, err error) {
>
> What if it gets named DRNGSeed()?
>
> I suppose we could name it GenerateDRNGSeed()
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Siacoin/Sia/pull/9/files#r9554419>
> .
>