Class APeerCommand

java.lang.Object
convex.cli.ACommand
convex.cli.peer.APeerCommand
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
PeerBackup, PeerCreate, PeerGenesis, PeerList, PeerStart

public abstract class APeerCommand extends ACommand
  • Field Details

  • Constructor Details

    • APeerCommand

      public APeerCommand()
  • Method Details

    • cli

      public Main cli()
      Description copied from class: ACommand
      Gets the current CLI main command instance
      Specified by:
      cli in class ACommand
      Returns:
      CLI instance
    • getEtchStore

      public EtchStore getEtchStore()
    • specifiedPeerKey

      protected AKeyPair specifiedPeerKey()
      Get the keypair for the peer. May return null if not specified or not available in store
    • ensureControllerKey

      protected AKeyPair ensureControllerKey()
      Get the keypair for the peer controller account. Returns null if not specified