Skip to main content

is_bunker

Function is_bunker 

Source
pub fn is_bunker() -> bool
Expand description

true iff the active account signs via a remote NIP-46 bunker. Hot-path helper for code that needs to branch on signer mode (e.g. parallelising gift-wrap signing harder when each call pays a round-trip).