Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

Commit

Permalink
chore: DT dep update
Browse files Browse the repository at this point in the history
BREAKING CHANGE: DT update. Naming and message structs for splits
  • Loading branch information
joshuef committed Mar 22, 2021
1 parent f9fde30 commit 7fb8a4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ rand_chacha = "~0.2.2"
thiserror = "1.0.23"
xor_name = "1.1.0"
resource_proof = "0.8.0"
sn_messaging = { git = "https://github.com/oetyng/sn_messaging", branch = "split-section-wallet" }
sn_data_types = { git = "https://github.com/oetyng/sn_data_types", branch = "split-section-wallet" }
# sn_data_types = "~0.16.0"
sn_messaging = "~9.0.0"
sn_data_types = "~0.17.0"

[dependencies.bls]
package = "threshold_crypto"
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ mod section;
/// More nodes might be added if requested by the upper layers.
/// This number also detemines when split happens - if both post-split sections would have at least
/// this number of nodes.
pub const RECOMMENDED_SECTION_SIZE: usize = 3 * ELDER_SIZE;
pub const RECOMMENDED_SECTION_SIZE: usize = 2 * ELDER_SIZE;

/// Number of elders per section.
pub const ELDER_SIZE: usize = 7;
Expand Down

0 comments on commit 7fb8a4a

Please sign in to comment.