Skip to content

Instantly share code, notes, and snippets.

@boldsuck
Last active May 18, 2024 12:44
Show Gist options
  • Save boldsuck/5fb0d6a58e2a675abfe4d7a266b66da9 to your computer and use it in GitHub Desktop.
Save boldsuck/5fb0d6a58e2a675abfe4d7a266b66da9 to your computer and use it in GitHub Desktop.
Haveno Desktop version 1.0.4
Usage: haveno-desktop [options]
Options:
--help
Print this help text
--configFile=<String> (default: haveno.properties)
Specify configuration file. Relative paths will be prefixed by
appDataDir location.
--appName=<String> (default: Haveno-reto)
Application name
--userDataDir=<File> (default: /home/user/.local/share)
User data directory
--appDataDir=<File> (default: /home/user/.local/share/Haveno-reto)
Application data directory
--nodePort=<Integer> (default: 9999)
Port to listen on
--walletRpcBindPort=<Integer> (default: -1)
Port to bind the wallet RPC on
--maxMemory=<Integer> (default: 1200)
Max. permitted memory (used only by headless versions)
--logLevel=<OFF|ALL|ERROR|WARN|INFO|DEBUG|TRACE> (default: INFO)
Set logging level
--bannedXmrNodes=<host:port[,...]>
List Bitcoin nodes to ban
--bannedPriceRelayNodes=<host:port[,...]>
List Haveno price nodes to ban
--bannedSeedNodes=<host:port[,...]>
List Haveno seed nodes to ban
--baseCurrencyNetwork=<XMR_MAINNET|XMR_STAGENET|XMR_LOCAL> (default: XMR_MAINNET)
Base currency network
--ignoreLocalXmrNode=<Boolean> (default: false)
If set to true a Monero node running locally will be ignored
--bitcoinRegtestHost=<host[:port]> (default: )
Bitcoin Core node when using XMR_STAGENET network
--referralId=<String> (default: )
Optional Referral ID (e.g. for API users or pro market makers)
--useDevMode=<Boolean> (default: false)
Enables dev mode which is used for convenience for developer testing
--useDevModeHeader=<Boolean> (default: false)
Use dev mode css scheme to distinguish dev instances.
--useDevPrivilegeKeys=<Boolean> (default: false)
If set to true all privileged features requiring a private key to be
enabled are overridden by a dev key pair (This is for developers only!)
--dumpStatistics=<Boolean> (default: false)
If set to true dump trade statistics to a json file in appDataDir
--ignoreDevMsg=<Boolean> (default: false)
If set to true all signed network_messages from haveno developers are
ignored (Global alert, Version update alert, Filters for offers, nodes
or trading account data)
--providers=<host:port[,...]>
List custom pricenodes
--seedNodes=<host:port[,...]>
Override hard coded seed nodes as comma separated list e.g.
'rxdkppp3vicnbgqt.onion:8002,mfla72c4igh5ta2t.onion:8002'
--banList=<host:port[,...]>
Nodes to exclude from network connections.
--useLocalhostForP2P=<Boolean> (default: false)
Use localhost P2P network for development. Only available for
non-XMR_MAINNET configuration.
--maxConnections=<Integer> (default: 12)
Max. connections a peer will try to keep
--socks5ProxyXmrAddress=<host:port> (default: )
A proxy address to be used for Bitcoin network.
--socks5ProxyHttpAddress=<host:port> (default: )
A proxy address to be used for Http requests (should be non-Tor)
--torrcFile=<File>
An existing torrc-file to be sourced for Tor. Note that torrc-entries,
which are critical to Haveno's correct operation, cannot be overwritten.
--torrcOptions=<^([^\s,]+\s[^,]+,?\s*)+$> (default: )
A list of torrc-entries to amend to Haveno's torrc. Note that
torrc-entries, which are critical to Haveno's flawless operation, cannot
be overwritten. [torrc options line, torrc option, ...]
--torControlHost=<value> (default: 127.0.0.1)
The control hostname of an already running Tor service to be used by
Haveno.
--torControlPort=<port> (default: -1)
The control port of an already running Tor service to be used by Haveno.
--torControlPassword=<value> (default: )
The password for controlling the already running Tor service.
--torControlCookieFile=<File>
The cookie file for authenticating against the already running Tor
service. Use in conjunction with --torControlUseSafeCookieAuth
--torControlUseSafeCookieAuth
Use the SafeCookie method when authenticating to the already running Tor
service.
--torStreamIsolation
Use stream isolation for Tor [experimental!].
--msgThrottlePerSec=<Integer> (default: 200)
Message throttle per sec for connection class
--msgThrottlePer10Sec=<Integer> (default: 1000)
Message throttle per 10 sec for connection class
--sendMsgThrottleTrigger=<Integer> (default: 20)
Time in ms when we trigger a sleep if 2 messages are sent
--sendMsgThrottleSleep=<Integer> (default: 50)
Pause in ms to sleep if we get too many messages to send
--xmrNode=<value> (default: )
URI of custom Monero node to use
--xmrNodeUsername=<value> (default: )
Username of custom Monero node to use
--xmrNodePassword=<value> (default: )
Password of custom Monero node to use
--xmrNodes=<ip[,...]> (default: )
Custom nodes used for Monero as comma separated IP addresses.
--useNativeXmrWallet=<Boolean> (default: false)
Use native wallet libraries instead of monero-wallet-rpc server
--useTorForXmr=<AFTER_SYNC|OFF|ON> (default: AFTER_SYNC)
Configure TOR for Monero connections, one of: after_sync, off, or on.
--socks5DiscoverMode=<mode[,...]> (default: ALL)
Specify discovery mode for Bitcoin nodes. One or more of: [ADDR, DNS,
ONION, ALL] (comma separated, they get OR'd together).
--useAllProvidedNodes=<Boolean> (default: false)
Set to true if connection of bitcoin nodes should include clear net
nodes
--userAgent=<value> (default: Haveno)
User agent at btc node connections
--numConnectionsForBtc=<Integer> (default: 9)
Number of connections to the Bitcoin network
--apiPassword=<value> (default: )
gRPC API password
--apiPort=<Integer> (default: 9998)
gRPC API port
--preventPeriodicShutdownAtSeedNode=<Boolean> (default: false)
Prevents periodic shutdown at seed nodes
--republishMailboxEntries=<Boolean> (default: false)
Republish mailbox messages at startup
--bypassMempoolValidation=<Boolean> (default: false)
Prevents mempool check of trade parameters
--passwordRequired=<Boolean> (default: false)
Requires a password for creating a Haveno account
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment