pub trait Node:
Send
+ Sync
+ 'static {
type SubscribeBlockAddedStream: Stream<Item = Result<BlockAddedNotification, Status>> + Send + 'static;
type SubscribeChannelOpenFailedStream: Stream<Item = Result<ChannelOpenFailedNotification, Status>> + Send + 'static;
type SubscribeChannelOpenedStream: Stream<Item = Result<ChannelOpenedNotification, Status>> + Send + 'static;
type SubscribeConnectStream: Stream<Item = Result<PeerConnectNotification, Status>> + Send + 'static;
type SubscribeCustomMsgStream: Stream<Item = Result<CustomMsgNotification, Status>> + Send + 'static;
type SubscribeChannelStateChangedStream: Stream<Item = Result<ChannelStateChangedNotification, Status>> + Send + 'static;
Show 140 methods
// Required methods
fn getinfo<'life0, 'async_trait>(
&'life0 self,
request: Request<GetinfoRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetinfoResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_peers<'life0, 'async_trait>(
&'life0 self,
request: Request<ListpeersRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListpeersResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_funds<'life0, 'async_trait>(
&'life0 self,
request: Request<ListfundsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListfundsResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn send_pay<'life0, 'async_trait>(
&'life0 self,
request: Request<SendpayRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SendpayResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_channels<'life0, 'async_trait>(
&'life0 self,
request: Request<ListchannelsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListchannelsResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn add_gossip<'life0, 'async_trait>(
&'life0 self,
request: Request<AddgossipRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AddgossipResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn add_psbt_output<'life0, 'async_trait>(
&'life0 self,
request: Request<AddpsbtoutputRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AddpsbtoutputResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn auto_clean_once<'life0, 'async_trait>(
&'life0 self,
request: Request<AutocleanonceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AutocleanonceResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn auto_clean_status<'life0, 'async_trait>(
&'life0 self,
request: Request<AutocleanstatusRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AutocleanstatusResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn check_message<'life0, 'async_trait>(
&'life0 self,
request: Request<CheckmessageRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CheckmessageResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn close<'life0, 'async_trait>(
&'life0 self,
request: Request<CloseRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CloseResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn connect_peer<'life0, 'async_trait>(
&'life0 self,
request: Request<ConnectRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ConnectResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn create_invoice<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateinvoiceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateinvoiceResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn datastore<'life0, 'async_trait>(
&'life0 self,
request: Request<DatastoreRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DatastoreResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn datastore_usage<'life0, 'async_trait>(
&'life0 self,
request: Request<DatastoreusageRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DatastoreusageResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn create_onion<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateonionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateonionResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn del_datastore<'life0, 'async_trait>(
&'life0 self,
request: Request<DeldatastoreRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DeldatastoreResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn del_invoice<'life0, 'async_trait>(
&'life0 self,
request: Request<DelinvoiceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DelinvoiceResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn dev_forget_channel<'life0, 'async_trait>(
&'life0 self,
request: Request<DevforgetchannelRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DevforgetchannelResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn emergency_recover<'life0, 'async_trait>(
&'life0 self,
request: Request<EmergencyrecoverRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<EmergencyrecoverResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn get_emergency_recover_data<'life0, 'async_trait>(
&'life0 self,
request: Request<GetemergencyrecoverdataRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetemergencyrecoverdataResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn expose_secret<'life0, 'async_trait>(
&'life0 self,
request: Request<ExposesecretRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ExposesecretResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn recover<'life0, 'async_trait>(
&'life0 self,
request: Request<RecoverRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RecoverResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn recover_channel<'life0, 'async_trait>(
&'life0 self,
request: Request<RecoverchannelRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RecoverchannelResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn invoice<'life0, 'async_trait>(
&'life0 self,
request: Request<InvoiceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<InvoiceResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn create_invoice_request<'life0, 'async_trait>(
&'life0 self,
request: Request<InvoicerequestRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<InvoicerequestResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn disable_invoice_request<'life0, 'async_trait>(
&'life0 self,
request: Request<DisableinvoicerequestRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DisableinvoicerequestResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_invoice_requests<'life0, 'async_trait>(
&'life0 self,
request: Request<ListinvoicerequestsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListinvoicerequestsResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_datastore<'life0, 'async_trait>(
&'life0 self,
request: Request<ListdatastoreRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListdatastoreResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_invoices<'life0, 'async_trait>(
&'life0 self,
request: Request<ListinvoicesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListinvoicesResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn send_onion<'life0, 'async_trait>(
&'life0 self,
request: Request<SendonionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SendonionResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_send_pays<'life0, 'async_trait>(
&'life0 self,
request: Request<ListsendpaysRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListsendpaysResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_transactions<'life0, 'async_trait>(
&'life0 self,
request: Request<ListtransactionsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListtransactionsResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn make_secret<'life0, 'async_trait>(
&'life0 self,
request: Request<MakesecretRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<MakesecretResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn pay<'life0, 'async_trait>(
&'life0 self,
request: Request<PayRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<PayResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_nodes<'life0, 'async_trait>(
&'life0 self,
request: Request<ListnodesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListnodesResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn wait_any_invoice<'life0, 'async_trait>(
&'life0 self,
request: Request<WaitanyinvoiceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<WaitanyinvoiceResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn wait_invoice<'life0, 'async_trait>(
&'life0 self,
request: Request<WaitinvoiceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<WaitinvoiceResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn wait_send_pay<'life0, 'async_trait>(
&'life0 self,
request: Request<WaitsendpayRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<WaitsendpayResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn new_addr<'life0, 'async_trait>(
&'life0 self,
request: Request<NewaddrRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<NewaddrResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn withdraw<'life0, 'async_trait>(
&'life0 self,
request: Request<WithdrawRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<WithdrawResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn key_send<'life0, 'async_trait>(
&'life0 self,
request: Request<KeysendRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<KeysendResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn fund_psbt<'life0, 'async_trait>(
&'life0 self,
request: Request<FundpsbtRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<FundpsbtResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn send_psbt<'life0, 'async_trait>(
&'life0 self,
request: Request<SendpsbtRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SendpsbtResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn sign_psbt<'life0, 'async_trait>(
&'life0 self,
request: Request<SignpsbtRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SignpsbtResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn utxo_psbt<'life0, 'async_trait>(
&'life0 self,
request: Request<UtxopsbtRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UtxopsbtResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn tx_discard<'life0, 'async_trait>(
&'life0 self,
request: Request<TxdiscardRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<TxdiscardResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn tx_prepare<'life0, 'async_trait>(
&'life0 self,
request: Request<TxprepareRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<TxprepareResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn tx_send<'life0, 'async_trait>(
&'life0 self,
request: Request<TxsendRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<TxsendResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_peer_channels<'life0, 'async_trait>(
&'life0 self,
request: Request<ListpeerchannelsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListpeerchannelsResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_closed_channels<'life0, 'async_trait>(
&'life0 self,
request: Request<ListclosedchannelsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListclosedchannelsResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn decode_pay<'life0, 'async_trait>(
&'life0 self,
request: Request<DecodepayRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DecodepayResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn decode<'life0, 'async_trait>(
&'life0 self,
request: Request<DecodeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DecodeResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn del_pay<'life0, 'async_trait>(
&'life0 self,
request: Request<DelpayRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DelpayResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn del_forward<'life0, 'async_trait>(
&'life0 self,
request: Request<DelforwardRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DelforwardResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn disable_offer<'life0, 'async_trait>(
&'life0 self,
request: Request<DisableofferRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DisableofferResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn enable_offer<'life0, 'async_trait>(
&'life0 self,
request: Request<EnableofferRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<EnableofferResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn disconnect<'life0, 'async_trait>(
&'life0 self,
request: Request<DisconnectRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DisconnectResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn feerates<'life0, 'async_trait>(
&'life0 self,
request: Request<FeeratesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<FeeratesResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn fetch_invoice<'life0, 'async_trait>(
&'life0 self,
request: Request<FetchinvoiceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<FetchinvoiceResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn fund_channel_cancel<'life0, 'async_trait>(
&'life0 self,
request: Request<FundchannelCancelRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<FundchannelCancelResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn fund_channel_complete<'life0, 'async_trait>(
&'life0 self,
request: Request<FundchannelCompleteRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<FundchannelCompleteResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn fund_channel<'life0, 'async_trait>(
&'life0 self,
request: Request<FundchannelRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<FundchannelResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn fund_channel_start<'life0, 'async_trait>(
&'life0 self,
request: Request<FundchannelStartRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<FundchannelStartResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn get_log<'life0, 'async_trait>(
&'life0 self,
request: Request<GetlogRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetlogResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn funder_update<'life0, 'async_trait>(
&'life0 self,
request: Request<FunderupdateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<FunderupdateResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn get_route<'life0, 'async_trait>(
&'life0 self,
request: Request<GetrouteRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetrouteResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_addresses<'life0, 'async_trait>(
&'life0 self,
request: Request<ListaddressesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListaddressesResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_forwards<'life0, 'async_trait>(
&'life0 self,
request: Request<ListforwardsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListforwardsResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_offers<'life0, 'async_trait>(
&'life0 self,
request: Request<ListoffersRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListoffersResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_pays<'life0, 'async_trait>(
&'life0 self,
request: Request<ListpaysRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListpaysResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_htlcs<'life0, 'async_trait>(
&'life0 self,
request: Request<ListhtlcsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListhtlcsResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn multi_fund_channel<'life0, 'async_trait>(
&'life0 self,
request: Request<MultifundchannelRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<MultifundchannelResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn multi_withdraw<'life0, 'async_trait>(
&'life0 self,
request: Request<MultiwithdrawRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<MultiwithdrawResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn offer<'life0, 'async_trait>(
&'life0 self,
request: Request<OfferRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<OfferResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn open_channel_abort<'life0, 'async_trait>(
&'life0 self,
request: Request<OpenchannelAbortRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<OpenchannelAbortResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn open_channel_bump<'life0, 'async_trait>(
&'life0 self,
request: Request<OpenchannelBumpRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<OpenchannelBumpResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn open_channel_init<'life0, 'async_trait>(
&'life0 self,
request: Request<OpenchannelInitRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<OpenchannelInitResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn open_channel_signed<'life0, 'async_trait>(
&'life0 self,
request: Request<OpenchannelSignedRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<OpenchannelSignedResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn open_channel_update<'life0, 'async_trait>(
&'life0 self,
request: Request<OpenchannelUpdateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<OpenchannelUpdateResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn ping<'life0, 'async_trait>(
&'life0 self,
request: Request<PingRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<PingResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn plugin<'life0, 'async_trait>(
&'life0 self,
request: Request<PluginRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<PluginResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn rene_pay_status<'life0, 'async_trait>(
&'life0 self,
request: Request<RenepaystatusRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RenepaystatusResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn rene_pay<'life0, 'async_trait>(
&'life0 self,
request: Request<RenepayRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<RenepayResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn reserve_inputs<'life0, 'async_trait>(
&'life0 self,
request: Request<ReserveinputsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ReserveinputsResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn send_custom_msg<'life0, 'async_trait>(
&'life0 self,
request: Request<SendcustommsgRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SendcustommsgResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn send_invoice<'life0, 'async_trait>(
&'life0 self,
request: Request<SendinvoiceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SendinvoiceResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn set_channel<'life0, 'async_trait>(
&'life0 self,
request: Request<SetchannelRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SetchannelResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn set_config<'life0, 'async_trait>(
&'life0 self,
request: Request<SetconfigRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SetconfigResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn set_psbt_version<'life0, 'async_trait>(
&'life0 self,
request: Request<SetpsbtversionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SetpsbtversionResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn sign_invoice<'life0, 'async_trait>(
&'life0 self,
request: Request<SigninvoiceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SigninvoiceResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn sign_message<'life0, 'async_trait>(
&'life0 self,
request: Request<SignmessageRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SignmessageResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn splice_init<'life0, 'async_trait>(
&'life0 self,
request: Request<SpliceInitRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SpliceInitResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn splice_signed<'life0, 'async_trait>(
&'life0 self,
request: Request<SpliceSignedRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SpliceSignedResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn splice_update<'life0, 'async_trait>(
&'life0 self,
request: Request<SpliceUpdateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<SpliceUpdateResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn dev_splice<'life0, 'async_trait>(
&'life0 self,
request: Request<DevspliceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<DevspliceResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn unreserve_inputs<'life0, 'async_trait>(
&'life0 self,
request: Request<UnreserveinputsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UnreserveinputsResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn upgrade_wallet<'life0, 'async_trait>(
&'life0 self,
request: Request<UpgradewalletRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<UpgradewalletResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn wait_block_height<'life0, 'async_trait>(
&'life0 self,
request: Request<WaitblockheightRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<WaitblockheightResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn wait<'life0, 'async_trait>(
&'life0 self,
request: Request<WaitRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<WaitResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn list_configs<'life0, 'async_trait>(
&'life0 self,
request: Request<ListconfigsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ListconfigsResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn stop<'life0, 'async_trait>(
&'life0 self,
request: Request<StopRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<StopResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn help<'life0, 'async_trait>(
&'life0 self,
request: Request<HelpRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<HelpResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn pre_approve_keysend<'life0, 'async_trait>(
&'life0 self,
request: Request<PreapprovekeysendRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<PreapprovekeysendResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn pre_approve_invoice<'life0, 'async_trait>(
&'life0 self,
request: Request<PreapproveinvoiceRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<PreapproveinvoiceResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn static_backup<'life0, 'async_trait>(
&'life0 self,
request: Request<StaticbackupRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<StaticbackupResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn bkpr_channels_apy<'life0, 'async_trait>(
&'life0 self,
request: Request<BkprchannelsapyRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<BkprchannelsapyResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn bkpr_dump_income_csv<'life0, 'async_trait>(
&'life0 self,
request: Request<BkprdumpincomecsvRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<BkprdumpincomecsvResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn bkpr_inspect<'life0, 'async_trait>(
&'life0 self,
request: Request<BkprinspectRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<BkprinspectResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn bkpr_list_account_events<'life0, 'async_trait>(
&'life0 self,
request: Request<BkprlistaccounteventsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<BkprlistaccounteventsResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn bkpr_list_balances<'life0, 'async_trait>(
&'life0 self,
request: Request<BkprlistbalancesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<BkprlistbalancesResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn bkpr_list_income<'life0, 'async_trait>(
&'life0 self,
request: Request<BkprlistincomeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<BkprlistincomeResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn bkpr_edit_description_by_payment_id<'life0, 'async_trait>(
&'life0 self,
request: Request<BkpreditdescriptionbypaymentidRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<BkpreditdescriptionbypaymentidResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn bkpr_edit_description_by_outpoint<'life0, 'async_trait>(
&'life0 self,
request: Request<BkpreditdescriptionbyoutpointRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<BkpreditdescriptionbyoutpointResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn blacklist_rune<'life0, 'async_trait>(
&'life0 self,
request: Request<BlacklistruneRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<BlacklistruneResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn check_rune<'life0, 'async_trait>(
&'life0 self,
request: Request<CheckruneRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CheckruneResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn create_rune<'life0, 'async_trait>(
&'life0 self,
request: Request<CreateruneRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<CreateruneResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn show_runes<'life0, 'async_trait>(
&'life0 self,
request: Request<ShowrunesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<ShowrunesResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn ask_rene_unreserve<'life0, 'async_trait>(
&'life0 self,
request: Request<AskreneunreserveRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AskreneunreserveResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn ask_rene_list_layers<'life0, 'async_trait>(
&'life0 self,
request: Request<AskrenelistlayersRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AskrenelistlayersResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn ask_rene_create_layer<'life0, 'async_trait>(
&'life0 self,
request: Request<AskrenecreatelayerRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AskrenecreatelayerResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn ask_rene_remove_layer<'life0, 'async_trait>(
&'life0 self,
request: Request<AskreneremovelayerRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AskreneremovelayerResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn ask_rene_reserve<'life0, 'async_trait>(
&'life0 self,
request: Request<AskrenereserveRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AskrenereserveResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn ask_rene_age<'life0, 'async_trait>(
&'life0 self,
request: Request<AskreneageRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AskreneageResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn get_routes<'life0, 'async_trait>(
&'life0 self,
request: Request<GetroutesRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<GetroutesResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn ask_rene_disable_node<'life0, 'async_trait>(
&'life0 self,
request: Request<AskrenedisablenodeRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AskrenedisablenodeResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn ask_rene_inform_channel<'life0, 'async_trait>(
&'life0 self,
request: Request<AskreneinformchannelRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AskreneinformchannelResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn ask_rene_create_channel<'life0, 'async_trait>(
&'life0 self,
request: Request<AskrenecreatechannelRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AskrenecreatechannelResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn ask_rene_update_channel<'life0, 'async_trait>(
&'life0 self,
request: Request<AskreneupdatechannelRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AskreneupdatechannelResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn ask_rene_bias_channel<'life0, 'async_trait>(
&'life0 self,
request: Request<AskrenebiaschannelRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AskrenebiaschannelResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn ask_rene_list_reservations<'life0, 'async_trait>(
&'life0 self,
request: Request<AskrenelistreservationsRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<AskrenelistreservationsResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn inject_payment_onion<'life0, 'async_trait>(
&'life0 self,
request: Request<InjectpaymentonionRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<InjectpaymentonionResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn inject_onion_message<'life0, 'async_trait>(
&'life0 self,
request: Request<InjectonionmessageRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<InjectonionmessageResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn xpay<'life0, 'async_trait>(
&'life0 self,
request: Request<XpayRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<XpayResponse>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn subscribe_block_added<'life0, 'async_trait>(
&'life0 self,
request: Request<StreamBlockAddedRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::SubscribeBlockAddedStream>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn subscribe_channel_open_failed<'life0, 'async_trait>(
&'life0 self,
request: Request<StreamChannelOpenFailedRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::SubscribeChannelOpenFailedStream>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn subscribe_channel_opened<'life0, 'async_trait>(
&'life0 self,
request: Request<StreamChannelOpenedRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::SubscribeChannelOpenedStream>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn subscribe_connect<'life0, 'async_trait>(
&'life0 self,
request: Request<StreamConnectRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::SubscribeConnectStream>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn subscribe_custom_msg<'life0, 'async_trait>(
&'life0 self,
request: Request<StreamCustomMsgRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::SubscribeCustomMsgStream>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
fn subscribe_channel_state_changed<'life0, 'async_trait>(
&'life0 self,
request: Request<StreamChannelStateChangedRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::SubscribeChannelStateChangedStream>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait,
Self: 'async_trait;
}Expand description
Generated trait containing gRPC methods that should be implemented for use with NodeServer.
Required Associated Typesยง
Sourcetype SubscribeBlockAddedStream: Stream<Item = Result<BlockAddedNotification, Status>> + Send + 'static
type SubscribeBlockAddedStream: Stream<Item = Result<BlockAddedNotification, Status>> + Send + 'static
Server streaming response type for the SubscribeBlockAdded method.
Sourcetype SubscribeChannelOpenFailedStream: Stream<Item = Result<ChannelOpenFailedNotification, Status>> + Send + 'static
type SubscribeChannelOpenFailedStream: Stream<Item = Result<ChannelOpenFailedNotification, Status>> + Send + 'static
Server streaming response type for the SubscribeChannelOpenFailed method.
Sourcetype SubscribeChannelOpenedStream: Stream<Item = Result<ChannelOpenedNotification, Status>> + Send + 'static
type SubscribeChannelOpenedStream: Stream<Item = Result<ChannelOpenedNotification, Status>> + Send + 'static
Server streaming response type for the SubscribeChannelOpened method.
Sourcetype SubscribeConnectStream: Stream<Item = Result<PeerConnectNotification, Status>> + Send + 'static
type SubscribeConnectStream: Stream<Item = Result<PeerConnectNotification, Status>> + Send + 'static
Server streaming response type for the SubscribeConnect method.
Sourcetype SubscribeCustomMsgStream: Stream<Item = Result<CustomMsgNotification, Status>> + Send + 'static
type SubscribeCustomMsgStream: Stream<Item = Result<CustomMsgNotification, Status>> + Send + 'static
Server streaming response type for the SubscribeCustomMsg method.
Sourcetype SubscribeChannelStateChangedStream: Stream<Item = Result<ChannelStateChangedNotification, Status>> + Send + 'static
type SubscribeChannelStateChangedStream: Stream<Item = Result<ChannelStateChangedNotification, Status>> + Send + 'static
Server streaming response type for the SubscribeChannelStateChanged method.