policy update

This commit is contained in:
boufni95 2024-11-18 16:29:55 +00:00
parent 5417c49245
commit 79bd82b802
14 changed files with 6176 additions and 5875 deletions

View file

@ -151,6 +151,13 @@ service LightningPub {
option (nostr) = true;
}
rpc UpdateChannelPolicy (structs.UpdateChannelPolicyRequest) returns (structs.Empty) {
option (auth_type) = "Admin";
option (http_method) = "post";
option (http_route) = "/api/admin/channel/policy/update";
option (nostr) = true;
}
rpc OpenChannel(structs.OpenChannelRequest) returns (structs.OpenChannelResponse) {
option (auth_type) = "Admin";
option (http_method) = "post";