Open ezracarr opened 7 months ago
How are you creating the initial wallet? Just a random one that you then don't use?
You should instead use lncli createwatchonly
where you can pass in a wallet birthday, as described here: https://github.com/lightningnetwork/lnd/blob/b875084cbed0b2fb4fed30a184be37152ca6a5c5/docs/remote-signing.md#the-signer-node
I'm building a system that relies on remote signing nodes and watch-only nodes that are derived from those remote signers. I constitute the watch only nodes by using the
wallet accounts import
functionality thereby importing the xpub from the remote signer into the watch only node.The problem I am running into is that the node sync process takes way too long because the "birthday" of the node is unknown and hence it defaults to the segwit activation block (I think).
The node proceeds to rescann a couple hundred thousand blocks which takes many hours
I would love to be able to set the node's birthday block manually within the lnd.conf file. something like start_height=838000
Below is a snippet of the logs from the node that is taking a long time to sync. It is currently taking about 45 minutes to process 10,000 blocks.