Commit 38003570 authored by refcell.eth's avatar refcell.eth Committed by GitHub

Begin the game state container (#6109)

parent a4b2d612
package fault
// Game is an interface that represents the state of a dispute game.
type Game interface {
// Put adds a claim into the game state and returns its parent claim.
Put(claim Claim) (Claim, error)
// ClaimPairs returns a list of claim pairs.
ClaimPairs() []struct {
claim Claim
parent Claim
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment