浏览代码

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,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
+}

正在加载...
取消
保存