forked from lightningnetwork/lnd
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsample-lnd.conf
171 lines (113 loc) · 3.88 KB
/
sample-lnd.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
[Application Options]
; The directory to store lnd's data within
datadir=~/.lnd/data
; Path to TLS certificate for lnd's RPC and REST services
tlscertpath=~/.lnd/tls.cert
; Path to TLS private key for lnd's RPC and REST services
tlskeypath=~/.lnd/tls.key
; Disable macaroon authentication
no-macaroons=false
; Path to write the admin macaroon for lnd's RPC and REST services if it
; doesn't exist
adminmacaroonpath=~/.lnd/admin.macaroon
; Path to write the read-only macaroon for lnd's RPC and REST services if it
; doesn't exist
readonlymacaroonpath=~/.lnd/readonly.macaroon
; Directory to log output.
logdir=~/.lnd/logs
; Add an interface/port to listen for connections
; (default all interfaces port: 9735)
listen=
; Add an ip to the list of local addresses we claim to listen on to peers
;externalip=
; Logging level for all subsystems {trace, debug, info, warn, error, critical} --
; You may also specify <subsystem>=<level>,<subsystem2>=<level>,... to set the
; log level for individual subsystems -- Use show to list available subsystems
debuglevel=info
; Write CPU profile to the specified file
;cpuprofile=
; Enable HTTP profiling on given port -- NOTE port must be between 1024 and 65536
;profile=
; The port to listen on for incoming p2p connections
peerport=9735
; The port for the rpc server
rpcport=10009
; The port for the REST server
restport=8080
; The maximum number of incoming pending channels permitted per peer.
maxpendingchannels=1
; The default number of confirmations a channel must have before it's considered
; open.
defaultchanconfs=1
; If true, then automatic network bootstrapping will not be attempted.
nobootstrap=false
; If set, wallet will be encrypted using the default passphrase.
noencryptwallet=false
[Bitcoin]
; If the chain should be active or not.
active=false
; The directory to store the chains's data within.
chaindir=
; The daemon's rpc listening address. If a port is omitted, then the default port
; for the selected chain parameters will be used.
rpchost=localhost
; Username for RPC connections
rpcuser=
; Password for RPC connections
rpcpass=
; File containing the daemon's certificate file
rpccert=~/.ltcd/rpc.cert
; The raw bytes of the daemon's PEM-encoded certificate chain which will be used
; to authenticate the RPC connection.
rawrpccert=
; Use the test network
testnet=false
; Use the simulation test network
simnet=false
; Use the regression test network
regtest=false
[Litecoin]
; If the chain should be active or not.
active=false
; The directory to store the chains's data within.
;chaindir=
; The daemon's rpc listening address. If a port is omitted, then the default port
; for the selected chain parameters will be used.
rpchost=localhost
; Username for RPC connections
;rpcuser=
; Password for RPC connections
;rpcpass=
; File containing the daemon's certificate file
rpccert=~/.ltcd/rpc.cert
; The raw bytes of the daemon's PEM-encoded certificate chain which will be used
; to authenticate the RPC connection.
;rawrpccert=
; Use the test network
testnet=false
; Use the simulation test network
simnet=false
; Use the regression test network
regtest=false
[neutrino]
; If SPV mode should be active or not.
active=false
; Add a peer to connect with at startup
;addpeer=
; Connect only to the specified peers at startup
;connect=
; Max number of inbound and outbound peers
;maxpeers=
; How long to ban misbehaving peers. Valid time units are {s, m, h}. Minimum 1
; second
;banduration=
; Maximum allowed ban score before disconnecting and banning misbehaving peers.
;banthreshold=
[autopilot]
; If the autopilot agent should be active or not.
active=false
; The maximum number of channels that should be created
maxchannels=5
; The percentage of total funds that should be committed to automatic channel
; establishment
allocation=0.6