Documentation
¶
Index ¶
- func AnnounceNode(ctx context.Context, parser *flags.Parser) error
- func BlockExplorer(ctx context.Context, parser *flags.Parser) error
- func Bridge(ctx context.Context, parser *flags.Parser) error
- func CometBFT(_ context.Context, parser *flags.Parser) error
- func Datanode(ctx context.Context, parser *flags.Parser) error
- func Init(ctx context.Context, parser *flags.Parser) error
- func Main(ctx context.Context) error
- func Node(ctx context.Context, parser *flags.Parser) error
- func ProposeProtocolUpgrade(ctx context.Context, parser *flags.Parser) error
- func Query(ctx context.Context, parser *flags.Parser) error
- func Register(ctx context.Context, parser *flags.Parser, cmds ...Subcommand) error
- func RotateEthKey(ctx context.Context, parser *flags.Parser) error
- func Start(ctx context.Context, parser *flags.Parser) error
- func Tendermint(_ context.Context, parser *flags.Parser) error
- func Tm(_ context.Context, parser *flags.Parser) error
- func UnsafeResetAll(_ context.Context, parser *flags.Parser) error
- func Verify(ctx context.Context, parser *flags.Parser) error
- func Version(_ context.Context, parser *flags.Parser) error
- func Wallet(ctx context.Context, parser *flags.Parser) error
- func Watch(ctx context.Context, parser *flags.Parser) error
- type AnnounceNodeCmd
- type BridgeCmd
- type InitCmd
- type ProposeUpgradeCmd
- type QueryCmd
- type RotateEthKeyCmd
- type StartCmd
- type Subcommand
- type UnsafeResetAllCmd
- type VerifyCmd
- type VersionCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnnounceNode ¶
func BlockExplorer ¶
func ProposeProtocolUpgrade ¶
func Register ¶
func Register(ctx context.Context, parser *flags.Parser, cmds ...Subcommand) error
Register registers one or more subcommands.
func RotateEthKey ¶
func Tendermint ¶
func UnsafeResetAll ¶
Types ¶
type AnnounceNodeCmd ¶
type AnnounceNodeCmd struct {
config.VegaHomeFlag
config.OutputFlag
config.Passphrase `long:"passphrase-file"`
InfoURL string `` /* 135-byte string literal not displayed */
Country string `` /* 135-byte string literal not displayed */
Name string `` /* 135-byte string literal not displayed */
AvatarURL string `` /* 135-byte string literal not displayed */
FromEpoch uint64 `` /* 135-byte string literal not displayed */
SubmitterAddress string `description:"Ethereum address to use as a submitter to contract changes" long:"submitter-address" short:"s"`
}
func (*AnnounceNodeCmd) Execute ¶
func (opts *AnnounceNodeCmd) Execute(_ []string) error
type InitCmd ¶
type InitCmd struct {
config.VegaHomeFlag
config.OutputFlag
config.Passphrase `long:"nodewallet-passphrase-file"`
Force bool `description:"Erase existing vega configuration at the specified path" long:"force" short:"f"`
NoTendermint bool `description:"Disable tendermint configuration generation" long:"no-tendermint"`
TendermintHome string `` /* 151-byte string literal not displayed */
TendermintKey string `` /* 210-byte string literal not displayed */
}
type ProposeUpgradeCmd ¶
type ProposeUpgradeCmd struct {
config.VegaHomeFlag
config.OutputFlag
config.Passphrase `long:"passphrase-file"`
VegaReleaseTag string `description:"A valid vega core release tag for the upgrade proposal" long:"vega-release-tag" required:"true" short:"v"`
UpgradeBlockHeight uint64 `description:"The block height at which the upgrade should be made" long:"height" required:"true" short:"h"`
}
func (*ProposeUpgradeCmd) Execute ¶
func (opts *ProposeUpgradeCmd) Execute(_ []string) error
type QueryCmd ¶
type QueryCmd struct {
Accounts query.AccountsCmd `command:"accounts" description:"Query a vega node to get the state of accounts"`
Assets query.AssetsCmd `command:"assets" description:"Query a vega node to get the list of available assets"`
NetworkParameters query.NetworkParametersCmd `command:"netparams" description:"Query a vega node to get the list network parameters"`
Parties query.PartiesCmd `command:"parties" description:"Query a vega node to get the list of parties"`
Validators query.ValidatorsCmd `command:"validators" description:"Query a vega node to get the list of the validators"`
Markets query.MarketsCmd `command:"markets" description:"Query a vega node to get the list of all markets"`
Proposals query.ProposalsCmd `command:"proposals" description:"Query a vega node to get the list of all proposals"`
Help bool `description:"Show this help message" long:"help" short:"h"`
}
type RotateEthKeyCmd ¶
type RotateEthKeyCmd struct {
config.VegaHomeFlag
config.OutputFlag
config.Passphrase `long:"passphrase-file"`
TargetBlock uint64 `description:"The future block height at which the rotation will take place" long:"target-block" short:"b"`
RotateFrom string `description:"Ethereum address being rotated from" long:"rotate-from" short:"r"`
SubmitterAddress string `description:"Ethereum address to use as a submitter to contract changes" long:"submitter-address" short:"s"`
}
func (*RotateEthKeyCmd) Execute ¶
func (opts *RotateEthKeyCmd) Execute(_ []string) error
type StartCmd ¶
type StartCmd struct {
config.Passphrase `description:"A file contain the passphrase to decrypt the node wallet" long:"nodewallet-passphrase-file"`
config.VegaHomeFlag
config.Config
TendermintHome string `description:"Directory for tendermint config and data (default: $HOME/.cometbft)" long:"tendermint-home"`
Network string `description:"The network to start this node with" long:"network"`
NetworkURL string `description:"The URL to a genesis file to start this node with" long:"network-url"`
}
type Subcommand ¶
Subcommand is the signature of a sub command that can be registered.
type UnsafeResetAllCmd ¶
type UnsafeResetAllCmd struct {
config.VegaHomeFlag
}
func (*UnsafeResetAllCmd) Execute ¶
func (cmd *UnsafeResetAllCmd) Execute(_ []string) error
type VerifyCmd ¶
type VerifyCmd struct {
Asset verify.AssetCmd `command:"passet" description:"verify the payload of an asset proposal"`
Genesis verify.GenesisCmd `command:"genesis" description:"verify the appstate of a genesis file"`
}
type VersionCmd ¶
type VersionCmd struct {
config.OutputFlag
// contains filtered or unexported fields
}
func (*VersionCmd) Execute ¶
func (cmd *VersionCmd) Execute(_ []string) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.