TrueBitFoundation / truebit-os

[DEPRECATED] Interactive client
Apache License 2.0
82 stars 26 forks source link

Save task data in solution #5

Closed juztamau5 closed 6 years ago

juztamau5 commented 6 years ago

This saves the task data alongside the solution. For example, a logging service could reproduce individual steps of the solution.

Before:

{
  "solution": "0x0000000000000000000000000000000000000000000000000000000000000024",
  "finalized": true
}

After:

{
  "solution": "0x0000000000000000000000000000000000000000000000000000000000000024",
  "finalized": true,
  "data": [
    1,2,3,4,5,6,7,8,9
  ]
}

Requires #6.