Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider implements a distributed validation handler provider
func NewProvider ¶
NewProvider returns a new distributed validation handler provider
func (*Provider) Close ¶
func (p *Provider) Close()
Close cleans up all of the resources in the provider
func (*Provider) SendValidationRequest ¶
func (p *Provider) SendValidationRequest(channelID string, req *vcommon.ValidationRequest)
SendValidationRequest sends a validation request to remote peers
func (*Provider) ValidatePending ¶
ValidatePending validates any pending blocks
type Providers ¶
type Providers struct { AppDataHandlerRegistry appDataHandlerRegistry DistributedValidationProvider distributedValidatorProvider GossipProvider gossipProvider IdentityProvider identityProvider BlockPublisherProvider blockPublisherProvider ContextProvider contextProvider }
Providers contains the dependencies for the validation handler
Click to show internal directories.
Click to hide internal directories.