Open NicolasDorier opened 5 years ago
+1
Probably a duplicate: https://github.com/ElementsProject/lightning/issues/1806
does not seem to work
lightningd: /root/.lightning/config line 8: dev-override-fee-rates: unrecognized option
Running v0.8, it seems this was removed:
Usage: lightningd
A bitcoin lightning daemon (default values shown for network: regtest).
--conf=<file> Specify configuration file
--lightning-dir=<dir> Set base directory: network-specific
subdirectory is under here
(default: "/root/.lightning")
--network <arg> Select the network parameters (bitcoin,
testnet, regtest, litecoin or
litecoin-testnet) (default: regtest)
--testnet Alias for --network=testnet
--signet Alias for --network=signet
--mainnet Alias for --network=bitcoin
--allow-deprecated-apis <arg> Enable deprecated options, JSONRPC
commands, fields, etc. (default: true)
--rpc-file <arg> Set JSON-RPC socket (or /dev/tty)
(default: "/root/.lightning/lightning-rpc")
--plugin <arg> Add a plugin to be run (can be used
multiple times)
--plugin-dir <arg> Add a directory to load plugins from
(can be used multiple times)
--clear-plugins Remove all plugins added before this
option
--disable-plugin <arg> Disable a particular plugin by
filename/name
--always-use-proxy <arg> Use the proxy always (default: false)
--daemon Run in the background, suppress
stdout/stderr
--wallet <arg> Location of the wallet database.
--help|-h Print this message.
--bitcoin-datadir <arg> -datadir arg for bitcoin-cli
--rgb <arg> RRGGBB hex color for node
--alias <arg> Up to 32-byte alias for node
--bitcoin-cli <arg> bitcoin-cli pathname
--bitcoin-rpcuser <arg> bitcoind RPC username
--bitcoin-rpcpassword <arg> bitcoind RPC password
--bitcoin-rpcconnect <arg> bitcoind RPC host to connect to
--bitcoin-rpcport <arg> bitcoind RPC port
--bitcoin-retry-timeout <arg> how long to keep trying to contact
bitcoind before fatally exiting
(default: 60)
--pid-file=<file> Specify pid file
(default: "/root/.lightning/lightningd-regtest.pid")
--ignore-fee-limits <arg> (DANGEROUS) allow peer to set any
feerate (default: true)
--watchtime-blocks <arg> Blocks before peer can unilaterally
spend funds (default: 6)
--max-locktime-blocks <arg> Maximum blocks funds may be locked for
(default: 2016)
--funding-confirms <arg> Confirmations required for funding
transaction (default: 1)
--commit-fee-min=<percent> Minimum percentage of fee to accept for
commitment (default: 0)
--commit-fee-max=<percent> Maximum percentage of fee to accept for
commitment (0 for unlimited)
(default: 0)
--commit-fee=<percent> Percentage of fee to request for their
commitment (default: 500)
--cltv-delta <arg> Number of blocks for cltv_expiry_delta
(default: 6)
--cltv-final <arg> Number of blocks for final cltv_expiry
(default: 10)
--commit-time=<millseconds> Time after changes before sending out
COMMIT (default: 10)
--fee-base <arg> Millisatoshi minimum to charge for HTLC
(default: 1)
--rescan <arg> Number of blocks to rescan from the
current head, or absolute blockheight if
negative (default: 30)
--fee-per-satoshi <arg> Microsatoshi fee for every satoshi in
HTLC (default: 10)
--max-concurrent-htlcs <arg> Number of HTLCs one channel can handle
concurrently. Should be between 1 and
483 (default: 483)
--min-capacity-sat <arg> Minimum capacity in satoshis for
accepting channels (default: 10000)
--addr <arg> Set an IP address (v4 or v6) to listen
on and announce to the network for
incoming connections
--bind-addr <arg> Set an IP address (v4 or v6) to listen
on, but not announce
--announce-addr <arg> Set an IP address (v4 or v6) or .onion
v2/v3 to announce, but not listen on
--offline Start in offline-mode (do not
automatically reconnect and do not
accept incoming connections)
--autolisten <arg> If true, listen on default port and
announce if it seems to be a public
interface (default: true)
--proxy <arg> Set a socks v5 proxy IP address and port
--tor-service-password <arg> Set a Tor hidden service password
--disable-dns Disable DNS lookups of peers
--enable-autotor-v2-mode Try to get a v2 onion address from the
Tor service call, default is v3
--encrypted-hsm Set the password to encrypt hsm_secret
with. If no password is passed through
command line, you will be prompted to
enter it.
--log-level <arg> log level (io, debug, info, unusual,
broken) [:prefix] (default: DEBUG)
--log-prefix <arg> log prefix (default: lightningd)
--log-file=<file> log to file instead of stdout
--version|-V Print version and exit
--dev-debugger=<subprocess> Invoke gdb at start of <subprocess>
--dev-no-reconnect Disable automatic reconnect-attempts by
this node, but accept incoming
--dev-disconnect=<filename> File containing disconnection points
--dev-allow-localhost Announce and allow announcments for
localhost address
--dev-bitcoind-poll <arg> Time between polling for new
transactions (default: 1)
--dev-max-fee-multiplier <arg> Allow the fee proposed by the remote end
to be up to multiplier times higher than
our own. Small values will cause
channels to be closed more often due to
fee fluctuations, large values may
result in large fees. (default: 10)
--dev-fast-gossip Make gossip broadcast 1 second, etc
--dev-fast-gossip-prune Make gossip pruning 30 seconds
--dev-gossip-time <arg> UNIX time to override gossipd to use.
(default: 0)
--dev-force-privkey <arg> Force HSM to use this as node private
key
--dev-force-bip32-seed <arg> Force HSM to use this as bip32 seed
--dev-force-channel-secrets <arg> Force HSM to use these for all
per-channel secrets
--dev-max-funding-unconfirmed-blocks <arg>
Maximum number of blocks we wait for a
channel funding transaction to confirm,
if we are the fundee. (default: 2016)
--dev-force-tmp-channel-id <arg> Force the temporary channel id, instead
of random
--dev-no-htlc-timeout Don't kill channeld if HTLCs not
confirmed within 30 seconds
--autocleaninvoice-cycle <arg> Perform cleanup of expired invoices
every given seconds, or do not autoclean
if 0
--autocleaninvoice-expired-by <arg> If expired invoice autoclean enabled,
invoices that have expired for at least
this given seconds are cleaned
Is it possible to remove those logs somehow:
This tend to fill up the logs of the machine when I am debugging stuff for regtest.