Skip to content

Commit

Permalink
Merge branch 'main' into fix-address-crawler-timing
Browse files Browse the repository at this point in the history
  • Loading branch information
upbqdn authored Jan 4, 2022
2 parents f200886 + 9b12716 commit 84535f2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion zebra-consensus/src/block/subsidy/funding_streams.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pub fn funding_stream_values(
Ok(results)
}

/// Returns the minumum height after the first halving
/// Returns the minimum height after the first halving
/// as described in [protocol specification §7.10][7.10]
///
/// [7.10]: https://zips.z.cash/protocol/protocol.pdf#fundingstreams
Expand Down
4 changes: 2 additions & 2 deletions zebra-consensus/src/parameters/subsidy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ pub const FUNDING_STREAM_RECEIVERS_NUMBER: usize = FundingStreamReceiver::receiv
pub const FUNDING_STREAM_RECEIVER_DENOMINATOR: u64 = 100;

lazy_static! {
/// The numerator for each funding stream reciever category
/// The numerator for each funding stream receiver category
/// as described in [protocol specification §7.10.1][7.10.1].
///
/// [7.10.1]: https://zips.z.cash/protocol/protocol.pdf#zip214fundingstreams
Expand All @@ -97,7 +97,7 @@ lazy_static! {
hash_map
};

/// Convinient storage for all addresses, for all receivers and networks
/// Convenient storage for all addresses, for all receivers and networks
pub static ref FUNDING_STREAM_ADDRESSES: HashMap<Network, HashMap<FundingStreamReceiver, Vec<String>>> = {
let mut addresses_by_network = HashMap::with_capacity(2);

Expand Down
2 changes: 1 addition & 1 deletion zebra-consensus/src/primitives/groth16/params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ lazy_static::lazy_static! {
/// Groth16 Zero-Knowledge Proof parameters for the Sapling and Sprout circuits.
///
/// When this static is accessed:
/// - the parameters are downloded if needed, then cached to a shared directory,
/// - the parameters are downloaded if needed, then cached to a shared directory,
/// - the file hashes are checked, for both newly downloaded and previously cached files,
/// - the parameters are loaded into Zebra.
///
Expand Down
2 changes: 1 addition & 1 deletion zebra-state/src/service/pending_utxos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl PendingUtxos {
/// [`transparent::OutPoint`] that the [`Utxo`] has arrived.
pub fn respond(&mut self, outpoint: &transparent::OutPoint, utxo: transparent::Utxo) {
if let Some(sender) = self.0.remove(outpoint) {
// Adding the outpoint as a field lets us crossreference
// Adding the outpoint as a field lets us cross-reference
// with the trace of the verification that made the request.
tracing::trace!(?outpoint, "found pending UTXO");
let _ = sender.send(utxo);
Expand Down
2 changes: 1 addition & 1 deletion zebrad/src/commands/download.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! `download` subcommand - pre-download required parameter files
//!
//! `zebrad download` automatically downloads required paramter files the first time it is run.
//! `zebrad download` automatically downloads required parameter files the first time it is run.
//!
//! This command should be used if you're launching lots of `zebrad start` instances for testing,
//! or you want to include the parameter files in a distribution package.
Expand Down

0 comments on commit 84535f2

Please sign in to comment.