feat(lightning): turn the group Lightning wallet on, on testnet3 (Phase 15)

GroupLightningRollout.ENABLED is now true. A Marmot group's screen offers
the Lightning wallet and the testnet3 onchain wallet it closes to, and
devices run the group nodes they are elected to. NIP-17 rooms still get
neither: they have no key to sign with. Mainnet is still refused by
GroupLightningRollout.allows, whatever a screen offers.

It was turned on before Phase 0's testnet3 measurement of how long the
LSP waits for a signature, so the 60-second signing deadline is a guess
until the first groups run there. The plan doc says so.

The wallet-row test now finds the onchain row by its title and status,
since the testnet3 row is also "Not opened yet". A new test checks that
the Lightning rows open the Lightning wallet and the testnet3 wallet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-10-26 21:25:37 +02:00
1 parent 0939bd4c55
commit 5ff9380b03
3 files changed
+35 -5

No files matched your search

@@ -12,9 +12,12 @@ import fr.acinq.bitcoin.Chain
object GroupLightningRollout {
/**
* Whether the group's screen offers a Lightning wallet, and the test-network on-chain wallet it closes
* to. Lifts when Phases 0 to 12 are in, the JVM suite passes and a regtest end-to-end run passes.
* to, and whether this device runs the group nodes it is elected to. On, on testnet3 only: the phases
* are in, the JVM suite passes and the regtest end-to-end run passes. Phase 0's measurement of how
* long the LSP waits for a signature was still to be made on testnet3 when it was lifted, so the
* signing deadline is a guess until the first groups run there.
*/
const val ENABLED: Boolean = false
const val ENABLED: Boolean = true
/**
* The only network a Lightning wallet may be opened on. Iceberg says not to put money behind it, so