Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. - isRevoked(stateID: uint, commitment: commitment, revocationWitness: bytes) -> bool
  2.  - assert self.openingClaimsInProgress[hash(state.parameters.openingCommitments)]
  3. ... .redeemedCoins == 0` 
  4. - if any of the opening state has been redeemed, all state must now be redeemed. 
  5.  - assert validateCommitment(...) for each commitment in the revocation witness
  6.  - assert from revocationWitness.closureApprovals that each of
  7. state.parameters.participants signed off on hash(closureCommitments)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement