Last active
March 9, 2021 08:42
Revisions
-
harshvishu revised this gist
Mar 9, 2021 . 1 changed file with 2 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,19 +1,15 @@ [package] name = "blockchain" version = "0.1.0" authors = ["Harsh Vishwakarma"] edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] chrono = { version = " 0.4", features = ["serde"] } serde = { version = "1.0.118", features = ["derive"] } serde_json = "1.0" rocket = "0.4.6" reqwest = { version = "0.11", features = ["blocking", "json"] } rocket_contrib = {version = "0.4.6", default-features = false, features = ["json"]} -
harshvishu revised this gist
Mar 4, 2021 . 1 changed file with 0 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +0,0 @@ -
harshvishu revised this gist
Mar 4, 2021 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ pub struct Chain { chain: Vec<Block>, current_transactions: Vec<Transaction>, nodes: HashSet<String>, } -
harshvishu created this gist
Feb 18, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ [package] name = "blockchain" version = "0.1.0" authors = ["Your name"] edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] chrono = { version = " 0.4", features = ["serde"] } serde = { version = "1.0.118", features = ["derive"] } uuid = { version = "0.8", features = ["serde", "v4"] } serde_json = "1.0" rocket = "0.4.6" reqwest = { version = "0.11", features = ["blocking", "json"] } [dependencies.rocket_contrib] version = "0.4.6" default-features = false features = ["json"]