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

Need the csvdump.rs code

faiyaz-libscr opened this issue · comments

Hi, Need Help ! I am getting this error!!!

Compiling rusty-blockparser v0.8.2 (C:\Users\allsc\Downloads\Compressed\rusty-blockparser-master\rusty-blockparser-master)
warning: unused import: std::fmt::Display
--> src\callbacks\csvdump.rs:4:5
|
4 | use std::fmt::Display;
| ^^^^^^^^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default

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<std::string::String> doesn't implement std::fmt::Display
--> src\callbacks\csvdump.rs:204:13
|
204 | &self.script.address)
| ^^^^^^^^^^^^^^^^^^^^ Option<std::string::String> cannot be formatted with the default formatter
|
= help: the trait std::fmt::Display is not implemented for Option<std::string::String>
= note: in format strings you may be able to use {:?} (or {:#?} for pretty-print) instead
= note: this error originates in the macro $crate::__export::format_args which comes from the expansion of the macro format (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try rustc --explain E0277.
warning: rusty-blockparser (bin "rusty-blockparser") generated 2 warnings
error: could not compile rusty-blockparser due to previous error; 2 warnings emitted
|
204 | &self.script.address)
| ^^^^^^^^^^^^^^^^^^^^ Option<std::string::String> cannot be formatted with the default formatter
|
= help: the trait std::fmt::Display is not implemented for Option<std::string::String>
= note: in format strings you may be able to use {:?} (or {:#?} for pretty-print) instead
= note: this error originates in the macro $crate::__export::format_args which comes from the expansion of the macro format (in Nightly builds, run with -Z macro-backtrace for more info)

Some errors have detailed explanations: E0277, E0432.
For more information about an error, try rustc --explain E0277.
warning: rusty-blockparser (bin "rusty-blockparser") generated 3 warnings
error: could not compile rusty-blockparser due to 2 previous errors; 3 warnings emitted

Can you please update or upload the full modified version of your csvdump.rs code ?

Thanks

Q79UZWGAH22P9DSW41LAY