Questions tagged [grpc]

This tag should be used for questions relating to the lnd gprc interface.

7 questions
1
vote
0 answers

Link fails when building gRPC client for LND in C++

I'm trying to build a gRPC client for LND in C++, starting with the WalletBalance function. I've never used gRPC before, and I use make instead of cmake, but according to the documentation this is supposed to be possible. I am using the pkg-config…
Zephyrus
  • 536
  • 2
  • 10
0
votes
1 answer

RPC for LND: rpc_pb2_grpc vs lnd_grpc

I'm trying to automate launching multiple LND instances with a Python script. I've been trying to use lnd_grpc but can't get it to work. I created an issue in the LND repository and was pointed towards https://api.lightning.community/. This website…
0
votes
1 answer

Are there public LN nodes that have some gRPC LND API endpoints accessible for 3rd parties?

My lnd node died but I'm doing some research on lightning channels. So I'm rebuilding a new btc/lnd node, but in the meantime: are there open nodes that I can access, especially for SubscribeChannelGraph? Update: I found this repo that pretty much…
gijswijs
  • 285
  • 1
  • 12
0
votes
1 answer

What is a stub from the lightning grpc documentation?

For example, very often in the lightning documentation for their grpc api, you will see the following boilerplate python code: >>> import codecs, grpc, os >>> import rpc_pb2 as ln, rpc_pb2_grpc as lnrpc >>> macaroon =…
arshbot
  • 1,710
  • 14
  • 35
0
votes
0 answers

Lighting Node recovery

I have been trying to recover my lighting node for four years now, and it turns out I have 7 at least. I found the proxy server and I have channels and every single short channel id. I have basically everything but the knowledge of how to piece it…
0
votes
0 answers

Failed Tls connection to LND with gRPC and REST using rust

I have been trying to connect to an LND node using Rust as a language. I have been constantly be given this error: tonic::transport::Error(Transport, hyper::Error(Connect, Custom { kind: InvalidData, error:…
0
votes
0 answers

Failed to connect with gRPC to remote LND: failed to connect to all addresses unavailable

I want to connect to my LND running on a raspberry pi linux from my macOS with gRPC. On the raspberry pi is also a bitcoin full node running bitcoind regtest. I used this tutorial:…
Luca F
  • 27
  • 5