Package convex.core.init
Class AInitConfig
java.lang.Object
convex.core.init.AInitConfig
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AInitConfig(AKeyPair[] userKeyPairs, AKeyPair[] peerKeyPairs)
-
Method Summary
Modifier and TypeMethodDescriptionstatic AInitConfig
create()
static AInitConfig
create(int userCount, int peerCount)
getPeerAddress(int index)
Address[]
int
getPeerKeyPair(int index)
AKeyPair[]
getUserAddress(int index)
int
getUserKeyPair(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
-