Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am carlaKC on github.
  • I am carlakirkcohen (https://keybase.io/carlakirkcohen) on keybase.
  • I have a public key whose fingerprint is 15E7 ECF2 5709 8A4E F916 55EB 4CA7 FE54 A621 3C91

To claim this, I am signing this object:

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@carlaKC
carlaKC / grpcConn.md
Last active July 24, 2019 21:27
Test LND gRPC Connection Weirdness

Background

I used this go snippet to test for some weirdness with using LND's unlocker and lightning grpc serivces with the same client connection.

To my knowledge, using the same connection for two grpc services running on the same port is ok, but I may be totally wrong there.

Install

Wallet password is passed plaintext becasue it was just easier, so make sure to run this for a non-maiinet wallet or make sure it doens't get saved in your bash history :)

You need go installed and a running locked LND node to test this.