You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

97 lines
2.2 KiB

const appConfig = {
config: { // default config
host: '127.0.0.1',
agamaPort: 17777,
maxDescriptors: {
darwin: 90000,
linux: 1000000,
},
dev: false,
debug: false,
roundValues: false,
experimentalFeatures: false,
dataDir: '',
dex: {
walletUnlockTimeout: 3600,
},
},
schema: {
host: {
display: true,
type: 'string',
displayName: 'Hostname',
info: 'Application hostname',
},
agamaPort: {
display: true,
type: 'number',
displayName: 'Agama Port',
info: 'Agama HTTP port. Required to run GUI.',
},
maxDescriptors: {
display: false,
displayName: 'Max Descriptors per Process',
darwin: {
display: true,
displayName: 'MacOS (Darwin)',
type: 'number',
},
linux: {
display: true,
displayName: 'Linux',
type: 'number',
},
},
dev: {
display: true,
initDisplay: true,
displayName: 'Developer mode',
info: 'Enable developer mode',
type: 'boolean',
},
debug: {
display: true,
initDisplay: true,
displayName: 'Debug',
info: 'Enable debug output',
type: 'boolean',
},
roundValues: {
display: true,
displayName: 'Enable amount rounding',
info: 'Round \"dust\" amounts to save screen space',
type: 'boolean',
},
experimentalFeatures: {
display: true,
initDisplay: true,
displayName: 'Enable experimental features',
type: 'boolean',
},
dataDir: {
display: true,
initDisplay: true,
displayName: 'Komodo data directory',
info: 'The data directory is the location where Komodo data files are stored, including the wallet data file',
type: 'folder',
},
daemonOutput: {
display: false,
initDisplay: false,
displayName: 'Output daemon prints (debug)',
info: 'Output daemon prints to GUI for debug purposes',
type: 'boolean',
},
dex: {
display: false,
displayName: 'dex',
walletUnlockTimeout: {
display: true,
displayName: 'walletUnlockTimeout',
type: 'number',
},
},
},
};
module.exports = appConfig;