2023-03-07 00:14:00 +00:00
|
|
|
# configuration for haveno service
|
|
|
|
# install in /etc/default/haveno.env
|
2021-05-05 00:20:01 +00:00
|
|
|
|
2024-03-12 14:46:32 +00:00
|
|
|
# java home, set to latest openjdk 21 from os repository
|
|
|
|
JAVA_HOME=/usr/lib/jvm/openjdk-21
|
2021-05-05 00:20:01 +00:00
|
|
|
|
|
|
|
# java memory and remote management options
|
2024-03-12 14:46:32 +00:00
|
|
|
JAVA_OPTS="-Xms4096M -Xmx4096M" -XX:+ExitOnOutOfMemoryError"
|
2021-05-05 00:20:01 +00:00
|
|
|
|
2022-06-20 15:38:04 +00:00
|
|
|
# use external tor (change to -1 for internal tor binary)
|
2023-03-07 00:14:00 +00:00
|
|
|
HAVENO_EXTERNAL_TOR_PORT=9051
|
2022-06-20 15:38:04 +00:00
|
|
|
|
2021-05-05 00:20:01 +00:00
|
|
|
# bitcoin rpc credentials
|
|
|
|
BITCOIN_RPC_USER=__BITCOIN_RPC_USER__
|
|
|
|
BITCOIN_RPC_PASS=__BITCOIN_RPC_PASS__
|
|
|
|
|
|
|
|
# bitcoin p2p settings
|
|
|
|
BITCOIN_P2P_HOST=__BITCOIN_P2P_HOST__
|
|
|
|
BITCOIN_P2P_PORT=__BITCOIN_P2P_PORT__
|
|
|
|
|
|
|
|
# bitcoind rpc ports
|
|
|
|
BITCOIN_RPC_HOST=__BITCOIN_RPC_HOST__
|
|
|
|
BITCOIN_RPC_PORT=__BITCOIN_RPC_PORT__
|
|
|
|
BITCOIN_RPC_BLOCKNOTIFY_HOST=127.0.0.1
|
|
|
|
BITCOIN_RPC_BLOCKNOTIFY_PORT=5120
|
|
|
|
|
2023-03-07 00:14:00 +00:00
|
|
|
# haveno pathnames
|
|
|
|
HAVENO_HOME=__HAVENO_HOME__
|
|
|
|
HAVENO_APP_NAME=haveno-seednode
|
|
|
|
HAVENO_ENTRYPOINT=haveno-seednode
|
2024-03-12 14:46:32 +00:00
|
|
|
HAVENO_BASE_CURRENCY=xmr_mainnet
|
2021-05-05 00:20:01 +00:00
|
|
|
|
2023-03-07 00:14:00 +00:00
|
|
|
# haveno node settings
|
|
|
|
HAVENO_NODE_PORT=8000
|
|
|
|
HAVENO_MAX_CONNECTIONS=20
|
|
|
|
HAVENO_MAX_MEMORY=4000
|