Package convex.core.init
Class AInitConfig
java.lang.Object
convex.core.init.AInitConfig
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAInitConfig(AKeyPair[] userKeyPairs, AKeyPair[] peerKeyPairs) -
Method Summary
Modifier and TypeMethodDescriptionstatic AInitConfigcreate()static AInitConfigcreate(int userCount, int peerCount)getPeerAddress(int index)Address[]intgetPeerKeyPair(int index)AKeyPair[]getUserAddress(int index)intgetUserKeyPair(int index)
-
Field Details
-
userKeyPairs
-
peerKeyPairs
-
DEFAULT_PEER_COUNT
public static int DEFAULT_PEER_COUNT -
DEFAULT_USER_COUNT
public static int DEFAULT_USER_COUNT
-
-
Constructor Details
-
AInitConfig
-
-
Method Details
-
getUserCount
public int getUserCount() -
getPeerCount
public int getPeerCount() -
getUserKeyPair
-
getPeerKeyPair
-
getPeerKeyPairs
-
getUserAddress
-
getPeerAddress
-
getPeerAddressList
-
create
-
create
-