Class Init

java.lang.Object
convex.core.init.Init

public class Init extends Object
Static class for generating the initial Convex State "The beginning is the most important part of the work." - Plato, The Republic
  • Field Details

    • NULL_ADDRESS

      public static final Address NULL_ADDRESS
    • INIT_ADDRESS

      public static final Address INIT_ADDRESS
    • RESERVED_ADDRESS

      public static final Address RESERVED_ADDRESS
    • MAINBANK_ADDRESS

      public static final Address MAINBANK_ADDRESS
    • ROOTFUND_ADDRESS

      public static final Address ROOTFUND_ADDRESS
    • MAINPOOL_ADDRESS

      public static final Address MAINPOOL_ADDRESS
    • LIVEPOOL_ADDRESS

      public static final Address LIVEPOOL_ADDRESS
    • MEMORY_EXCHANGE_ADDRESS

      public static final Address MEMORY_EXCHANGE_ADDRESS
    • CORE_ADDRESS

      public static final Address CORE_ADDRESS
    • REGISTRY_ADDRESS

      public static final Address REGISTRY_ADDRESS
    • TRUST_ADDRESS

      public static final Address TRUST_ADDRESS
    • GENESIS_ADDRESS

      public static final Address GENESIS_ADDRESS
  • Constructor Details

    • Init

      public Init()
  • Method Details

    • createBaseState

      public static State createBaseState(List<AccountKey> genesisKeys)
    • createStaticLibraries

      public static State createStaticLibraries(State s, Address trustAddress, Address registryAddress)
    • createState

      public static State createState(List<AccountKey> genesisKeys)
    • calcPeerAddress

      public static Address calcPeerAddress(int userCount, int index)
    • calcUserAddress

      public static Address calcUserAddress(int index)
    • getGenesisAddress

      public static Address getGenesisAddress()
    • getGenesisPeerAddress

      public static Address getGenesisPeerAddress(int index)