Open m1sterc001guy opened 1 week ago
dev call: we could check-in protobuf definitions, but need CI to check it and just command to update.
Could also switch away from protobuf towards JSON-RPC which is used elsewhere (should be separate issue). We have 3 kinds of APIs, and it would be nice to unify. LNv2 maybe be a good time to make this switch???
We stuffed the protocol buffer definition into the Lightning Gateway crate and never moved it. Ideally this would be inside a lightweight crate by itself so only crates that need gRPC/protocol buffers depend on it. Currently anything that depends on
ln-gateway
, such asfedimint-testing
needs to haveprotoc
defined, which makes it hard for downstream crates to integratefedimint-testing