Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var ( ErrSameChainID = errors.New("same chainID") ErrMismatchedSubnetIDs = errors.New("mismatched subnetIDs") )
Functions ¶
func All ¶
func All(verifiables ...Verifiable) error
All returns nil if all the verifiables were verified with no errors
func SameSubnet ¶ added in v1.7.0
SameSubnet verifies that the provided [ctx] was provided to a chain in the same subnet as [peerChainID], but not the same chain. If this verification fails, a non-nil error will be returned.
Types ¶
type IsNotState ¶ added in v1.10.3
type IsNotState interface {
	// contains filtered or unexported methods
}
    type IsState ¶ added in v1.10.3
type IsState interface {
	// contains filtered or unexported methods
}
    type State ¶ added in v0.8.0
type State interface {
	snow.ContextInitializable
	Verifiable
	IsState
}
    type Verifiable ¶
type Verifiable interface {
	Verify() error
}
    
      
      Directories
      ¶
    
    | Path | Synopsis | 
|---|---|
| 
       Package verifymock is a generated GoMock package. 
         | 
      Package verifymock is a generated GoMock package. | 
 Click to show internal directories. 
   Click to hide internal directories.