From 24f1b9bad1533360cb713db6067f4e108a92b7d5 Mon Sep 17 00:00:00 2001 From: teor Date: Fri, 29 Jan 2021 22:19:06 +1000 Subject: [PATCH] Document the Inbound service in the start module (#1653) --- zebrad/src/commands/start.rs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/zebrad/src/commands/start.rs b/zebrad/src/commands/start.rs index ee891073..517f20b9 100644 --- a/zebrad/src/commands/start.rs +++ b/zebrad/src/commands/start.rs @@ -9,15 +9,19 @@ //! * handles all external network requests for the Zcash protocol //! * via zebra_network::Message and zebra_network::Response //! * provides an interface to the rest of the network for other services and -//! tasks running within this node +//! tasks running within this node //! * via zebra_network::Request //! * Consensus Service //! * handles all validation logic for the node //! * verifies blocks using zebra-chain and zebra-script, then stores verified -//! blocks in zebra-state +//! blocks in zebra-state //! * Sync Task -//! * This task runs in the background and continuously queries the network for -//! new blocks to be verified and added to the local state +//! * runs in the background and continuously queries the network for +//! new blocks to be verified and added to the local state +//! * Inbound Service +//! * handles requests from peers for network data and chain data +//! * performs transaction and block diffusion +//! * downloads and verifies gossipped blocks and transactions use abscissa_core::{config, Command, FrameworkError, Options, Runnable}; use color_eyre::eyre::{eyre, Report};