Browse Source

changes for new release 0.1.4

pull/11/head
jahway603 1 year ago
parent
commit
4e5eff7b1d
  1. 2
      AUTHORS
  2. 4
      README.md
  3. 4
      build.sh
  4. 2
      cli/src/version.rs
  5. 4
      lib/src/paper.rs
  6. 2
      lib/src/pdf.rs

2
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

4
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

4
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

2
cli/src/version.rs

@ -1 +1 @@
pub fn version() -> &'static str { &"0.1.3" }
pub fn version() -> &'static str { &"0.1.4" }

4
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<String>, please_stop: Arc<AtomicBool>) {
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<F>(zcount: u32, tcount: u32, mut get_seed: F) -> String

2
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<u8>, usize) {
let code = QrCode::new(data.as_bytes()).unwrap();

Loading…
Cancel
Save