瀏覽代碼

Merge pull request #94 from Relayz-io/silvestr/add-node-info-struct

Add ```NodeInfo``` struct for node provision
develop
Predko Silvestr 2 年之前
父節點
當前提交
37479ca480
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 7 行新增0 行删除
  1. 7
    0
      common-api/src/api.rs

+ 7
- 0
common-api/src/api.rs 查看文件

26
     pub public_key: Ed25519PublicKey,
26
     pub public_key: Ed25519PublicKey,
27
     pub account_id: AccountId,
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
+}

Loading…
取消
儲存