Closed hswick closed 7 years ago
Pushed some new commits. Put most of Zac's code back in after I realized what broadcasting is about. I added a PostTask event to the Truebit contract which gets emitted when TaskGiver creates a task.
In the tests when the event is emitted a solver posts a bid. Address of the sender gets sent to the TaskGiver.
TaskGiverClient and SolverClient send data to each other via events in the Truebit contract.
im having trouble getting the tests to run. let hold off until we can get to the heart of it
Created new PR with new code.
Reorganized the contracts in accordance with the spec in whitepaper. Added TaskGiver, Solver, Verifier contracts with test files. Tried to do my best to keep old code for future use, but some of it was deleted for housekeeping sake.
Envisioning the Truebit contract to be the thing that organizes TaskGiver, Solver, and Verifiers. More details need to be discussed.