Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to work with newer curve25519-dalek? #10

Closed
ageis opened this issue Jun 8, 2019 · 2 comments
Closed

Update to work with newer curve25519-dalek? #10

ageis opened this issue Jun 8, 2019 · 2 comments

Comments

@ageis
Copy link

ageis commented Jun 8, 2019

Problems:


$  cargo update
    Updating crates.io index
error: failed to select a version for the requirement `curve25519-dalek = "^0.14"`
  candidate versions found which didn't match: 1.2.1, 1.1.4, 1.1.3, ...
  location searched: crates.io index
required by package `zcash-vanity v0.2.8 (/home/kevin/dev/zcash-vanity)`


$ cargo install zcash-vanity
    Updating crates.io index
  Installing zcash-vanity v0.2.8
error: failed to compile `zcash-vanity v0.2.8`, intermediate artifacts can be found at `/tmp/cargo-installxvhSbz`

Caused by:
  failed to select a version for the requirement `curve25519-dalek = "~0.9.2"`
  candidate versions found which didn't match: 1.2.1, 1.1.4, 1.1.3, ...
  location searched: crates.io index
required by package `zcash-vanity v0.2.8`

Compiling with the current version 1.2.1 of curve25519-dalek after modifying Cargo.toml:

warning: unknown lint: `unreadable_literal`
 --> src/sha256.rs:4:9
  |
4 | #[allow(unreadable_literal)]
  |         ^^^^^^^^^^^^^^^^^^
  |
  = note: #[warn(unknown_lints)] on by default

error[E0599]: no method named `compress` found for type `curve25519_dalek::montgomery::MontgomeryPoint` in the current scope
  --> src/address.rs:87:41
   |
87 |         let pk_enc = pk.to_montgomery().compress().to_bytes();
   |                                         ^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0599`.
error: Could not compile `zcash-vanity`.
@mmgen
Copy link

mmgen commented Aug 26, 2021

Can confirm: the utility fails to compile. Over two years have passed and this issue is still unresolved.

@mmgen
Copy link

mmgen commented Aug 26, 2021

Thank you! Built and installed successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants