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 AddresscalcPeerAddress(int userCount, int index)static AddresscalcUserAddress(int index)static StatecreateBaseState(List<AccountKey> genesisKeys)static StatecreateState(List<AccountKey> genesisKeys)static StatecreateStaticLibraries(State s, Address trustAddress, Address registryAddress)static Addressstatic AddressgetGenesisPeerAddress(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
-