db.use-native-sql_lnd

Created Diff never expires
0 removals
103 lines
3 additions
106 lines
# MiniBolt: lnd configuration
# MiniBolt: lnd configuration
# /data/lnd/lnd.conf
# /data/lnd/lnd.conf


[Application Options]
[Application Options]
# The alias your node will use, which can be up to 32 UTF-8 characters in length
# The alias your node will use, which can be up to 32 UTF-8 characters in length
alias=<YOUR_FANCY_ALIAS>
alias=<YOUR_FANCY_ALIAS>


# The color of the node in hex format, used to customize node appearance in
# The color of the node in hex format, used to customize node appearance in
# intelligence services
# intelligence services
color=#ff9900
color=#ff9900


# Automatically unlock wallet with the password in this file
# Automatically unlock wallet with the password in this file
wallet-unlock-password-file=/data/lnd/password.txt
wallet-unlock-password-file=/data/lnd/password.txt
wallet-unlock-allow-create=true
wallet-unlock-allow-create=true


# Do not archive the history of the channel.backup file
# Do not archive the history of the channel.backup file
no-backup-archive=true
no-backup-archive=true


# The maximum number of incoming pending channels permitted per peer
# The maximum number of incoming pending channels permitted per peer
maxpendingchannels=5
maxpendingchannels=5


# The TLS private key will be encrypted to the node's seed
# The TLS private key will be encrypted to the node's seed
tlsencryptkey=true
tlsencryptkey=true


# Automatically regenerate certificate when near expiration
# Automatically regenerate certificate when near expiration
tlsautorefresh=true
tlsautorefresh=true


# Do not include the interface IPs or the system hostname in TLS certificate
# Do not include the interface IPs or the system hostname in TLS certificate
tlsdisableautofill=true
tlsdisableautofill=true


## Channel settings
## Channel settings
# (Optional) Minimum channel size. Uncomment and set to your preference
# (Optional) Minimum channel size. Uncomment and set to your preference
# (default: 20000 sats)
# (default: 20000 sats)
#minchansize=20000
#minchansize=20000


## (Optional) High fee environment settings
## (Optional) High fee environment settings
#max-commit-fee-rate-anchors=10
#max-commit-fee-rate-anchors=10
#max-channel-fee-allocation=0.5
#max-channel-fee-allocation=0.5


## Communication
## Communication
accept-keysend=true
accept-keysend=true
accept-amp=true
accept-amp=true


## Rebalancing
## Rebalancing
allow-circular-route=true
allow-circular-route=true


## Performance
## Performance
gc-canceled-invoices-on-startup=true
gc-canceled-invoices-on-startup=true
gc-canceled-invoices-on-the-fly=true
gc-canceled-invoices-on-the-fly=true
ignore-historical-gossip-filters=true
ignore-historical-gossip-filters=true


[Bitcoin]
[Bitcoin]
bitcoin.mainnet=true
bitcoin.mainnet=true
bitcoin.node=bitcoind
bitcoin.node=bitcoind


# Fee settings - default LND base fee = 1000 (mSat), fee rate = 1 (ppm)
# Fee settings - default LND base fee = 1000 (mSat), fee rate = 1 (ppm)
# You can choose whatever you want e.g ZeroFeeRouting (0,0) or ZeroBaseFee (0,X)
# You can choose whatever you want e.g ZeroFeeRouting (0,0) or ZeroBaseFee (0,X)
#bitcoin.basefee=1000
#bitcoin.basefee=1000
#bitcoin.feerate=1
#bitcoin.feerate=1


# (Optional) Specify the CLTV delta we will subtract from a forwarded HTLC's timelock value
# (Optional) Specify the CLTV delta we will subtract from a forwarded HTLC's timelock value
# (default: 80)
# (default: 80)
#bitcoin.timelockdelta=80
#bitcoin.timelockdelta=80


[protocol]
[protocol]
protocol.wumbo-channels=true
protocol.wumbo-channels=true
protocol.option-scid-alias=true
protocol.option-scid-alias=true
protocol.simple-taproot-chans=true
protocol.simple-taproot-chans=true
protocol.zero-conf=true
protocol.zero-conf=true
protocol.rbf-coop-close=true
protocol.rbf-coop-close=true


[wtclient]
[wtclient]
## Watchtower client settings
## Watchtower client settings
wtclient.active=true
wtclient.active=true


# (Optional) Specify the fee rate with which justice transactions will be signed
# (Optional) Specify the fee rate with which justice transactions will be signed
# (default: 10 sat/byte)
# (default: 10 sat/byte)
#wtclient.sweep-fee-rate=10
#wtclient.sweep-fee-rate=10


[watchtower]
[watchtower]
## Watchtower server settings
## Watchtower server settings
watchtower.active=true
watchtower.active=true


[routing]
[routing]
routing.strictgraphpruning=true
routing.strictgraphpruning=true


[db]
[db]
## Database selection
## Database selection
db.backend=postgres
db.backend=postgres


# Use native SQL instead of KV emulation (only for db.backend=postgres)
db.use-native-sql=true

[postgres]
[postgres]
db.postgres.dsn=postgresql://admin:admin@127.0.0.1:5432/lndb?sslmode=disable
db.postgres.dsn=postgresql://admin:admin@127.0.0.1:5432/lndb?sslmode=disable
db.postgres.timeout=0
db.postgres.timeout=0


## (Optional) High fee environment settings
## (Optional) High fee environment settings
# (default: CONSERVATIVE) Uncomment the next 2 lines
# (default: CONSERVATIVE) Uncomment the next 2 lines
#[Bitcoind]
#[Bitcoind]
#bitcoind.estimatemode=ECONOMICAL
#bitcoind.estimatemode=ECONOMICAL


[tor]
[tor]
tor.active=true
tor.active=true
tor.v3=true
tor.v3=true
tor.streamisolation=true
tor.streamisolation=true