Changelly

Cryptocurrency

lightning network – RPC for LND: rpc_pb2_grpc vs lnd_grpc

1 Mins read


rpc_pb2_grpc is an official lnd API. This is a low-level interface that supports essentially all the same calls you can make through lncli. If you decide to use this one – I can suggest you start with this official tutorial.

lnd_grpc is a third-party wrapper on top of rpc_pb2_grpc, which introducing additional level of abstraction and hides some things from the user (such as handling protocol buffer messages and stubs). It is easier to use for most of the cases, but it is not official and it is less flexible than rpc_pb2_grpc.

Naturally, if you use the latter library – you should open issues in their GitHub, since they are not affiliated with the lnd devs.

Regardless of what you use – I think the error you are getting is related to the fact that you start lnd with the --no-macaroons option.



Source link

Related posts
Cryptocurrency

trading - Crypto exchange - what do BTCUSD SELL and LTCBTC SELL mean?

1 Mins read
BTCUSD sell | | Trading Pair Advice from the Platform So BTCUSD is a trading pair in trading you always exchange something…
Cryptocurrency

bitcoin-cli decodescript wrong output - Bitcoin Stack Exchange

1 Mins read
If I try to get info in genesis block, there is 1 tx: “scriptPubKey”: { “asm”: “0496b538e853519c726a2c91e61ec11600ae1390813a627c66fb8be7947be63c52da7589379515d4e0a604f8141781e62294721166bf621e73a82cbf2342c858ee OP_CHECKSIG”, “hex”: “410496b538e853519c726a2c91e61ec11600ae1390813a627c66fb8be7947be63c52da7589379515d4e0a604f8141781e62294721166bf621e73a82cbf2342c858eeac”, “type”: “pubkey”…
Cryptocurrency

Earning reward submitting a block

1 Mins read
I use bitcoincore to submit a block. Can I earn somekind of reward submitting blocks? Thanks Source link

Leave a Reply

Your email address will not be published. Required fields are marked *