Package convex.core.init
Class Init
java.lang.Object
convex.core.init.Init
Static class for generating the initial Convex State
"The beginning is the most important part of the work." - Plato, The Republic
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Address
calcPeerAddress(int userCount, int index)
static Address
calcUserAddress(int index)
static State
createBaseState(List<AccountKey> genesisKeys)
static State
createState(List<AccountKey> genesisKeys)
static State
createStaticLibraries(State s, Address trustAddress, Address registryAddress)
static Address
static Address
getGenesisPeerAddress(int index)
-
Field Details
-
NULL_ADDRESS
-
INIT_ADDRESS
-
RESERVED_ADDRESS
-
MAINBANK_ADDRESS
-
ROOTFUND_ADDRESS
-
MAINPOOL_ADDRESS
-
LIVEPOOL_ADDRESS
-
MEMORY_EXCHANGE_ADDRESS
-
CORE_ADDRESS
-
REGISTRY_ADDRESS
-
TRUST_ADDRESS
-
GENESIS_ADDRESS
-
-
Constructor Details
-
Init
public Init()
-
-
Method Details
-
createBaseState
-
createStaticLibraries
-
createState
-
calcPeerAddress
-
calcUserAddress
-
getGenesisAddress
-
getGenesisPeerAddress
-