Przeglądaj źródła

Add ```NodeInfo``` struct for node provision

develop
Silvestr Predko 2 lat temu
rodzic
commit
a4dfdf41fc
1 zmienionych plików z 7 dodań i 0 usunięć
  1. 7
    0
      common-api/src/api.rs

+ 7
- 0
common-api/src/api.rs Wyświetl plik

@@ -26,3 +26,10 @@ pub struct ParticipantInfo {
26 26
     pub public_key: Ed25519PublicKey,
27 27
     pub account_id: AccountId,
28 28
 }
29
+
30
+#[derive(Clone, Debug, Serialize, Deserialize)]
31
+pub struct NodeInfo {
32
+    pub region: String,
33
+    pub bandwidth: String,
34
+    pub account_id: AccountId,
35
+}

Ładowanie…
Anuluj
Zapisz