Documentation
¶
Index ¶
- type DisputeMon
- type MonitoringBaseline
- type StateExpectation
- func AgreedRoots(expected int) StateExpectation
- func CompletedBeforeMaxDuration(expected int) StateExpectation
- func CorrectChallengerWins(expected int) StateExpectation
- func DeficientNonWithdrawableCredits(expected int) StateExpectation
- func DisagreedRoots(expected int) StateExpectation
- func DivergentWithdrawalRequests(game *proofs.FaultDisputeGame, expected int) StateExpectation
- func ExactNonWithdrawableCredits(expected int) StateExpectation
- func ExcessCredits(expected int) StateExpectation
- func ExpectedNonWithdrawableCredits(expected int) StateExpectation
- func ExpiredClaims(expected int) StateExpectation
- func FailedGames(expected int) StateExpectation
- func FullyCollateralized(game *proofs.FaultDisputeGame, expectedWei *big.Int) StateExpectation
- func GameCount(gameType gameTypes.GameType, expected int) StateExpectation
- func HonestActorInvalidClaims(actor common.Address, expected int) StateExpectation
- func HonestActorLostBonds(actor common.Address, expectedWei *big.Int) StateExpectation
- func IncorrectDefenderAhead(expected int) StateExpectation
- func IncorrectDefenderWins(expected int) StateExpectation
- func InvalidProposalObserved(game interface{ ... }) StateExpectation
- func MatchingWithdrawalRequests(game *proofs.FaultDisputeGame, expected int) StateExpectation
- func NoInsufficientCollateral(game *proofs.FaultDisputeGame) StateExpectation
- func NoWithdrawalRequests(game *proofs.FaultDisputeGame) StateExpectation
- func ResolvableClaims(expected int) StateExpectation
- func ResolvedClaims(expected int) StateExpectation
- func ResolvedClaimsInFirstHalf(expected int) StateExpectation
- func ResolvedClaimsInSecondHalf(expected int) StateExpectation
- func SufficientCollateral(game *proofs.FaultDisputeGame, expectedWei *big.Int) StateExpectation
- func UnexpiredClaims(expected int) StateExpectation
- func UnresolvedClaimsInFirstHalf(expected int) StateExpectation
- func UnresolvedClaimsInSecondHalf(expected int) StateExpectation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DisputeMon ¶
type DisputeMon struct {
// contains filtered or unexported fields
}
func (*DisputeMon) VerifyDisputeMonHealthy ¶
func (d *DisputeMon) VerifyDisputeMonHealthy()
func (*DisputeMon) VerifyHealthyOutputFetch ¶
func (d *DisputeMon) VerifyHealthyOutputFetch(gameType gameTypes.GameType) MonitoringBaseline
func (*DisputeMon) VerifyReferenceNodeFailure ¶
func (d *DisputeMon) VerifyReferenceNodeFailure(baseline MonitoringBaseline)
func (*DisputeMon) VerifyState ¶
func (d *DisputeMon) VerifyState(expectations ...StateExpectation)
type MonitoringBaseline ¶
type MonitoringBaseline struct {
// contains filtered or unexported fields
}
type StateExpectation ¶
type StateExpectation struct {
// contains filtered or unexported fields
}
func AgreedRoots ¶
func AgreedRoots(expected int) StateExpectation
func CompletedBeforeMaxDuration ¶
func CompletedBeforeMaxDuration(expected int) StateExpectation
func CorrectChallengerWins ¶
func CorrectChallengerWins(expected int) StateExpectation
func DeficientNonWithdrawableCredits ¶
func DeficientNonWithdrawableCredits(expected int) StateExpectation
func DisagreedRoots ¶
func DisagreedRoots(expected int) StateExpectation
func DivergentWithdrawalRequests ¶
func DivergentWithdrawalRequests(game *proofs.FaultDisputeGame, expected int) StateExpectation
func ExactNonWithdrawableCredits ¶
func ExactNonWithdrawableCredits(expected int) StateExpectation
func ExcessCredits ¶
func ExcessCredits(expected int) StateExpectation
func ExpectedNonWithdrawableCredits ¶
func ExpectedNonWithdrawableCredits(expected int) StateExpectation
func ExpiredClaims ¶
func ExpiredClaims(expected int) StateExpectation
func FailedGames ¶
func FailedGames(expected int) StateExpectation
func FullyCollateralized ¶
func FullyCollateralized(game *proofs.FaultDisputeGame, expectedWei *big.Int) StateExpectation
func HonestActorInvalidClaims ¶
func HonestActorInvalidClaims(actor common.Address, expected int) StateExpectation
func HonestActorLostBonds ¶
func HonestActorLostBonds(actor common.Address, expectedWei *big.Int) StateExpectation
func IncorrectDefenderAhead ¶
func IncorrectDefenderAhead(expected int) StateExpectation
func IncorrectDefenderWins ¶
func IncorrectDefenderWins(expected int) StateExpectation
func InvalidProposalObserved ¶
func InvalidProposalObserved(game interface{ CreatedAt() uint64 }) StateExpectation
func MatchingWithdrawalRequests ¶
func MatchingWithdrawalRequests(game *proofs.FaultDisputeGame, expected int) StateExpectation
func NoInsufficientCollateral ¶
func NoInsufficientCollateral(game *proofs.FaultDisputeGame) StateExpectation
func NoWithdrawalRequests ¶
func NoWithdrawalRequests(game *proofs.FaultDisputeGame) StateExpectation
func ResolvableClaims ¶
func ResolvableClaims(expected int) StateExpectation
func ResolvedClaims ¶
func ResolvedClaims(expected int) StateExpectation
func ResolvedClaimsInFirstHalf ¶
func ResolvedClaimsInFirstHalf(expected int) StateExpectation
func ResolvedClaimsInSecondHalf ¶
func ResolvedClaimsInSecondHalf(expected int) StateExpectation
func SufficientCollateral ¶
func SufficientCollateral(game *proofs.FaultDisputeGame, expectedWei *big.Int) StateExpectation
func UnexpiredClaims ¶
func UnexpiredClaims(expected int) StateExpectation
func UnresolvedClaimsInFirstHalf ¶
func UnresolvedClaimsInFirstHalf(expected int) StateExpectation
func UnresolvedClaimsInSecondHalf ¶
func UnresolvedClaimsInSecondHalf(expected int) StateExpectation
Click to show internal directories.
Click to hide internal directories.