Class AInitConfig

java.lang.Object
convex.core.init.AInitConfig

public class AInitConfig extends Object
  • Field Details

    • userKeyPairs

      protected AKeyPair[] userKeyPairs
    • peerKeyPairs

      protected AKeyPair[] peerKeyPairs
    • DEFAULT_PEER_COUNT

      public static int DEFAULT_PEER_COUNT
    • DEFAULT_USER_COUNT

      public static int DEFAULT_USER_COUNT
  • Constructor Details

    • AInitConfig

      protected AInitConfig(AKeyPair[] userKeyPairs, AKeyPair[] peerKeyPairs)
  • Method Details

    • getUserCount

      public int getUserCount()
    • getPeerCount

      public int getPeerCount()
    • getUserKeyPair

      public AKeyPair getUserKeyPair(int index)
    • getPeerKeyPair

      public AKeyPair getPeerKeyPair(int index)
    • getPeerKeyPairs

      public AKeyPair[] getPeerKeyPairs()
    • getUserAddress

      public Address getUserAddress(int index)
    • getPeerAddress

      public Address getPeerAddress(int index)
    • getPeerAddressList

      public Address[] getPeerAddressList()
    • create

      public static AInitConfig create()
    • create

      public static AInitConfig create(int userCount, int peerCount)