Changed chain id to chain name (it will be a string). Implemented saving blockchain to sqlite DB.

This commit is contained in:
Revertron
2021-01-20 19:23:41 +01:00
parent 70b3a833b9
commit 9e6a01847e
8 changed files with 146 additions and 81 deletions
+2 -2
View File
@@ -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
}