Brings in an Electrum client for a profile with no node: IdentityElectrum
gives an nsec or npub profile a StandaloneElectrum of its own, so every
profile can watch the chain.
For the group Lightning wallet:
- GroupChainClients now sits on IdentityElectrum's client for the node's
network, so group wallets and the watcher work on profiles with no node
too.
- Each other network (testnet3, for the Lightning wallet) now gets a
StandaloneElectrum instead of this branch's own connection loop. The
old loop picked a server with ElectrumServers and connected directly,
ignoring the profile's Tor setting, so a profile with Tor on would have
reached a testnet3 server in the clear. The new one uses onion servers
while Tor is on. A test covers it.
- The group's Lightning node takes its context and logger from the app,
not the identity's Phoenix business, so a profile with no node that
holds a share can be elected and run it.
- The member wallet's follow() keeps its network parameter.
The full JVM suite (1,568 tests) and the regtest run pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>