Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Verify ¶
type Verify interface {
// CheckProof verifies ibtp proof in interchain transaction
CheckProof(tx *pb.Transaction) (bool, error)
// ValidationEngine returns validation engine
ValidationEngine() validator.Engine
// GetProof gets proof by transaction hash
GetProof(txHash types.Hash) ([]byte, bool)
// DeleteProof deletes proof in verify pool
DeleteProof(txHash types.Hash)
}
type VerifyPool ¶
type VerifyPool struct {
// contains filtered or unexported fields
}
func (*VerifyPool) CheckProof ¶
func (pl *VerifyPool) CheckProof(tx *pb.Transaction) (bool, error)
func (*VerifyPool) DeleteProof ¶
func (pl *VerifyPool) DeleteProof(txHash types.Hash)
func (*VerifyPool) ValidationEngine ¶
func (pl *VerifyPool) ValidationEngine() validator.Engine
Click to show internal directories.
Click to hide internal directories.