Documentation ¶
Index ¶
- Constants
- Variables
- func CryptoKeyToPubkey(key crypto.PubKey) hmTypes.PubKey
- func GetHeimdallApp() *app.HeimdallApp
- func InitializeNodeValidatorFiles(config *cfg.Config) (nodeID string, valPubKey crypto.PubKey, priv crypto.PrivKey, err error)
- func NewHeimdallService(pCtx context.Context, args []string)
- func SetupCtxLogger(logWriter io.Writer, logLevel string) (log.Logger, error)
- func VerifyGenesis(ctx *server.Context, cdc *codec.Codec) *cobra.Command
- func WriteDefaultHeimdallConfig(path string, conf helper.Configuration)
- type ValidatorAccountFormatter
Constants ¶
View Source
const ( FlagMinGasPrices = "minimum-gas-prices" FlagHaltHeight = "halt-height" FlagHaltTime = "halt-time" )
Tendermint full-node start flags
Variables ¶
View Source
var ( FlagOpenTracing = "open-tracing" FlagOpenCollectorEndpoint = "open-collector-endpoint" )
Open Collector Flags
View Source
var ZeroIntString = big.NewInt(0).String()
Functions ¶
func GetHeimdallApp ¶
func GetHeimdallApp() *app.HeimdallApp
func InitializeNodeValidatorFiles ¶
func InitializeNodeValidatorFiles( config *cfg.Config) (nodeID string, valPubKey crypto.PubKey, priv crypto.PrivKey, err error, )
InitializeNodeValidatorFiles initializes node and priv validator files
func NewHeimdallService ¶
func VerifyGenesis ¶
VerifyGenesis verifies the genesis file and brings it in sync with on-chain contract
func WriteDefaultHeimdallConfig ¶
func WriteDefaultHeimdallConfig(path string, conf helper.Configuration)
WriteDefaultHeimdallConfig writes default heimdall config to the given path
Types ¶
type ValidatorAccountFormatter ¶
type ValidatorAccountFormatter struct { Address string `json:"address,omitempty" yaml:"address"` PrivKey string `json:"priv_key,omitempty" yaml:"priv_key"` PubKey string `json:"pub_key,omitempty" yaml:"pub_key"` }
ValidatorAccountFormatter helps to print local validator account information
func GetSignerInfo ¶
GetSignerInfo returns signer information
Click to show internal directories.
Click to hide internal directories.