Class FixedParameters
- java.lang.Object
-
- com.h2tcoin.takamakachain.globalContext.FixedParameters
-
public class FixedParameters extends Object
- Author:
- giovanni.antino@h2tcoin.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFixedParameters.HexKeyWriter1 - 16 files 2 - 256 files 3 - 4096 files and so on...static classFixedParameters.LogTypeLogger typestatic classFixedParameters.WalletError
-
Field Summary
Fields Modifier and Type Field Description static StringADDRESS_BOOK_FOLDERaddress book folder name inside wallet root folderstatic StringADDRESSBOOK_FOLDERaddress book folder name inside application root folderstatic StringAPI_BALANCE_ENDPOINTstatic StringAPI_SETTINGSstatic StringBASEURL_SETTINGS_FILENAME_EXPLORERstatic StringBLOCK_FILE_EXTENSIONextension of the block filesstatic StringCASHBACK_SETTINGS_FILENAMEstatic StringCASHBACK_SETTINGS_WALLET_NAMEstatic KeyContexts.WalletCypherCASHBACK_SETTINGS_WALLET_TYPEstatic StringCHAIN_FOLDERchain folder name inside application root folderstatic StringCHAIN_LOCK_FILEchain lock file name inside application root folderstatic CharsetCHARSETapplication charsetstatic intCOMPRESSION_LEVELstatic StringCURRENT_STATE_FILEfilename of the current application statestatic StringDEFAULT_WALLET_NAMEuse this parameter to initialize the wallet name in constructors or in cases the user does not specify itstatic StringEPOCH_FOLDER_PREFIXepoch folder prefix inside chain folderstatic StringEPOCH_WEIGHT_EXTENSIONstatic StringFAST_SETTINGSstatic StringFAVOURITE_TO_BOOKMARKSstatic List<KeyContexts.TransactionType>FILTER_TRANSACTION_EXPIRATION_BOOTSTRAPFILTER_TRANSACTION_EXPIRATION_STEP_ZERO_LIST#FILTER_TRANSACTION_EXPIRATION_BOOTSTRAPstatic KeyContexts.TransactionType[]FILTER_TRANSACTION_EXPIRATION_BOOTSTRAP_LISTtransaction permitted in step zero for chain initializationstatic List<KeyContexts.TransactionType>FILTER_TRANSACTION_EXPIRATION_NORMAL_OPERATIONFILTER_TRANSACTION_EXPIRATION_STEP_ZERO_LIST#FILTER_TRANSACTION_EXPIRATION_BOOTSTRAPstatic KeyContexts.TransactionType[]FILTER_TRANSACTION_EXPIRATION_NORMAL_OPERATION_LISTtransaction permitted in step OTHER than zerostatic longFORWARD_STATE_TOLLERANCE_MILLSforward chain tollerance millsstatic StringHASH_160_ALGORITHMmessage digest RIP MD 160static StringHASH_256_ALGORITHMmessage digest 256static StringHASH_384_ALGORITHMmessage digest 256static StringHASH_512_ALGORITHMmessage digest 512static StringHASH_PWH_ALGORITHMmessage digest PWHstatic String[]HEX_KEY_NUMstatic StringHOLDER_STAKES_BY_TARGET_EXTENSIONstatic StringLIST_STAKES_DISTRIBUTION_EXTENSIONstatic StringLOG_PREFIX_SEPARATORstatic StringLOGS_FOLDERlogs folder name inside application root folderstatic StringMAIN_ALIASES_SETTINGSstatic StringNODE_MANAGEMENT_FOLDERfolder inside root app directory where the links between MAIN and OVERFLOW nodesstatic StringNODE_NETWORK_SETTINGS_FILEtransactions folder name inside application root folderstatic StringPUBLICKEY_EXTENSIONextensiomn of the public key filesstatic StringPUBLICKEY_FOLDERpublic keys folder name inside application root folderstatic StringREFERENCE_QTESLA_ADDR_FOLDERcompressed qtesla addressesstatic StringREFERENCE_QTESLA_ADDR_PREFIXreference qtesla addresses prefixstatic StringREPLICA_NODE_ENABLEDlogs folder name inside application root folderstatic StringSETTINGS_BOOKMARKSstatic StringSETTINGS_FOLDERstatic StringSETTINGS_TXstatic StringSIMULATION_DUMP_FOLDERstatic StringSLOT_FOLDER_PREFIXslot folder prefix inside epoch folderstatic StringSTATE_DB_PREFIXstate database prefix inside slot directorystatic StringSTATE_FILE_EXTENSIONextension of the application state filesstatic StringSTATE_SLOT_SEPARATORseparator for assigned slot inside state filestatic StringSTRING_SKIPPEDstatic StringSTRING_ZEROstatic StringTRANSACTION_BOX_CACHING_FOLDERfolder inside root app directory where the waiting transaction file queue is locatedstatic StringTRANSACTION_BOX_FOLDERslot folder for the storage of TransactionBox objectsstatic KeyContexts.TransactionType[]TRANSACTION_EXECUTION_ORDERtransaction execution orderstatic StringTRANSACTION_FOLDERtransactions folder name inside application root folderstatic StringTRANSACTION_HISTORY_FILENAMEname of the json containing the simple wallet transaction historystatic StringTRANSACTIONS_DUMP_FOLDERstatic StringUSER_WALLETS_FILE_EXTENSIONstatic StringUSER_WALLETS_FOLDERstatic StringUSER_WALLETS_HINTstatic StringUSER_WALLETS_PREFIXstatic StringUSER_WALLETS_RECOVERY_WORDS_EXTENSIONstatic StringVRF_DISTRIBUTION_EXTENSIONstatic StringWALLET_DICTIONARY_FILEstatic intWALLET_DICTIONARY_LENGTHstatic StringWALLET_EPHEMERAL_FOLDERfolder for ephemeral walletstatic StringWALLET_FILENAMEwallet folder name inside application root folderstatic StringWALLET_FOLDERwallet folder name inside application root folderstatic intWALLET_WORDS_NUMBERstatic StringZERO_BLOCK_FOLDERzero block folder name inside root folder
-
Constructor Summary
Constructors Constructor Description FixedParameters()
-
-
-
Field Detail
-
CURRENT_STATE_FILE
public static final String CURRENT_STATE_FILE
filename of the current application state- See Also:
- Constant Field Values
-
DEFAULT_WALLET_NAME
public static final String DEFAULT_WALLET_NAME
use this parameter to initialize the wallet name in constructors or in cases the user does not specify it- See Also:
- Constant Field Values
-
STATE_FILE_EXTENSION
public static final String STATE_FILE_EXTENSION
extension of the application state files- See Also:
- Constant Field Values
-
BLOCK_FILE_EXTENSION
public static final String BLOCK_FILE_EXTENSION
extension of the block files- See Also:
- Constant Field Values
-
STRING_ZERO
public static final String STRING_ZERO
- See Also:
- Constant Field Values
-
STRING_SKIPPED
public static final String STRING_SKIPPED
- See Also:
- Constant Field Values
-
WALLET_FOLDER
public static final String WALLET_FOLDER
wallet folder name inside application root folder- See Also:
- Constant Field Values
-
PUBLICKEY_FOLDER
public static final String PUBLICKEY_FOLDER
public keys folder name inside application root folder- See Also:
- Constant Field Values
-
TRANSACTION_FOLDER
public static final String TRANSACTION_FOLDER
transactions folder name inside application root folder- See Also:
- Constant Field Values
-
ADDRESSBOOK_FOLDER
public static final String ADDRESSBOOK_FOLDER
address book folder name inside application root folder- See Also:
- Constant Field Values
-
PUBLICKEY_EXTENSION
public static final String PUBLICKEY_EXTENSION
extensiomn of the public key files- See Also:
- Constant Field Values
-
WALLET_EPHEMERAL_FOLDER
public static final String WALLET_EPHEMERAL_FOLDER
folder for ephemeral wallet- See Also:
- Constant Field Values
-
WALLET_FILENAME
public static final String WALLET_FILENAME
wallet folder name inside application root folder- See Also:
- Constant Field Values
-
ADDRESS_BOOK_FOLDER
public static final String ADDRESS_BOOK_FOLDER
address book folder name inside wallet root folder- See Also:
- Constant Field Values
-
ZERO_BLOCK_FOLDER
public static final String ZERO_BLOCK_FOLDER
zero block folder name inside root folder- See Also:
- Constant Field Values
-
LOGS_FOLDER
public static final String LOGS_FOLDER
logs folder name inside application root folder- See Also:
- Constant Field Values
-
REPLICA_NODE_ENABLED
public static final String REPLICA_NODE_ENABLED
logs folder name inside application root folder- See Also:
- Constant Field Values
-
CHAIN_FOLDER
public static final String CHAIN_FOLDER
chain folder name inside application root folder- See Also:
- Constant Field Values
-
EPOCH_FOLDER_PREFIX
public static final String EPOCH_FOLDER_PREFIX
epoch folder prefix inside chain folder- See Also:
- Constant Field Values
-
SLOT_FOLDER_PREFIX
public static final String SLOT_FOLDER_PREFIX
slot folder prefix inside epoch folder- See Also:
- Constant Field Values
-
REFERENCE_QTESLA_ADDR_FOLDER
public static final String REFERENCE_QTESLA_ADDR_FOLDER
compressed qtesla addresses- See Also:
- Constant Field Values
-
REFERENCE_QTESLA_ADDR_PREFIX
public static final String REFERENCE_QTESLA_ADDR_PREFIX
reference qtesla addresses prefix- See Also:
- Constant Field Values
-
TRANSACTION_BOX_FOLDER
public static final String TRANSACTION_BOX_FOLDER
slot folder for the storage of TransactionBox objects- See Also:
- Constant Field Values
-
CHAIN_LOCK_FILE
public static final String CHAIN_LOCK_FILE
chain lock file name inside application root folder- See Also:
- Constant Field Values
-
STATE_SLOT_SEPARATOR
public static final String STATE_SLOT_SEPARATOR
separator for assigned slot inside state file- See Also:
- Constant Field Values
-
STATE_DB_PREFIX
public static final String STATE_DB_PREFIX
state database prefix inside slot directory- See Also:
- Constant Field Values
-
FORWARD_STATE_TOLLERANCE_MILLS
public static final long FORWARD_STATE_TOLLERANCE_MILLS
forward chain tollerance mills- See Also:
- Constant Field Values
-
HOLDER_STAKES_BY_TARGET_EXTENSION
public static final String HOLDER_STAKES_BY_TARGET_EXTENSION
- See Also:
- Constant Field Values
-
LIST_STAKES_DISTRIBUTION_EXTENSION
public static final String LIST_STAKES_DISTRIBUTION_EXTENSION
- See Also:
- Constant Field Values
-
VRF_DISTRIBUTION_EXTENSION
public static final String VRF_DISTRIBUTION_EXTENSION
- See Also:
- Constant Field Values
-
EPOCH_WEIGHT_EXTENSION
public static final String EPOCH_WEIGHT_EXTENSION
- See Also:
- Constant Field Values
-
NODE_NETWORK_SETTINGS_FILE
public static final String NODE_NETWORK_SETTINGS_FILE
transactions folder name inside application root folder- See Also:
- Constant Field Values
-
LOG_PREFIX_SEPARATOR
public static final String LOG_PREFIX_SEPARATOR
- See Also:
- Constant Field Values
-
WALLET_DICTIONARY_LENGTH
public static final int WALLET_DICTIONARY_LENGTH
- See Also:
- Constant Field Values
-
WALLET_WORDS_NUMBER
public static final int WALLET_WORDS_NUMBER
- See Also:
- Constant Field Values
-
HASH_PWH_ALGORITHM
public static final String HASH_PWH_ALGORITHM
message digest PWH- See Also:
- Constant Field Values
-
WALLET_DICTIONARY_FILE
public static final String WALLET_DICTIONARY_FILE
- See Also:
- Constant Field Values
-
TRANSACTION_BOX_CACHING_FOLDER
public static final String TRANSACTION_BOX_CACHING_FOLDER
folder inside root app directory where the waiting transaction file queue is located- See Also:
- Constant Field Values
-
USER_WALLETS_FOLDER
public static final String USER_WALLETS_FOLDER
- See Also:
- Constant Field Values
-
USER_WALLETS_FILE_EXTENSION
public static final String USER_WALLETS_FILE_EXTENSION
- See Also:
- Constant Field Values
-
USER_WALLETS_PREFIX
public static final String USER_WALLETS_PREFIX
- See Also:
- Constant Field Values
-
USER_WALLETS_RECOVERY_WORDS_EXTENSION
public static final String USER_WALLETS_RECOVERY_WORDS_EXTENSION
- See Also:
- Constant Field Values
-
USER_WALLETS_HINT
public static final String USER_WALLETS_HINT
- See Also:
- Constant Field Values
-
TRANSACTIONS_DUMP_FOLDER
public static final String TRANSACTIONS_DUMP_FOLDER
- See Also:
- Constant Field Values
-
SIMULATION_DUMP_FOLDER
public static final String SIMULATION_DUMP_FOLDER
- See Also:
- Constant Field Values
-
SETTINGS_FOLDER
public static final String SETTINGS_FOLDER
- See Also:
- Constant Field Values
-
SETTINGS_BOOKMARKS
public static final String SETTINGS_BOOKMARKS
- See Also:
- Constant Field Values
-
SETTINGS_TX
public static final String SETTINGS_TX
- See Also:
- Constant Field Values
-
API_SETTINGS
public static final String API_SETTINGS
- See Also:
- Constant Field Values
-
FAST_SETTINGS
public static final String FAST_SETTINGS
- See Also:
- Constant Field Values
-
FAVOURITE_TO_BOOKMARKS
public static final String FAVOURITE_TO_BOOKMARKS
- See Also:
- Constant Field Values
-
MAIN_ALIASES_SETTINGS
public static final String MAIN_ALIASES_SETTINGS
- See Also:
- Constant Field Values
-
CASHBACK_SETTINGS_FILENAME
public static final String CASHBACK_SETTINGS_FILENAME
- See Also:
- Constant Field Values
-
CASHBACK_SETTINGS_WALLET_NAME
public static final String CASHBACK_SETTINGS_WALLET_NAME
- See Also:
- Constant Field Values
-
CASHBACK_SETTINGS_WALLET_TYPE
public static KeyContexts.WalletCypher CASHBACK_SETTINGS_WALLET_TYPE
-
BASEURL_SETTINGS_FILENAME_EXPLORER
public static final String BASEURL_SETTINGS_FILENAME_EXPLORER
- See Also:
- Constant Field Values
-
API_BALANCE_ENDPOINT
public static final String API_BALANCE_ENDPOINT
- See Also:
- Constant Field Values
-
NODE_MANAGEMENT_FOLDER
public static final String NODE_MANAGEMENT_FOLDER
folder inside root app directory where the links between MAIN and OVERFLOW nodes- See Also:
- Constant Field Values
-
TRANSACTION_HISTORY_FILENAME
public static final String TRANSACTION_HISTORY_FILENAME
name of the json containing the simple wallet transaction history- See Also:
- Constant Field Values
-
COMPRESSION_LEVEL
public static int COMPRESSION_LEVEL
-
HEX_KEY_NUM
public static final String[] HEX_KEY_NUM
-
CHARSET
public static final Charset CHARSET
application charset
-
HASH_256_ALGORITHM
public static final String HASH_256_ALGORITHM
message digest 256- See Also:
- Constant Field Values
-
HASH_384_ALGORITHM
public static final String HASH_384_ALGORITHM
message digest 256- See Also:
- Constant Field Values
-
HASH_160_ALGORITHM
public static final String HASH_160_ALGORITHM
message digest RIP MD 160- See Also:
- Constant Field Values
-
HASH_512_ALGORITHM
public static final String HASH_512_ALGORITHM
message digest 512- See Also:
- Constant Field Values
-
TRANSACTION_EXECUTION_ORDER
public static final KeyContexts.TransactionType[] TRANSACTION_EXECUTION_ORDER
transaction execution order
-
FILTER_TRANSACTION_EXPIRATION_BOOTSTRAP_LIST
public static final KeyContexts.TransactionType[] FILTER_TRANSACTION_EXPIRATION_BOOTSTRAP_LIST
transaction permitted in step zero for chain initialization
-
FILTER_TRANSACTION_EXPIRATION_BOOTSTRAP
public static final List<KeyContexts.TransactionType> FILTER_TRANSACTION_EXPIRATION_BOOTSTRAP
FILTER_TRANSACTION_EXPIRATION_STEP_ZERO_LIST#FILTER_TRANSACTION_EXPIRATION_BOOTSTRAP
-
FILTER_TRANSACTION_EXPIRATION_NORMAL_OPERATION_LIST
public static final KeyContexts.TransactionType[] FILTER_TRANSACTION_EXPIRATION_NORMAL_OPERATION_LIST
transaction permitted in step OTHER than zero
-
FILTER_TRANSACTION_EXPIRATION_NORMAL_OPERATION
public static final List<KeyContexts.TransactionType> FILTER_TRANSACTION_EXPIRATION_NORMAL_OPERATION
FILTER_TRANSACTION_EXPIRATION_STEP_ZERO_LIST#FILTER_TRANSACTION_EXPIRATION_BOOTSTRAP
-
-