Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ModeFull is the name of the full node consensus mode. ModeFull = "full" // ModeSeed is the name of the seed-only node consensus mode. ModeSeed = "seed" )
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 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 beacon application.
|
Package beacon implements the beacon application. |
epochtime_mock
Package epochtimemock implements the mock epochtime application.
|
Package epochtimemock implements the mock epochtime application. |
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. |
roothash
Package roothash implements the roothash application.
|
Package roothash implements the roothash application. |
staking
Package staking implements the staking application.
|
Package staking implements the staking application. |
Package beacon implements the tendermint backed beacon backend.
|
Package beacon implements the tendermint backed beacon backend. |
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 epochtime implements the tendermint backed epochtime backend.
|
Package epochtime implements the tendermint backed epochtime backend. |
Package epochtimemock implements the mock (settable) tendermint backed epochtime backend.
|
Package epochtimemock implements the mock (settable) tendermint backed epochtime backend. |
Package full implements a full Tendermint consensus node.
|
Package full implements a full Tendermint consensus node. |
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.