Function grin_wallet_controller::controller::owner_listener

source ยท
pub fn owner_listener<L, C, K>(
    wallet: Arc<Mutex<Box<dyn WalletInst<'static, L, C, K> + 'static>>>,
    keychain_mask: Arc<Mutex<Option<SecretKey>>>,
    addr: &str,
    api_secret: Option<String>,
    tls_config: Option<TLSConfig>,
    owner_api_include_foreign: Option<bool>,
    tor_config: Option<TorConfig>,
    test_mode: bool
) -> Result<(), Error>
where L: WalletLCProvider<'static, C, K> + 'static, C: NodeClient + 'static, K: Keychain + 'static,
Expand description

Listener version, providing same API but listening for requests on a port and wrapping the calls Note keychain mask is only provided here in case the foreign listener is also being used in the same wallet instance