Commit f18da2a
committed
switchrpc: overhaul TrackOnion rpc proto
The new structure uses a top-level `oneof` to provide a
compile-time distinction between a successful payment
(preimage) and a failed one. Additional information on a
failed attempt can be found in FailureDetails.
We now also use a structured ForwardingFailure type for
communicating the failure index and wire message from
failures which occur during htlc forwarding downstream
in the route.1 parent 307e665 commit f18da2a
File tree
3 files changed
+538
-128
lines changed- lnrpc/switchrpc
3 files changed
+538
-128
lines changed
0 commit comments