Class ConfigBean


  • public class ConfigBean
    extends Object
    Author:
    francesco.pasetto@h2tcoin.com
    • Field Detail

      • WALLET_NAME

        public String WALLET_NAME
        default wallet name
      • WALLET_EXTENSION

        public String WALLET_EXTENSION
        default wallet file extension
      • TRANSACTION_EXTENSION

        public String TRANSACTION_EXTENSION
        transaction wallet file extension
      • APPLICATION_ROOT_FOLDER_NAME

        public String APPLICATION_ROOT_FOLDER_NAME
        root folder name for the application
      • ZERO_BLOCK_FILE_NUMBER

        public String ZERO_BLOCK_FILE_NUMBER
        zero block file number
      • MEM_CACHE_TRANSACTIONS

        public int MEM_CACHE_TRANSACTIONS
      • NUMBER_OF_ZEROS

        public int NUMBER_OF_ZEROS
        this value establishes in how many parts the unit can be divided
      • FEE_SCALE_MULT

        public BigInteger FEE_SCALE_MULT
      • TARGET_CLIENT_NUMBER_MAX

        public String TARGET_CLIENT_NUMBER_MAX
        define the desidered maximum number of client in the network. The minumum target number will be calculated halfing this value
      • TARGET_CLIENT_NUMBER_MAX_INT

        public int TARGET_CLIENT_NUMBER_MAX_INT
      • TARGET_CLIENT_NUMBER_MAX_BI

        public BigInteger TARGET_CLIENT_NUMBER_MAX_BI
      • YEARS_MOORE_LAW

        public BigInteger YEARS_MOORE_LAW
      • SLOT_PER_EPOCH_INT

        public int SLOT_PER_EPOCH_INT
      • BLOCK_PENATY_LIMIT

        public int BLOCK_PENATY_LIMIT
      • SLOT_PER_EPOCH

        public BigInteger SLOT_PER_EPOCH
      • MAX_ALLOWED_SLOTS_PER_EPOCH

        public BigInteger MAX_ALLOWED_SLOTS_PER_EPOCH
      • TRANSACTION_LIMIT_MB_PER_BLOCK

        public int TRANSACTION_LIMIT_MB_PER_BLOCK
      • TRANSACTION_LIMIT_NUMBER_PER_BLOCK

        public int TRANSACTION_LIMIT_NUMBER_PER_BLOCK
      • PAYBACK_LIMIT_SIZE_MB

        public int PAYBACK_LIMIT_SIZE_MB
      • PENALTY_BLOCKS_PER_BLOCK_OVER_THE_LIMIT

        public int PENALTY_BLOCKS_PER_BLOCK_OVER_THE_LIMIT
      • BLOCK_COINBASE

        public BigInteger BLOCK_COINBASE
      • TRANSACTION_VALIDITY_THRESHOLD

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

        public int MINIMUM_STAKE_BET_UNIT
        Minimum stake bet in unit format. Use TkmTK before apply
      • MINIMUM_BALANCE_OVER_THE_LIMIT

        public BigInteger MINIMUM_BALANCE_OVER_THE_LIMIT
        Minimum balance for staking
      • RIGGED_VRF_SEED

        public String RIGGED_VRF_SEED
        temporary seed for VRF
      • NODE_STATE_NAME

        public String NODE_STATE_NAME
        node wallet name
      • NODE_WALLET_NAME

        public String NODE_WALLET_NAME
        node wallet name
      • TEMPORARY_NODE_WALLET

        public String TEMPORARY_NODE_WALLET
        name for wallets used in forward secure secure node
      • EPHEMERAL_KEYS_SIZE

        public int EPHEMERAL_KEYS_SIZE
      • LIMIT_PROPOSED_KEYS_NUMBER

        public int LIMIT_PROPOSED_KEYS_NUMBER
      • EPHEMERAL_BLOCK_CYPHER

        public KeyContexts.WalletCypher EPHEMERAL_BLOCK_CYPHER
        use ED for test and qtesla for produciotns
      • BLOCK_POOL_LIMIT

        public int BLOCK_POOL_LIMIT
      • TEST_FUNCTIONS_ENABLED

        public boolean TEST_FUNCTIONS_ENABLED
        enables the functions usable only in the test environment. In production the flag must be set ALWAYS to false
      • SIMULATION_DATE

        public Date SIMULATION_DATE
      • REPLICA_NODE

        public boolean REPLICA_NODE
    • Constructor Detail

      • ConfigBean

        public ConfigBean()
    • Method Detail

      • getWALLET_NAME

        public String getWALLET_NAME()
      • setWALLET_NAME

        public void setWALLET_NAME​(String WALLET_NAME)
      • getWALLET_EXTENSION

        public String getWALLET_EXTENSION()
      • setWALLET_EXTENSION

        public void setWALLET_EXTENSION​(String WALLET_EXTENSION)
      • getTRANSACTION_EXTENSION

        public String getTRANSACTION_EXTENSION()
      • setTRANSACTION_EXTENSION

        public void setTRANSACTION_EXTENSION​(String TRANSACTION_EXTENSION)
      • getAPPLICATION_ROOT_FOLDER_NAME

        public String getAPPLICATION_ROOT_FOLDER_NAME()
      • setAPPLICATION_ROOT_FOLDER_NAME

        public void setAPPLICATION_ROOT_FOLDER_NAME​(String APPLICATION_ROOT_FOLDER_NAME)
      • getZERO_BLOCK_FILE_NUMBER

        public String getZERO_BLOCK_FILE_NUMBER()
      • setZERO_BLOCK_FILE_NUMBER

        public void setZERO_BLOCK_FILE_NUMBER​(String ZERO_BLOCK_FILE_NUMBER)
      • getMEM_CACHE_TRANSACTIONS

        public int getMEM_CACHE_TRANSACTIONS()
      • setMEM_CACHE_TRANSACTIONS

        public void setMEM_CACHE_TRANSACTIONS​(int MEM_CACHE_TRANSACTIONS)
      • getNUMBER_OF_ZEROS

        public int getNUMBER_OF_ZEROS()
      • setNUMBER_OF_ZEROS

        public void setNUMBER_OF_ZEROS​(int NUMBER_OF_ZEROS)
      • getFEE_SCALE_MULT

        public BigInteger getFEE_SCALE_MULT()
      • setFEE_SCALE_MULT

        public void setFEE_SCALE_MULT​(BigInteger FEE_SCALE_MULT)
      • getFEE_SCALE_DIV

        public BigInteger getFEE_SCALE_DIV()
      • setFEE_SCALE_DIV

        public void setFEE_SCALE_DIV​(BigInteger FEE_SCALE_DIV)
      • getDISK_SCALE

        public BigInteger getDISK_SCALE()
      • setDISK_SCALE

        public void setDISK_SCALE​(BigInteger DISK_SCALE)
      • setMEM_SCALE

        public void setMEM_SCALE​(BigInteger MEM_SCALE)
      • setCPU_SCALE

        public void setCPU_SCALE​(BigInteger CPU_SCALE)
      • getTARGET_CLIENT_NUMBER_MAX

        public String getTARGET_CLIENT_NUMBER_MAX()
      • setTARGET_CLIENT_NUMBER_MAX

        public void setTARGET_CLIENT_NUMBER_MAX​(String TARGET_CLIENT_NUMBER_MAX)
      • getTARGET_CLIENT_NUMBER_MAX_INT

        public int getTARGET_CLIENT_NUMBER_MAX_INT()
      • setTARGET_CLIENT_NUMBER_MAX_INT

        public void setTARGET_CLIENT_NUMBER_MAX_INT​(int TARGET_CLIENT_NUMBER_MAX_INT)
      • getTARGET_CLIENT_NUMBER_MAX_BI

        public BigInteger getTARGET_CLIENT_NUMBER_MAX_BI()
      • setTARGET_CLIENT_NUMBER_MAX_BI

        public void setTARGET_CLIENT_NUMBER_MAX_BI​(BigInteger TARGET_CLIENT_NUMBER_MAX_BI)
      • getYEARS_MOORE_LAW

        public BigInteger getYEARS_MOORE_LAW()
      • setYEARS_MOORE_LAW

        public void setYEARS_MOORE_LAW​(BigInteger YEARS_MOORE_LAW)
      • getSLOT_PER_EPOCH_INT

        public int getSLOT_PER_EPOCH_INT()
      • setSLOT_PER_EPOCH_INT

        public void setSLOT_PER_EPOCH_INT​(int SLOT_PER_EPOCH_INT)
      • getBLOCK_PENATY_LIMIT

        public int getBLOCK_PENATY_LIMIT()
      • setBLOCK_PENATY_LIMIT

        public void setBLOCK_PENATY_LIMIT​(int BLOCK_PENATY_LIMIT)
      • getSLOT_PER_EPOCH

        public BigInteger getSLOT_PER_EPOCH()
      • setSLOT_PER_EPOCH

        public void setSLOT_PER_EPOCH​(BigInteger SLOT_PER_EPOCH)
      • getMAX_ALLOWED_SLOTS_PER_EPOCH

        public BigInteger getMAX_ALLOWED_SLOTS_PER_EPOCH()
      • setMAX_ALLOWED_SLOTS_PER_EPOCH

        public void setMAX_ALLOWED_SLOTS_PER_EPOCH​(BigInteger MAX_ALLOWED_SLOTS_PER_EPOCH)
      • getTRANSACTION_LIMIT_MB_PER_BLOCK

        public int getTRANSACTION_LIMIT_MB_PER_BLOCK()
      • setTRANSACTION_LIMIT_MB_PER_BLOCK

        public void setTRANSACTION_LIMIT_MB_PER_BLOCK​(int TRANSACTION_LIMIT_MB_PER_BLOCK)
      • getTRANSACTION_LIMIT_NUMBER_PER_BLOCK

        public int getTRANSACTION_LIMIT_NUMBER_PER_BLOCK()
      • setTRANSACTION_LIMIT_NUMBER_PER_BLOCK

        public void setTRANSACTION_LIMIT_NUMBER_PER_BLOCK​(int TRANSACTION_LIMIT_NUMBER_PER_BLOCK)
      • getPAYBACK_LIMIT_SIZE_MB

        public int getPAYBACK_LIMIT_SIZE_MB()
      • setPAYBACK_LIMIT_SIZE_MB

        public void setPAYBACK_LIMIT_SIZE_MB​(int PAYBACK_LIMIT_SIZE_MB)
      • getPENALTY_BLOCKS_PER_BLOCK_OVER_THE_LIMIT

        public int getPENALTY_BLOCKS_PER_BLOCK_OVER_THE_LIMIT()
      • setPENALTY_BLOCKS_PER_BLOCK_OVER_THE_LIMIT

        public void setPENALTY_BLOCKS_PER_BLOCK_OVER_THE_LIMIT​(int PENALTY_BLOCKS_PER_BLOCK_OVER_THE_LIMIT)
      • getBLOCK_COINBASE

        public BigInteger getBLOCK_COINBASE()
      • setBLOCK_COINBASE

        public void setBLOCK_COINBASE​(BigInteger BLOCK_COINBASE)
      • getTRANSACTION_VALIDITY_THRESHOLD

        public static long getTRANSACTION_VALIDITY_THRESHOLD()
      • setTRANSACTION_VALIDITY_THRESHOLD

        public static void setTRANSACTION_VALIDITY_THRESHOLD​(long TRANSACTION_VALIDITY_THRESHOLD)
      • getMINIMUM_STAKE_BET_UNIT

        public int getMINIMUM_STAKE_BET_UNIT()
      • setMINIMUM_STAKE_BET_UNIT

        public void setMINIMUM_STAKE_BET_UNIT​(int MINIMUM_STAKE_BET_UNIT)
      • getMINIMUM_BALANCE_OVER_THE_LIMIT

        public BigInteger getMINIMUM_BALANCE_OVER_THE_LIMIT()
      • setMINIMUM_BALANCE_OVER_THE_LIMIT

        public void setMINIMUM_BALANCE_OVER_THE_LIMIT​(BigInteger MINIMUM_BALANCE_OVER_THE_LIMIT)
      • getRIGGED_VRF_SEED

        public String getRIGGED_VRF_SEED()
      • setRIGGED_VRF_SEED

        public void setRIGGED_VRF_SEED​(String RIGGED_VRF_SEED)
      • getNODE_STATE_NAME

        public String getNODE_STATE_NAME()
      • setNODE_STATE_NAME

        public void setNODE_STATE_NAME​(String NODE_STATE_NAME)
      • getNODE_WALLET_NAME

        public String getNODE_WALLET_NAME()
      • setNODE_WALLET_NAME

        public void setNODE_WALLET_NAME​(String NODE_WALLET_NAME)
      • getTEMPORARY_NODE_WALLET

        public String getTEMPORARY_NODE_WALLET()
      • setTEMPORARY_NODE_WALLET

        public void setTEMPORARY_NODE_WALLET​(String TEMPORARY_NODE_WALLET)
      • getEPHEMERAL_KEYS_SIZE

        public int getEPHEMERAL_KEYS_SIZE()
      • setEPHEMERAL_KEYS_SIZE

        public void setEPHEMERAL_KEYS_SIZE​(int EPHEMERAL_KEYS_SIZE)
      • getLIMIT_PROPOSED_KEYS_NUMBER

        public int getLIMIT_PROPOSED_KEYS_NUMBER()
      • setLIMIT_PROPOSED_KEYS_NUMBER

        public void setLIMIT_PROPOSED_KEYS_NUMBER​(int LIMIT_PROPOSED_KEYS_NUMBER)
      • setEPHEMERAL_BLOCK_CYPHER

        public void setEPHEMERAL_BLOCK_CYPHER​(KeyContexts.WalletCypher EPHEMERAL_BLOCK_CYPHER)
      • getBLOCK_POOL_LIMIT

        public int getBLOCK_POOL_LIMIT()
      • setBLOCK_POOL_LIMIT

        public void setBLOCK_POOL_LIMIT​(int BLOCK_POOL_LIMIT)
      • isTEST_FUNCTIONS_ENABLED

        public boolean isTEST_FUNCTIONS_ENABLED()
      • setTEST_FUNCTIONS_ENABLED

        public void setTEST_FUNCTIONS_ENABLED​(boolean TEST_FUNCTIONS_ENABLED)
      • getSIMULATION_DATE

        public Date getSIMULATION_DATE()
      • setSIMULATION_DATE

        public void setSIMULATION_DATE​(Date SIMULATION_DATE)
      • isREPLICA_NODE

        public boolean isREPLICA_NODE()
      • setREPLICA_NODE

        public void setREPLICA_NODE​(boolean REPLICA_NODE)