mixnode: Add location to describe command

Removed location from the init output and added it as input in the
describe command.

Because this creates a different format of the description file, the
patch version number must also be increased.

Signed-off-by: Bogdan-Ștefan Neacșu <bogdan@nymtech.net>
This commit is contained in:
Bogdan-Ștefan Neacșu
2021-06-23 18:18:16 +03:00
parent 3bf02c558c
commit 4d701be053
8 changed files with 94 additions and 8 deletions
+2
View File
@@ -10,6 +10,7 @@ pub struct NodeDescription {
pub(crate) name: String,
pub(crate) description: String,
pub(crate) link: String,
pub(crate) location: String,
}
impl Default for NodeDescription {
@@ -18,6 +19,7 @@ impl Default for NodeDescription {
name: "This node has not yet set a name".to_string(),
description: "This node has not yet set a description".to_string(),
link: "https://nymtech.net".to_string(),
location: "This node has not yet set a location".to_string(),
}
}
}