onionwire/android/app/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lance 4d2528351b
All checks were successful
android-ci / android (pull_request) Successful in 10m51s
android: poll the live wallet-child probe so the sync line moves
The wallet screen's 2s loop read Wire::wallet_status, which only re-reads the
snapshot the last probe left in the store — so the `sync h/t` segment sat frozen
until a chain-mode tap ran start_wallet_child (which probes on its way out).

The loop now paints once from the cached read (non-dialing, so the screen has a
record immediately) and then calls Wire::wallet_child_refresh for every tick:
one live probe of the child's loopback wallet RPC, and of the configured local
daemon's get_info when that RPC does not answer. Same 2s cadence, same
Dispatchers.IO, same sticky walletChildError, same one-poller guarantee.

The loop is a top-level function taking its two reads as parameters, which is
the only seam a JVM test has — requireWire() is NodeHost.requireOpen(), a
process-global only a real Arti bootstrap sets. WalletChildRefreshLoopTest pins
that the cached read paints exactly once and every tick after it is the live
probe, that a probe slower than the tick is never overlapped, and that
cancelling the loop (leaving the screen) stops the dialing.
2026-09-20 00:48:57 -04:00
..
androidTest/java/com/siriusdevops/onionwire/crypto feat(android): wrap the store passphrase in the Android Keystore 2026-09-12 13:55:07 -04:00
main android: poll the live wallet-child probe so the sync line moves 2026-09-20 00:48:57 -04:00
test/java/com/siriusdevops/onionwire android: poll the live wallet-child probe so the sync line moves 2026-09-20 00:48:57 -04:00