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:
1 parent
a259317d72
commit
4e4f4bc194
5 files changed
+406
-180
No files matched your search
@@ -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")
|
||||
}
|
||||
Reference in new issue
Block a user