diff --git a/AUTHORS b/AUTHORS index 64cc5c6..a71978c 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,4 +1,4 @@ # The Hush Developers Duke Leto https://github.com/leto -Jah Way https://git.hush.is/jahway603 https://github.com/jahway603 +Jah Way https://git.hush.is/jahway603 https://codeberg.org/jahway603 https://github.com/jahway603 diff --git a/README.md b/README.md index 37520e0..d9ae0ae 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Then choose one of these two source compilation options to build the SilentDrago #### Recommended Option : Compile using "embedded" rust -Here we do not need a system installed Rust to compile. The build.sh script pulls Rust version 1.48 down for us and builds with it. +Here we do not need a system installed Rust to compile. The build.sh script pulls Rust version 1.51.0 down for us and builds with it. ``` cd SilentDragonPaper @@ -35,7 +35,7 @@ cd SilentDragonPaper #### Advanced Option : Compile using system installed rust -SilentDragonPaper is built with Rust. To compile from source, you must [install at least Rust 1.48](https://www.rust-lang.org/tools/install). Please report any issues if a particular version of Rust does not compile this, but I have successfully built this with `rustc 1.64.0 (a55dd71d5 2022-09-19)`. +SilentDragonPaper is built with Rust. **To compile from source, you must [install at least Rust 1.51.0](https://www.rust-lang.org/tools/install).** Please report any issues if a particular version of Rust does not compile this, but I have successfully built this with `rustc 1.64.0 (a55dd71d5 2022-09-19)`. ``` cd SilentDragonPaper/cli diff --git a/build.sh b/build.sh index 409af84..891fccf 100755 --- a/build.sh +++ b/build.sh @@ -8,9 +8,9 @@ set -eu -o pipefail # TODO: find elite Rust coders to update our shit # to work on modern versions of rustc, lulz -PREFIX=rust-1.48.0-x86_64-unknown-linux-gnu +PREFIX=rust-1.51.0-x86_64-unknown-linux-gnu FILE=$PREFIX.tar.gz -SHA=950420a35b2dd9091f1b93a9ccd5abc026ca7112e667f246b1deb79204e2038b +SHA=9e125977aa13f012a68fdc6663629c685745091ae244f0587dd55ea4e3a3e42f if [ ! -f "$FILE" ]; then wget https://static.rust-lang.org/dist/$FILE diff --git a/cli/src/version.rs b/cli/src/version.rs index 25ce646..7fdc08c 100644 --- a/cli/src/version.rs +++ b/cli/src/version.rs @@ -1 +1 @@ -pub fn version() -> &'static str { &"0.1.3" } +pub fn version() -> &'static str { &"0.1.4" } diff --git a/lib/src/paper.rs b/lib/src/paper.rs index f90a52f..60b8591 100644 --- a/lib/src/paper.rs +++ b/lib/src/paper.rs @@ -127,7 +127,7 @@ fn encode_privatekey(spk: &ExtendedSpendingKey) -> String { return encoded_pk; } -/// A single thread that grinds through the Diversifiers to find the defualt key that matches the prefix +/// A single thread that grinds through the Diversifiers to find the default key that matches the prefix pub fn vanity_thread(entropy: &[u8], prefix: String, tx: mpsc::Sender, please_stop: Arc) { let mut seed: [u8; 32] = [0; 32]; @@ -338,7 +338,7 @@ pub fn generate_wallet(nohd: bool, zcount: u32, tcount: u32, user_entropy: &[u8] /// /// Note that cointype is 1 for testnet and 133 for mainnet /// -/// get_seed is a closure that will take the address number being derived, and return a tuple cointaining the +/// get_seed is a closure that will take the address number being derived, and return a tuple containing the /// seed and child number to use to derive this wallet. /// It is useful if we want to reuse (or not) the seed across multiple wallets. fn gen_addresses_with_seed_as_json(zcount: u32, tcount: u32, mut get_seed: F) -> String diff --git a/lib/src/pdf.rs b/lib/src/pdf.rs index 7886fee..e9df80c 100644 --- a/lib/src/pdf.rs +++ b/lib/src/pdf.rs @@ -113,7 +113,7 @@ pub fn save_to_pdf(addresses: &str, filename: &str) -> Result<(), String> { } /** - * Generate a qrcode. The outout is a vector of RGB values of size (qrcode_modules * scalefactor) + padding + * Generate a qrcode. The output is a vector of RGB values of size (qrcode_modules * scalefactor) + padding */ fn qrcode_scaled(data: &str, scalefactor: usize) -> (Vec, usize) { let code = QrCode::new(data.as_bytes()).unwrap();