Spelling: gossipped -> gossiped (#2119)

This commit is contained in:
teor 2021-05-07 21:01:11 +10:00 committed by GitHub
parent 2ef5277d2b
commit 74e155ff9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -95,7 +95,7 @@ especially the ability to make good connections to other Zcash network peers.
Network:
- synchronize the chain from peers
- download gossipped blocks from peers
- download gossiped blocks from peers
- answer inbound peer requests for hashes, headers, and blocks
State:

View File

@ -21,7 +21,7 @@
//! * Inbound Service
//! * handles requests from peers for network data and chain data
//! * performs transaction and block diffusion
//! * downloads and verifies gossipped blocks and transactions
//! * downloads and verifies gossiped blocks and transactions
use abscissa_core::{config, Command, FrameworkError, Options, Runnable};
use color_eyre::eyre::{eyre, Report};

View File

@ -56,7 +56,7 @@ pub enum Setup {
/// A shared list of peer addresses.
address_book: Arc<std::sync::Mutex<zn::AddressBook>>,
/// A `futures::Stream` that downloads and verifies gossipped blocks.
/// A `futures::Stream` that downloads and verifies gossiped blocks.
downloads: Pin<Box<InboundDownloads>>,
},

View File

@ -45,14 +45,14 @@ type BoxError = Box<dyn std::error::Error + Send + Sync + 'static>;
/// Therefore, this attack can be carried out by a single malicious node.
const MAX_INBOUND_CONCURRENCY: usize = 10;
/// The action taken in response to a peer's gossipped block hash.
/// The action taken in response to a peer's gossiped block hash.
pub enum DownloadAction {
/// The block hash was successfully queued for download and verification.
AddedToQueue,
/// The block hash is already queued, so this request was ignored.
///
/// Another peer has already gossipped the same hash to us.
/// Another peer has already gossiped the same hash to us.
AlreadyQueued,
/// The queue is at capacity, so this request was ignored.