routerrpc: add UpdateChanStatus RPC to Router service

Update router.proto and rest-annotations.yaml, recompile protos,
add a stub implementation to routerrpc.Server.
This commit is contained in:
Elliott Jin committed 2021-02-24 07:13:28 -08:00
1 parent a259317d72
commit 4e4f4bc194
5 files changed
+406 -180

No files matched your search

+7
View File
@@ -697,3 +697,10 @@ func (s *Server) HtlcInterceptor(stream Router_HtlcInterceptorServer) error {
// run the forward interceptor.
return newForwardInterceptor(s, stream).run()
}
// UpdateChanStatus allows channel state to be set manually.
func (s *Server) UpdateChanStatus(ctx context.Context,
req *UpdateChanStatusRequest) (*UpdateChanStatusResponse, error) {
return nil, fmt.Errorf("unimplemented")
}