65 lines
3.0 KiB
TOML
65 lines
3.0 KiB
TOML
# (Optional) Path to the folder where we should store the application data.
|
|
# Defaults to `.lianad` in your home folder.
|
|
data_dir = "/home/wizardsardine/.lianad"
|
|
|
|
# How verbose logging should be (one of "error", "warn", "info", "debug", "trace")
|
|
log_level = "debug"
|
|
|
|
# The wallet descriptor. It must be a Segwit v0 Pay-To-Witness-Script-Hash (`wsh()`) descriptor
|
|
# corresponding to a `or(pk(A),and(pk(B),older(X)))` policy (either public key A can spend immediately
|
|
# or public key B can spend after X blocks).
|
|
# The public keys must be valid extend keys ("xpubs") ending with a wildcard (i.e. can be derived
|
|
# from). The public keys must be multipath expressions with exactly the `0` and `1` derivation indexes,
|
|
# that is having a derivation step which is `/<0;1>` before the last step. This is in order to be able
|
|
# to derive deposit and change addresses from the same descriptor.
|
|
# The extended public keys must be encoded for the network the daemon is to be run (i.e. "xpub"s for the
|
|
# main network and "tpub"s for everything else).
|
|
#
|
|
# YOUR DESCRIPTOR IS UNIQUE AND MUST BE BACKED UP, WITHOUT IT YOU WONT BE ABLE TO RECOVER YOUR FUNDS.
|
|
#
|
|
main_descriptor = "wsh(or_d(pk([0dd8c6f0/48'/1'/0'/2']tpubDFMbZ7U5k5hEfsttnZTKMmwrGMHnqUGxhShsvBjHimXBpmAp5KmxpyGsLx2toCaQgYq5TipBLhTUtA2pRSB9b14m5KwSohTDoCHkk1EnqtZ/<0;1>/*),and_v(v:pkh([d4ab66f1/48'/1'/0'/2']tpubDEXYN145WM4rVKtcWpySBYiVQ229pmrnyAGJT14BBh2QJr7ABJswchDicZfFaauLyXhDad1nCoCZQEwAW87JPotP93ykC9WJvoASnBjYBxW/<0;1>/*),older(65535))))#7nvn6ssc"
|
|
|
|
# This section is the configuration related to the Bitcoin backend.
|
|
# On what network shall it operate?
|
|
# How often should it poll the Bitcoin backend for updates?
|
|
[bitcoin_config]
|
|
network = "testnet"
|
|
poll_interval_secs = 30
|
|
|
|
# This section depends on the Bitcoin backend being used.
|
|
#
|
|
# If using bitcoind, the section name is [bitcoind_config].
|
|
# In order to be able to connect to bitcoind, it needs to know on what port it is listening and
|
|
# how to authenticate, either by specifying the cookie location with "cookie_path" or otherwise
|
|
# passing a colon-separated user and password with "auth".
|
|
#
|
|
# With cookie path:
|
|
#
|
|
# [bitcoind_config]
|
|
# addr = "127.0.0.1:18332"
|
|
# cookie_path = "/home/wizardsardine/.bitcoin/testnet3/.cookie"
|
|
#
|
|
# With user and password:
|
|
#
|
|
# [bitcoind_config]
|
|
# addr = "127.0.0.1:18332"
|
|
# auth = "my_user:my_password"
|
|
#
|
|
#
|
|
# If using an Electrum server, the section name is [electrum_config].
|
|
# In order to connect, it needs the address as a string, which can be
|
|
# optionally prefixed with "ssl://" or "tcp://". If omitted, "tcp://"
|
|
# will be assumed.
|
|
# `validate_domain` field is optional: used in case of SSL connection,
|
|
# if set to `false`, internal electrum client will not try to validate
|
|
# the domain associated to the certificate: it's useful in case of
|
|
# self-signed certificate. Its default value is `true`.
|
|
# [electrum_config]
|
|
# addr = "127.0.0.1:50001"
|
|
# validate_domain = false
|
|
#
|
|
#
|
|
[bitcoind_config]
|
|
addr = "127.0.0.1:18332"
|
|
cookie_path = "/home/wizardsardine/.bitcoin/testnet3/.cookie"
|