[−][src]Function grin_wallet::controller::foreign_listener
pub fn foreign_listener<T: ?Sized, C, K>(
wallet: Arc<Mutex<T>>,
addr: &str,
tls_config: Option<TLSConfig>
) -> Result<(), Error> where
T: WalletBackend<C, K> + Send + Sync + 'static,
C: NodeClient + 'static,
K: Keychain + 'static,
Listener version, providing same API but listening for requests on a port and wrapping the calls