Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsensusService ¶
type ConsensusService struct {
// contains filtered or unexported fields
}
func NewConsensusService ¶
func NewConsensusService(params ConsensusServiceParams) *ConsensusService
func (*ConsensusService) ConsensusStatus ¶
func (s *ConsensusService) ConsensusStatus(ctx context.Context, _ api.ConsensusStatusOptions) (*api.ConsensusStatus, error)
func (*ConsensusService) Type ¶
func (s *ConsensusService) Type() api.ServiceType
type ConsensusServiceParams ¶
type NodeStatusClient ¶
type NodeStatusClient interface { Status(context.Context) (*coretypes.ResultStatus, error) NetInfo(context.Context) (*coretypes.ResultNetInfo, error) }
type SubmitClient ¶
type Submitter ¶
type Submitter struct {
// contains filtered or unexported fields
}
func NewSubmitter ¶
func NewSubmitter(params SubmitterParams) *Submitter
type SubmitterParams ¶
type SubmitterParams struct { Logger log.Logger Local SubmitClient }
type ValidateClient ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func NewValidator ¶
func NewValidator(params ValidatorParams) *Validator
type ValidatorParams ¶
type ValidatorParams struct { Logger log.Logger Local ValidateClient }
Click to show internal directories.
Click to hide internal directories.