Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request paritytech#95 from subspace/increase-confirmation-…
Browse files Browse the repository at this point in the history
…depth-requirement

Increase confirmation depth requirement to 100 blocks
  • Loading branch information
nazar-pc authored Oct 29, 2021
2 parents 3a4e0be + 5999c28 commit d0129e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/subspace-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ pub fn native_version() -> NativeVersion {
const NORMAL_DISPATCH_RATIO: Perbill = Perbill::from_percent(75);

// TODO: Proper value here
const CONFIRMATION_DEPTH_K: u32 = 10;
const CONFIRMATION_DEPTH_K: u32 = 100;
// This is a nice power of 2 for Merkle Tree
const MERKLE_NUM_LEAVES: u32 = 256;
const WITNESS_SIZE: u32 = SHA256_HASH_SIZE as u32 * MERKLE_NUM_LEAVES.log2();
Expand Down

0 comments on commit d0129e6

Please sign in to comment.