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() (tmtcTypes.ResultStatus, error) NetInfo() (tmtcTypes.ResultNetInfo, error) }
API is a main consensus interface exposing functionalities to `database` and other packages.
func NewConsensusApi ¶ added in v1.2.0
Click to show internal directories.
Click to hide internal directories.