Private Blockchain for jobs/tasks

A Job is a series of Tasks.
Tasks are the descrete actions performed to complete the job

 

A Job Blockchain (JBC) is a series of tasks chained

Taskchain is made up of an index, timestamp, task, previoustaskHash, thisHash

thisHash = method encrypt index + timestamp + previoustaskHash + string(task)

Job is an array of tasks

GenesisTask (Task 0) is index=0, timestamp="create time", task "comment of template"
GetLastestTask is length Taskarray -1
Add new task is previous hash (getlatesttask.hash
newtask hash = calculate hash
Add task to array
is chain valid Verify task
 Index 1 ; loop till end chain validate that current hash = previous hash