Class DefaultInitParameters


  • public class DefaultInitParameters
    extends Object
    Author:
    giovanni.antino@h2tcoin.com
    • Field Detail

      • WALLET_NAME

        public static String WALLET_NAME
        default wallet name
      • WALLET_EXTENSION

        public static String WALLET_EXTENSION
        default wallet file extension
      • TRANSACTION_EXTENSION

        public static String TRANSACTION_EXTENSION
        transaction wallet file extension
      • APPLICATION_ROOT_FOLDER_NAME

        public static String APPLICATION_ROOT_FOLDER_NAME
        root folder name for the application
      • HOTMOKA_TEST_FOLDER_NAME

        public static String HOTMOKA_TEST_FOLDER_NAME
        test path hotmoka
      • HOTMOKA_FILES_FOLDER_NAME

        public static String HOTMOKA_FILES_FOLDER_NAME
      • ZERO_BLOCK_FILE_NUMBER

        public static String ZERO_BLOCK_FILE_NUMBER
        zero block file number
      • MEM_CACHE_TRANSACTIONS

        public static int MEM_CACHE_TRANSACTIONS
      • NUMBER_OF_ZEROS

        public static final int NUMBER_OF_ZEROS
        this value establishes in how many parts the unit can be divided
        See Also:
        Constant Field Values
      • FEE_SCALE_MULT

        public static final BigInteger FEE_SCALE_MULT
      • FEE_SCALE_DIV

        public static final BigInteger FEE_SCALE_DIV
      • DISK_SCALE

        public static final BigInteger DISK_SCALE
      • MEM_SCALE

        public static final BigInteger MEM_SCALE
      • CPU_SCALE

        public static final BigInteger CPU_SCALE
      • TARGET_CLIENT_NUMBER_MAX

        public static final String TARGET_CLIENT_NUMBER_MAX
        define the desired maximum number of client in the network. The minimum target number will be calculated halving this value
        See Also:
        Constant Field Values
      • TARGET_CLIENT_NUMBER_MAX_INT

        public static final int TARGET_CLIENT_NUMBER_MAX_INT
      • TARGET_CLIENT_NUMBER_MAX_BI

        public static final BigInteger TARGET_CLIENT_NUMBER_MAX_BI
      • YEARS_MOORE_LAW

        public static final BigInteger YEARS_MOORE_LAW
      • BLOCK_PENATY_LIMIT

        public static final int BLOCK_PENATY_LIMIT
      • SLOT_PER_EPOCH

        public static final BigInteger SLOT_PER_EPOCH
      • MAX_ALLOWED_SLOTS_PER_EPOCH

        public static final BigInteger MAX_ALLOWED_SLOTS_PER_EPOCH
      • TRANSACTION_LIMIT_MB_PER_BLOCK

        public static final int TRANSACTION_LIMIT_MB_PER_BLOCK
        See Also:
        Constant Field Values
      • TRANSACTION_LIMIT_NUMBER_PER_BLOCK

        public static final int TRANSACTION_LIMIT_NUMBER_PER_BLOCK
        See Also:
        Constant Field Values
      • PENALTY_BLOCKS_PER_BLOCK_OVER_THE_LIMIT

        public static final int PENALTY_BLOCKS_PER_BLOCK_OVER_THE_LIMIT
        See Also:
        Constant Field Values
      • BLOCK_COINBASE

        public static final BigInteger BLOCK_COINBASE
      • TRANSACTION_VALIDITY_THRESHOLD

        public static long TRANSACTION_VALIDITY_THRESHOLD
        transaction validity threshold in milliseconds as long value
      • BROADCAST_BUFFER_QUEUE_VALIDITY_THRESHOLD

        public static long BROADCAST_BUFFER_QUEUE_VALIDITY_THRESHOLD
        block permanence in broadcast buffer queue validity threshold in milliseconds as long value
      • FAST_SYNC_EXECUTION_TIME_SPACE

        public static long FAST_SYNC_EXECUTION_TIME_SPACE
        fast sync execution limit
      • THREAD_POOL_EXECUTOR_LIMIT_VALUE

        public static long THREAD_POOL_EXECUTOR_LIMIT_VALUE
      • THREAD_POOL_EXECUTOR_LIMIT_UNIT

        public static TimeUnit THREAD_POOL_EXECUTOR_LIMIT_UNIT
      • TKM_BUFFER_QUEUE_VALIDITY_THRESHOLD

        public static long TKM_BUFFER_QUEUE_VALIDITY_THRESHOLD
      • TKM_BUFFER_QUEUE_TRANSACTIONS_NUMBER

        public static int TKM_BUFFER_QUEUE_TRANSACTIONS_NUMBER
      • REQUEST_PAY_MESSAGE_LIMIT

        public static final int REQUEST_PAY_MESSAGE_LIMIT
        See Also:
        Constant Field Values
      • MAX_NUMBER_OF_BLOCKS_IN_BROADCAST_BUFFER_QUEUE

        public static int MAX_NUMBER_OF_BLOCKS_IN_BROADCAST_BUFFER_QUEUE
        number of blocks in boradcast buffer queue
      • MINIMUM_STAKE_BET_UNIT

        public static final int MINIMUM_STAKE_BET_UNIT
        Minimum stake bet in unit format. Use TkmTK before apply
        See Also:
        Constant Field Values
      • MINIMUM_BALANCE_OVER_THE_LIMIT

        public static final BigInteger MINIMUM_BALANCE_OVER_THE_LIMIT
        Minimum balance for staking
      • TEMPORARY_NODE_WALLET

        public static final String TEMPORARY_NODE_WALLET
        name for wallets used in forward secure secure node
        See Also:
        Constant Field Values
      • LIMIT_PROPOSED_KEYS_NUMBER

        public static final int LIMIT_PROPOSED_KEYS_NUMBER
        See Also:
        Constant Field Values
      • LIMIT_PROPOSED_NODE_KEYS

        public static final int LIMIT_PROPOSED_NODE_KEYS
        See Also:
        Constant Field Values
      • LIMIT_PROPOSED_HISTORY_TRANSACTIONS_SIZE

        public static final int LIMIT_PROPOSED_HISTORY_TRANSACTIONS_SIZE
        number of transaction in wallet history
        See Also:
        Constant Field Values
      • EPHEMERAL_BLOCK_CYPHER

        public static final KeyContexts.WalletCypher EPHEMERAL_BLOCK_CYPHER
        use ED for test and qtesla for productions
      • BLOCK_POOL_LIMIT

        public static int BLOCK_POOL_LIMIT
      • TO_DATA_LENGTH_WHITELIST

        public static final int[] TO_DATA_LENGTH_WHITELIST
      • TEST_FUNCTIONS_ENABLED

        public static final boolean TEST_FUNCTIONS_ENABLED
        enables the functions usable only in the test environment. In production the flag must be set ALWAYS to false
        See Also:
        Constant Field Values
      • SIMULATION_FUNCTIONS_ENABLED

        public static final boolean SIMULATION_FUNCTIONS_ENABLED
        See Also:
        Constant Field Values
      • simulationFunctionKillAtTarget

        public static boolean simulationFunctionKillAtTarget
        stop the execution of the node at the end of the simulation
      • SIMULATION_DATE

        public static final Date SIMULATION_DATE
      • BLOCKS_ID_PATTERN

        public static final Pattern BLOCKS_ID_PATTERN
      • isReplicaNode

        public static boolean isReplicaNode
      • QTESLA_COMPRESSED_ADDRESSES_FOLDER_LEVELS

        public static final int QTESLA_COMPRESSED_ADDRESSES_FOLDER_LEVELS
        See Also:
        Constant Field Values
      • LRBEANS_LIVENESS

        public static int LRBEANS_LIVENESS
      • LRBEANS_VALIDITY_THRESHOLD

        public static long LRBEANS_VALIDITY_THRESHOLD
      • TAKAMAKA_CODE_JAR_RESOURCE

        public static String TAKAMAKA_CODE_JAR_RESOURCE
        takamaka code jar
    • Constructor Detail

      • DefaultInitParameters

        public DefaultInitParameters()