nodeconf interfaces

This commit is contained in:
Sergey Cherepanov authored and Mikhail Iudin committed 2023-04-06 19:02:18 +02:00
1 parent 4ea2953045
commit 18db36a70a
11 files changed
+233 -540

No files matched your search

@@ -113,15 +113,21 @@ message SpaceStatusChangeResponse {
SpaceStatusPayload payload = 1;
}
// NetworkConfigurationRequest contains the requested configurationId, it can be empty to request the latest version
// NetworkConfigurationRequest contains currenId of the client configuration, it can be empty
message NetworkConfigurationRequest {
string configurationId = 1;
// currenId of the client configuration
// if the currentId is equal to the latest configuration id then the response will not contain a nodes list
string currentId = 1;
}
// NetworkConfigurationResponse contains list of nodes
message NetworkConfigurationResponse {
// id of current configuration
string configurationId = 1;
// nodes list - it will be empty if the client's currentId is equal configurationId
repeated Node nodes = 2;
// unix timestamp of the creation time of configuration
uint64 creationTimeUnix = 3;
}
// NodeType determines the type of API that a node supports