Documentation ¶
Index ¶
Constants ¶
View Source
const (
// CfgMode configures the consensus backend mode.
CfgMode = "consensus.tendermint.mode"
)
Variables ¶
View Source
var Flags = flag.NewFlagSet("", flag.ContinueOnError)
Flags has the configuration flags.
Functions ¶
func Mode ¶ added in v0.2103.13
func Mode() (mode consensusAPI.Mode, err error)
Mode returns the configured tendermint mode.
func New ¶
func New( ctx context.Context, dataDir string, identity *identity.Identity, upgrader upgradeAPI.Backend, genesisProvider genesisAPI.Provider, ) (consensusAPI.Backend, error)
New creates a new Tendermint consensus backend.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package abci implements the tendermint ABCI application integration.
|
Package abci implements the tendermint ABCI application integration. |
Package api implements the API between Oasis ABCI application and Oasis core.
|
Package api implements the API between Oasis ABCI application and Oasis core. |
apps
|
|
beacon
Package beacon implements the combined beacon and epochtime application.
|
Package beacon implements the combined beacon and epochtime application. |
beacon/state
Package state is deprecated.
|
Package state is deprecated. |
governance/api
Package api defines the governance application API for other applications.
|
Package api defines the governance application API for other applications. |
keymanager
Package keymanager implements the key manager management application.
|
Package keymanager implements the key manager management application. |
registry
Package registry implements the registry application.
|
Package registry implements the registry application. |
registry/api
Package api defines the registry application API for other applications.
|
Package api defines the registry application API for other applications. |
roothash
Package roothash implements the roothash application.
|
Package roothash implements the roothash application. |
roothash/api
Package api defines the roothash application API for other applications.
|
Package api defines the roothash application API for other applications. |
scheduler/api
Package api defines the scheduler application API for other applications.
|
Package api defines the scheduler application API for other applications. |
staking
Package staking implements the staking application.
|
Package staking implements the staking application. |
Package beacon implements the tendermint backed beacon and epochtime backends.
|
Package beacon implements the tendermint backed beacon and epochtime backends. |
Package crypto implements tendermint specific cryptography.
|
Package crypto implements tendermint specific cryptography. |
Package db implements several Tendermint DB backends.
|
Package db implements several Tendermint DB backends. |
badger
Package badger implements a tendermint DB, backed by BadgerDB.
|
Package badger implements a tendermint DB, backed by BadgerDB. |
tests
Package tests is a collection of tendermint DB backend tests.
|
Package tests is a collection of tendermint DB backend tests. |
Package full implements a full Tendermint consensus node.
|
Package full implements a full Tendermint consensus node. |
Package governance implements the tendermint backed governance backend.
|
Package governance implements the tendermint backed governance backend. |
Package keymanager provides the tendermint backed key manager management implementation.
|
Package keymanager provides the tendermint backed key manager management implementation. |
Package light provides a light Tendermint consensus backend implementation.
|
Package light provides a light Tendermint consensus backend implementation. |
Package registry implements the tendermint backed registry backend.
|
Package registry implements the tendermint backed registry backend. |
Package roothash implements the tendermint backed roothash backend.
|
Package roothash implements the tendermint backed roothash backend. |
Package scheduler implements the tendermint backed scheduling backend.
|
Package scheduler implements the tendermint backed scheduling backend. |
Package staking implements the tendermint backed staking backend.
|
Package staking implements the tendermint backed staking backend. |
Click to show internal directories.
Click to hide internal directories.