tintinweb / ecdsa-private-key-recovery

A simple library to recover the private key of ECDSA and DSA signatures sharing the same nonce k and therefore having identical signature parameter r

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error: could not compile `rusty-blockparser`

marssystems opened this issue · comments

I edited the csvdump.rs file according to your instructions and now I am getting this error when I try to compile -

error[E0433]: failed to resolve: maybe a missing crate rustc_serialize?
--> src\callbacks\csvdump.rs:15:12
|
15 | use crate::rustc_serialize::base64::{ToBase64,STANDARD};
| ^^^^^^^^^^^^^^^ maybe a missing crate rustc_serialize?

warning: use of deprecated associated function std::error::Error::description: use the Display impl or to_string()
--> src\blockchain\proto\script.rs:18:30
|
18 | write!(f, "{}", self.description())
| ^^^^^^^^^^^
|
= note: #[warn(deprecated)] on by default

error[E0277]: Option<String> doesn't implement std::fmt::Display
--> src\callbacks\csvdump.rs:200:14
|
200 | &self.script.address)
| ^^^^^^^^^^^^^^^^^^^^ Option<String> cannot be formatted with the default formatter
|
= help: the trait std::fmt::Display is not implemented for Option<String>
= note: in format strings you may be able to use {:?} (or {:#?} for pretty-print) instead
= note: required because of the requirements on the impl of std::fmt::Display for &Option<String>
= note: required by std::fmt::Display::fmt
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to 2 previous errors; 1 warning emitted

Some errors have detailed explanations: E0277, E0433.
For more information about an error, try rustc --explain E0277.
error: could not compile rusty-blockparser