Changed chain id to chain name (it will be a string). Implemented saving blockchain to sqlite DB.
This commit is contained in:
+2
-2
@@ -46,8 +46,8 @@ impl Context {
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct Settings {
|
||||
pub chain_id: u32,
|
||||
pub version: u32,
|
||||
pub chain_name: String,
|
||||
pub version_flags: u32,
|
||||
pub key_file: String
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user