get seed endpoint
This commit is contained in:
parent
2badf5f468
commit
91c330a8bb
16 changed files with 4812 additions and 4631 deletions
|
|
@ -130,6 +130,13 @@ service LightningPub {
|
|||
option (nostr) = true;
|
||||
}
|
||||
|
||||
rpc GetSeed(structs.Empty) returns (structs.LndSeed) {
|
||||
option (auth_type) = "Admin";
|
||||
option (http_method) = "get";
|
||||
option (http_route) = "/api/admin/seed";
|
||||
option (nostr) = true;
|
||||
}
|
||||
|
||||
rpc GetUsageMetrics(structs.Empty) returns (structs.UsageMetrics) {
|
||||
option (auth_type) = "Metrics";
|
||||
option (http_method) = "post";
|
||||
|
|
|
|||
|
|
@ -6,6 +6,9 @@ option go_package = "github.com/shocknet/lightning.pub";
|
|||
|
||||
message Empty {}
|
||||
|
||||
message LndSeed {
|
||||
repeated string seed = 1;
|
||||
}
|
||||
|
||||
message EncryptionExchangeRequest {
|
||||
string publicKey = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue