wire localhost screens

This commit is contained in:
boufni95 2024-07-19 22:30:09 +02:00
parent c2cab40a2e
commit a8d447110f
36 changed files with 6075 additions and 4966 deletions

View file

@ -7,7 +7,8 @@ option go_package = "github.com/shocknet/lightning.pub";
message Empty {}
message StateResponse {
bool already_initialized = 1;
bool config_sent = 1;
bool admin_linked = 2;
}
message ConfigRequest {
string source_name = 1;
@ -15,18 +16,25 @@ message ConfigRequest {
bool automate_liquidity = 3;
bool push_backups_to_nostr = 4;
}
message ConfigResponse {
bool already_initialized = 1;
repeated string seed = 2;
string confirmation_id = 3;
message AdminConnectInfoResponse {
string nprofile = 1;
oneof connect_info {
string admin_token = 2;
string enrolled_npub = 3;
}
}
message ConfirmRequest {
string confirmation_id = 1;
}
message ConfirmResponse {
string admin_key = 1;
enum LndState {
OFFLINE = 0;
SYNCING = 1;
ONLINE = 2;
}
message ServiceStateResponse {
string provider_name = 1;
repeated string relays = 2;
string admin_npub = 3;
bool relay_connected = 4;
LndState lnd_state = 5;
bool watchdog_ok = 6;
string http_url = 7;
string nprofile = 8;
}