Closed losh11 closed 5 years ago
Neutrino is not supported on mainnet at this time
Okay, same thing occurs with testnet. Please reopen.
$ lnd --neutrino.connect=127.0.0.1 --litecoin.testnet --litecoin.active --litecoin.node=neutrino --debuglevel=debug
2019-02-25 17:34:31.789 [WRN] LTND: open /Users/loshan/Library/Application Support/Lnd/lnd.conf: no such file or directory
2019-02-25 17:34:31.789 [INF] LTND: Version: 0.5.2-99-beta commit=v0.5.1-beta-805-ga6cf6f4237ef53b1f0c51c2fcfb9c1ce73cf9e06-dirty, build=production, logging=default
2019-02-25 17:34:31.789 [INF] LTND: Active chain: Litecoin (network=testnet)
2019-02-25 17:34:31.906 [INF] CHDB: Checking for schema update: latest_version=8, db_version=7
2019-02-25 17:34:31.906 [INF] CHDB: Performing database schema migration
2019-02-25 17:34:31.907 [INF] CHDB: Applying migration #8
2019-02-25 17:34:31.907 [INF] CHDB: Migrating to the gossip message store new key format
2019-02-25 17:34:31.907 [INF] CHDB: Migration to the gossip message store new key format complete!
2019-02-25 17:34:32.029 [INF] RPCS: password RPC server listening on 127.0.0.1:10009
2019-02-25 17:34:32.030 [INF] RPCS: password gRPC proxy started at 127.0.0.1:8080
2019-02-25 17:34:32.030 [INF] LTND: Waiting for wallet encryption password. Use `lncli create` to create a wallet, `lncli unlock` to unlock an existing wallet, or `lncli changepassword` to change the password of an existing wallet and unlock it.
2019-02-25 17:34:54.979 [INF] LNWL: Opened wallet
2019-02-25 17:34:55.031 [INF] LTND: Primary chain is set to: litecoin
unable to create chain control: unable to create neutrino: unable to fetch chain tip: target height not found in index
2019-02-25 17:34:55.099 [INF] LTND: Shutdown complete
unable to create neutrino: unable to fetch chain tip: target height not found in index
@losh11 this is known/expected behavior. There’s a reason the unmodified code gives the error “only ltcd and litecoind mode supported for litecoin at this time”
@cfromknecht is this an old issue. Is this still the case?
@kcw-grunt - Litcoin is no longer supported in LND
Background
After enabling neutrino for LTC in
lnd/config.go#651
, using litecoin with neutrino fails to work.Your environment
0.5.2-99-beta (master)
macOS 10.14.3
Steps to reproduce
On
lnd/config.go#651
: addcase "neutrino":
then
Expected behaviour
Neutrino should start syncing with LTC neutrino capable nodes.