epochtime

package
v0.2011.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package epochtime implements the tendermint backed epochtime backend.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceClient

type ServiceClient interface {
	api.Backend
	tmapi.ServiceClient
}

ServiceClient is the beacon service client interface.

func New

func New(ctx context.Context, backend tmapi.Backend, interval int64) (ServiceClient, error)

New constructs a new tendermint backed epochtime Backend instance, with the specified epoch interval.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL