func verifyPayload(b []byte) error {
	b0 := b[:8] // Seed payload
	for nReplica := 1; nReplica < len(b)/8; nReplica++ {
		bN := b[nReplica*8 : (nReplica+1)*8] // Nth replica
		if bytes.Compare(bN, b0) != 0 {
			return fmt.Errorf("bytes are not in the expected format. b[nReplica]=%v, b0=%v", bN, b0)
		}
	}

	return nil
}
// verifyPayload verifies that in the provided byte array first 8-bytes are
// repeated for the rest array, except for the last "len(array) mod 8 bytes".
verifyPayload verifies that in the provided byte array first 8-bytes are
repeated for the rest array, except for the last "len(array) mod 8 bytes".
// verifyPayload verifies that in the provided byte array first 8 - bytes are // repeated for the rest array except for the last " len ( array ) mod 8 bytes " .
func verifyPayload(b []byte) error {
	b0 := b[:8] 
	for nReplica := 1; nReplica < len(b)/8; nReplica++ {
		bN := b[nReplica*8 : (nReplica+1)*8] 
		if bytes.Compare(bN, b0) != 0 {
			return fmt.Errorf("bytes are not in the expected format. b[nReplica]=%v, b0=%v", bN, b0)
		}
	}
	return nil
}
func verifyPayload ( b [ ] byte ) error { b0 := b [ : 8 ] for nReplica := 1 ; nReplica < len ( b ) / 8 ; nReplica ++ { bN := b [ nReplica * 8 : ( nReplica + 1 ) * 8 ] if bytes . Compare ( bN , b0 ) != 0 { return fmt . Errorf ( " " , bN , b0 ) } } return nil }
verifyPayload verifies that in the provided byte array first 8-bytes are
repeated for the rest array, except for the last "len(array) mod 8 bytes".
verifyPayload verifies that in the provided byte array first 8 - bytes are repeated for the rest array except for the last " len ( array ) mod 8 bytes " .
// Seed payload // Nth replica