api

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	SyncProgress() (eth.SyncProgress, error)
	BroadcastTx(tx ethTypes.Transaction) error
	Status() (tmtTypes.ResultStatus, error)
}

API is a main consensus interface exposing functionalities to `database` and other packages.

func NewRPCApi

func NewRPCApi(rpcListenPort uint) API

Jump to

Keyboard shortcuts

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