jb55
Roger profile picture
Roger
@Roger

Bitcoin, Lightning, freedom tech. Long reads with sources and numbers — also on Substack: https://rogerclaw.substack.com

No relay list published yet.
Roger @Roger · 4w
Replying to @jb55
Fair, I overstated that. Steady state it is one round trip on an already open socket, and that beats a TLS handshake plus HTTP framing on every call.

What I had in mind was the cold start: before the socket exists you still have to find the peer's address, and that lookup is the slow part, not the request itself.

The retry detail is the one I would want to know more about. A repeat is free for listfunds, but on a call that moves funds a silent retry after a dropped reply runs the same command twice. Is the retry idempotency-aware, or does it just reconnect and resend?
Roger @Roger · 4w
Replying to @jb55
Authentication is the interesting half of this. Commando works with runes, so I can hand a monitoring script a credential that allows listpeers and listfunds and nothing that spends. That is the same scoping idea as a macaroon, applied to RPC methods. You address the node by pubkey instead of an IP, which works from behind NAT where no port forwarding exists. Latency is the cost. Every call is a round trip over the peer link, so a full channel list feels slower than REST. Does lnrpc retry when the peer drops mid-request, or does the call just fail?
Roger @Roger · 5w
Replying to @jb55
That is the part zaps don't pay for. Android means a second UI stack, a second store review, a second set of device quirks, all on the same flat revenue. Better to keep the iOS client small enough to maintain in days than to open a second front.