Zeus not showing btc txs since 0.4.1 upgrade

I use Fulcrum and LNC to connect to zeus. I updated Startos about a week ago and only just noticed btc transactions missing from zeus today because I was checking balance after receiving some btc which does show up in thunderhub. What do I need to do to get zeus to sync and show btc txs?

There have been a lot of updates to services. Please make sure you are on the latest version of everything (StartOS, all services and Zeus itself) and then try again.

If you still run into trouble after that, you should try reconnecting Zeus by following this guide:

1 Like

My problem appears to be with IOS 27. When I tested zeus on a pixel ph I have running GrapheneOS BTC txs all show in History

After further testing and investigation with help from Dux, I posted a bug report on the zeus github and got this reply from kaloudis

Findings so far:

Cause. ZEUS v13.2.4 changed how it asks LND for on-chain history (#4770). To get the newest transactions first, it asks LND to read the wallet’s blocks backwards from the chain tip. On LND’s default bolt database that works. On a sqlite or postgres database, LND returns no confirmed transactions for that request because of a database cursor bug, and only unconfirmed ones come back. Balances are calculated separately, which is why they are still correct.

Who is affected. Any LND node on sqlite or postgres, over both REST and LNC. StartOS LND converts nodes to sqlite as of its 0.21 package, and the conversion can’t be undone, so every StartOS LND user on ZEUS v13.2.4 sees an empty on-chain history. Embedded LND wallets set up with the sqlite backend are affected too. Your setup (StartOS, LND 0.21.6, Lightning Terminal over LNC) matches.

Reproduced. On regtest with LND v0.21.6-beta, one node on bolt and one on sqlite, the v13.2.4 request returned all 107 transactions on bolt and 1 of 8 on sqlite (only the unconfirmed one). The pre-v13.2.4 request returned all 8 on sqlite.

Fix. #5679 falls back to reading the history forwards when LND returns no confirmed transactions. Against the same sqlite node it returns all 8. It’s not merged yet and still needs device testing.

Upstream. The LND cursor bug is reported as lightningnetwork/lnd#11533.

Workaround until a release with the fix: ZEUS v13.1.x shows the history. Nothing on the node side needs to change.