Skip to content
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

fix: typos in documentation files #251

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
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
2 changes: 1 addition & 1 deletion dependencies/aptos-config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Validator with a Fullnode network. The input is similar for all three cases
with only the command (create vs. extend) differing between them. When
extending a Validator, `config-builder` assumes that there are `n + 1`
Fullnodes and gives the `n + 1` identity to the Validator. The `n + 1` peer id
is also used to define the upstream peer for state sychronization and mempool.
is also used to define the upstream peer for state synchronization and mempool.
Note: currently, the tool does not support the creation of trees of Fullnode
networks.

Expand Down
2 changes: 1 addition & 1 deletion dependencies/aptos-crypto/benches/bulletproofs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fn get_values(num_bits: usize, batch_size: usize) -> (Vec<u64>, Vec<Scalar>) {
.map(|_| rng.gen_range(0u64, (2u128.pow(num_bits as u32) - 1u128) as u64))
.collect::<Vec<u64>>();

// Sigh, some RngCore incompatibilites I don't want to deal with right now.
// Sigh, some RngCore incompatibilities I don't want to deal with right now.
let b = (0..batch_size)
.map(|_| Scalar::hash_from_bytes::<sha3::Sha3_512>(b"some random blinder"))
.collect::<Vec<Scalar>>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl ThreadManagerBuilder {
}

/// This assumes that we have a minimum of 4 stealable tasks per thread - this tries to find an optimal balance
/// between not having too many small tasks which introduces signficant overhead of task stealing and not having
/// between not having too many small tasks which introduces significant overhead of task stealing and not having
/// too few tasks which leads to under utilization of threads.
static OPTIMAL_MAX_PARALLELISM: usize = MAX_THREAD_POOL_SIZE * 4;
pub fn optimal_min_len(num_tasks: usize, min_threshold: usize) -> usize {
Expand Down