-
Notifications
You must be signed in to change notification settings - Fork 7
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
separate crates #92
separate crates #92
Conversation
binaries will be moved into separate crate for utilization Signed-off-by: Lakshya Singh <[email protected]>
Signed-off-by: Lakshya Singh <[email protected]>
Signed-off-by: Lakshya Singh <[email protected]>
Signed-off-by: Lakshya Singh <[email protected]>
Signed-off-by: Lakshya Singh <[email protected]>
6ef6f89
to
5fdab28
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 5fdab28
There are some warning to be fixed on nix, can be fixed in next PR, this major refactor looks great, thanks!
@@ -157,15 +157,14 @@ mod inner_test { | |||
use crate::bitcoin::Network; | |||
use crate::{iterate, Config}; | |||
use std::sync::mpsc::sync_channel; | |||
use test_log::test; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't know about this, it's great!
Ideally would have been better to introduce this in a separate commit
pub skip_prevout: bool, | ||
|
||
/// Maximum length of a reorg allowed, during reordering send block to the next step only | ||
/// if it has `max_reorg` following blocks. Higher is more conservative, while lower faster. | ||
/// When parsing testnet blocks, it may be necessary to increase this a lot | ||
#[arg(short, long, default_value = "6")] | ||
#[cfg_attr(feature = "clap", arg(short, long, default_value = "6"))] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great to do now that the crate is separate, but ideally this should have been a move only commit, followed by changes like this one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah makes sense I could have kept them separate thanks for insights will try to take care of it in future contributions....one commit one purpose.
fixed #91