Skip to main content

PENDING_BUNKER_SETUP

Static PENDING_BUNKER_SETUP 

Source
pub static PENDING_BUNKER_SETUP: Mutex<Option<(Zeroizing<String>, String)>>
Expand description

Staged bunker metadata between connect_bunker / start_nostrconnect_session and the subsequent encryption-flow commit. URL is wrapped in Zeroizing because it contains the NIP-46 single-use pairing secret; the pubkey hex is non-secret. setup_encryption / skip_encryption reads this when signer_kind() == Bunker to write the right settings rows via commit_bunker_account_setup.

Tuple order: (bunker_url, remote_pubkey_hex).