Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ trait-variant = "0.1.2"
# Pinned because newer versions pull in a transitive dependency that
# requires the Rust 2024 edition, which is not supported by the 1.75 toolchain.
quickcheck = ">= 1.0.3, < 1.1"
quickcheck_macros = ">= 1.0.0, < 1.1"
quickcheck_macros = ">= 1.0.0, < 1.1"
braidpool-common = {git = "https://github.com/Sansh2356/braidpool.git",branch="braidpool-common-utils"}
2 changes: 2 additions & 0 deletions stratum-core/stratum-translation/src/sv1_to_sv2.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use crate::error::{Result, StratumTranslationError};
use binary_sv2::Sv2Option;
use bitcoin::Target;
use mining_sv2::{OpenExtendedMiningChannel, SubmitSharesExtended};
use v1::{client_to_server, utils::HexU32Be};
Expand Down Expand Up @@ -76,6 +77,7 @@ pub fn build_sv2_submit_shares_extended_from_sv1_submit(
extranonce: extranonce
.try_into()
.map_err(|_| StratumTranslationError::InvalidExtranonceLength)?,
time: Sv2Option::new(None),
};
Ok(submit_share_extended)
}
Expand Down
2 changes: 1 addition & 1 deletion sv2/channels-sv2/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tracing = { workspace = true }
bitcoin = { workspace = true }
primitive-types = { workspace = true }
hashbrown = { workspace = true, optional = true }

braidpool-common = {workspace = true}

[features]
default = []
Expand Down
Loading
Loading