소스 검색

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

develop
Silvestr Predko 2 년 전
부모
커밋
a4dfdf41fc
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
+}

Loading…
취소
저장