Trait grin_wallet_impls::SlateReceiver

source ·
pub trait SlateReceiver {
    // Required method
    fn listen(
        &self,
        config: WalletConfig,
        passphrase: ZeroingString,
        account: &str,
        node_api_secret: Option<String>
    ) -> Result<(), Error>;
}

Required Methods§

source

fn listen( &self, config: WalletConfig, passphrase: ZeroingString, account: &str, node_api_secret: Option<String> ) -> Result<(), Error>

Start a listener, passing received messages to the wallet api directly Takes a wallet config for now to avoid needing all sorts of awkward type parameters on this trait

Implementors§