Documentation ¶
Index ¶
- type Source
- func (s Source) Confirmation(height int64, root string) (rarimocoretypes.Confirmation, error)
- func (s Source) Operation(height int64, index string) (rarimocoretypes.Operation, error)
- func (s Source) Params(height int64) (rarimocoretypes.Params, error)
- func (s Source) ViolationReport(height int64, sessionId, offender, sender string, ...) (rarimocoretypes.ViolationReport, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶
Source implements rarimocoresource.Source using a remote node
func NewSource ¶
func NewSource(source *remote.Source, rarimocoreClient rarimocoretypes.QueryClient) *Source
NewSource returns a new Source implementation
func (Source) Confirmation ¶
func (s Source) Confirmation(height int64, root string) (rarimocoretypes.Confirmation, error)
Confirmation implements rarimocoresource.Source
func (Source) Params ¶
func (s Source) Params(height int64) (rarimocoretypes.Params, error)
Params implements rarimocoresource.Source
func (Source) ViolationReport ¶
func (s Source) ViolationReport(height int64, sessionId, offender, sender string, violationType rarimocoretypes.ViolationType) (rarimocoretypes.ViolationReport, error)
ViolationReport implements rarimocoresource.Source
Click to show internal directories.
Click to hide internal directories.