Closed Starlined closed 1 year ago
Mh, that's strange. Is this on regtest
did you generate some blocks after sending the funds and before syncing the wallets?
This is on mainnet, which could be part of the problem, it's strange that the update wallet balance was working when I first tried. Currently it shows my balance from 2 days ago.
This is on mainnet, which could be part of the problem, it's strange that the update wallet balance was working when I first tried. Currently it shows my balance from 2 days ago.
Huh, are you saying it reverted back to the old balance or 0 somehow? Did you set the storage path to some local directory? The current default for testing purposes is /tmp/ldk_node/
, which is of course lost on machine restarts. Would this by chance apply to you, i.e., not changing the default and restarting over night?
Are you on LDK Discord and could reach out to me so we can see what the issue is? My handle is tnull#9465.
So I spun it up now and the balance is showing perfectly. Might have been a blockstream problem? The error was strange, essentially I put funds in the wallet, it updated the balance I did this a couple times and then suddenly it stopped updating and wouldn't work for an entire day. I left it alone for the weekend and today first time running the node and it worked.
I'm going to try connect a channel now.
I did change the ldk_node directory and have got backups of all the data there just in case.
Okay, so while the balance is updating correctly now but I still can't open channels on mainnet :?
So I spun it up now and the balance is showing perfectly. Might have been a blockstream problem? The error was strange, essentially I put funds in the wallet, it updated the balance I did this a couple times and then suddenly it stopped updating and wouldn't work for an entire day. I left it alone for the weekend and today first time running the node and it worked.
I'm going to try connect a channel now.
I did change the ldk_node directory and have got backups of all the data there just in case.
Alright, good to know it worked. Def. keep backups, but I'd still recommend against using this on mainnet yet with any funds you're not willing to lose. As stated in the release notes, this alpha release should still be considered highly experimental and we'll give no compatibility guarantees until 0.1. So generally testing things on testnet/signet/regtest would be much preferable.
Okay, so while the balance is updating correctly now but I still can't open channels on mainnet :?
Alright, what do you mean by "can't open a channel"? Could you provide logs? Did you receive the corresponding ChannelPending
event? Note that if connect_open_channel
returned Ok(())
you'll of course still need to wait for the channel to confirm on-chain, at which point you'll get a ChannelReady
event.
@Starlined do you have any more insight into this? I'm really curious what was the cause for what you were seeing.
Closing for now, let me know if the issue persists or if you have any more insight.
This is very strange.
This was working for me last night. However today, without changing the code, the wallets not longer show new balances?? My old balance from last night still shows but any new btc I send the wallet does not sync, even when I call the sync command.