From d2431128c7d436db4b6d7b653f7de1d4738a3a20 Mon Sep 17 00:00:00 2001 From: Greg Fitzgerald Date: Tue, 8 Jan 2019 09:21:39 -0700 Subject: [PATCH] Remove WriteStage from TPU/TVU diagrams Fixes #2312 --- book/art/tpu.bob | 26 +++++++++++++------------- book/art/tvu.bob | 22 +++++++++++----------- src/tpu.rs | 2 +- src/tvu.rs | 2 +- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/book/art/tpu.bob b/book/art/tpu.bob index 5e52ea1024..a788071d72 100644 --- a/book/art/tpu.bob +++ b/book/art/tpu.bob @@ -1,16 +1,16 @@ - .------------------------------------------------------. - | TPU .-------------. | - | | PoH Service | | - | `--------+----` | - | ^ | | - | | v | - | .-------. .-----------. .-+-------. .--------. | .------------. - .---------. | | Fetch | | SigVerify | | Banking | | Ledger | | | Broadcast | - | Clients |--->| Stage |->| Stage |->| Stage |-->| Write +---->| Service | - `---------` | | | | | | | | Stage | | | | - | `-------` `-----------` `----+----` `--------` | `------------` - | | | - `---------------------------------|--------------------` + .-------------------------------------------. + | TPU .-------------. | + | | PoH Service | | + | `--------+----` | + | ^ | | + | | v | + | .-------. .-----------. .-+-------. | .------------. + .---------. | | Fetch | | SigVerify | | Banking | | | Broadcast | + | Clients |--->| Stage |->| Stage |->| Stage |------>| Service | + `---------` | | | | | | | | | | + | `-------` `-----------` `----+----` | `------------` + | | | + `---------------------------------|---------` | v .------. diff --git a/book/art/tvu.bob b/book/art/tvu.bob index 1cbb8417d2..49f37fcc61 100644 --- a/book/art/tvu.bob +++ b/book/art/tvu.bob @@ -3,17 +3,17 @@ `--------` ^ | - .------------------------------------|---------------------------------. - | TVU | | - | | | - | .-------. .------------. .----+---. .--------. .---------. | - .------------. | | Blob | | Retransmit | | Replay | | Ledger | | Storage | | - | Upstream +----->| Fetch |-->| Stage |-->| Stage |-->| Write |-->| Stage | | - | Validators | | | Stage | | | | | | Stage | | | | - `------------` | `-------` `----+-------` `----+---` `--------` `---------` | - | ^ | | | - | | | | | - `--------|----------|----------------|---------------------------------` + .------------------------------------|--------------------. + | TVU | | + | | | + | .-------. .------------. .----+---. .---------. | + .------------. | | Blob | | Retransmit | | Replay | | Storage | | + | Upstream +----->| Fetch +-->| Stage +-->| Stage +-->| Stage | | + | Validators | | | Stage | | | | | | | | + `------------` | `-------` `----+-------` `----+---` `---------` | + | ^ | | | + | | | | | + `--------|----------|----------------|--------------------` | | | | V v .+-----------. .------. diff --git a/src/tpu.rs b/src/tpu.rs index 8c17462cf7..a546a81986 100644 --- a/src/tpu.rs +++ b/src/tpu.rs @@ -1,5 +1,5 @@ //! The `tpu` module implements the Transaction Processing Unit, a -//! 5-stage transaction processing pipeline in software. +//! multi-stage transaction processing pipeline in software. use crate::bank::Bank; use crate::banking_stage::{BankingStage, BankingStageReturnType}; diff --git a/src/tvu.rs b/src/tvu.rs index 06fdc645dc..7a33565237 100644 --- a/src/tvu.rs +++ b/src/tvu.rs @@ -1,5 +1,5 @@ //! The `tvu` module implements the Transaction Validation Unit, a -//! 4-stage transaction validation pipeline in software. +//! multi-stage transaction validation pipeline in software. //! //! 1. BlobFetchStage //! - Incoming blobs are picked up from the TVU sockets and repair socket.