You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After Bob finishes the Promise Protocol here, he gets a puzzle that needs solving.
He passes the puzzle to the Solver protocol (Alice) here.
Alice runs the Solver protocol to get the solution for the puzzle here.
Now the Solver protocol can end in two ways:
If the Tumbler is cooperative (The Tumbler sends the solutions k_j For all j in R before it closes the channel):
Alice gets the solution keys from the Tumbler directly here
Else if Tumbler is not cooperative (Tumbler disconnects right after Alice posts the T_puzzle):
Alice gets the solution keys from the Blockchain (From the tumbler's fulfillment transaction with the pre-images) here
Alice runs "CheckSolutions(solutionKeys)" to find at least one working solution from the obtained keys here.
Bob takes the solution key from Alice and runs "GetSignedTransaction(solutionFromAlice)" (here).
This function takes the signature (solution) and applies it to the hash of the cashout transaction and returns a transaction that is ready to be posted on the blockchain.
For the q version of the protocol we have a LOT more work to do, unfortunately. I wonder if maybe we should just build the cooperative version of the protocol during your internship and defer the noncooperative version for later.
@goldbe
Hopefully we can finish this in time. I think we will have to start by designing a Q version of the Solver protocol. Then maybe decide how would Bob spend the puzzles. What do you think?
After Bob finishes the Promise Protocol here, he gets a puzzle that needs solving.
He passes the puzzle to the Solver protocol (Alice) here.
Alice runs the Solver protocol to get the solution for the puzzle here.
Now the Solver protocol can end in two ways:
Alice runs "CheckSolutions(solutionKeys)" to find at least one working solution from the obtained keys here.
Bob takes the solution key from Alice and runs "GetSignedTransaction(solutionFromAlice)" (here).
Now after Bob gets the signed transaction, he posts it to the Blockchain here and here (depending if tumbler is cooperative or not).
The text was updated successfully, but these errors were encountered: