func (e *EBlock) GetWelds() [][]byte { var answer [][]byte for _, entry := range e.Body.EBEntries { answer = append(answer, primitives.DoubleSha(append(entry.Bytes(), e.GetChainID().Bytes()...))) } return answer }
func (c *EBlock) GetHashOfChainID() []byte { return primitives.DoubleSha(c.GetChainID().Bytes()) }
func (e *Entry) GetWeld() []byte { return primitives.DoubleSha(append(e.GetHash().Bytes(), e.GetChainID()...)) }