parent
8e0e12e5c9
commit
d2431128c7
|
@ -1,16 +1,16 @@
|
||||||
.------------------------------------------------------.
|
.-------------------------------------------.
|
||||||
| TPU .-------------. |
|
| TPU .-------------. |
|
||||||
| | PoH Service | |
|
| | PoH Service | |
|
||||||
| `--------+----` |
|
| `--------+----` |
|
||||||
| ^ | |
|
| ^ | |
|
||||||
| | v |
|
| | v |
|
||||||
| .-------. .-----------. .-+-------. .--------. | .------------.
|
| .-------. .-----------. .-+-------. | .------------.
|
||||||
.---------. | | Fetch | | SigVerify | | Banking | | Ledger | | | Broadcast |
|
.---------. | | Fetch | | SigVerify | | Banking | | | Broadcast |
|
||||||
| Clients |--->| Stage |->| Stage |->| Stage |-->| Write +---->| Service |
|
| Clients |--->| Stage |->| Stage |->| Stage |------>| Service |
|
||||||
`---------` | | | | | | | | Stage | | | |
|
`---------` | | | | | | | | | |
|
||||||
| `-------` `-----------` `----+----` `--------` | `------------`
|
| `-------` `-----------` `----+----` | `------------`
|
||||||
| | |
|
| | |
|
||||||
`---------------------------------|--------------------`
|
`---------------------------------|---------`
|
||||||
|
|
|
|
||||||
v
|
v
|
||||||
.------.
|
.------.
|
||||||
|
|
|
@ -3,17 +3,17 @@
|
||||||
`--------`
|
`--------`
|
||||||
^
|
^
|
||||||
|
|
|
|
||||||
.------------------------------------|---------------------------------.
|
.------------------------------------|--------------------.
|
||||||
| TVU | |
|
| TVU | |
|
||||||
| | |
|
| | |
|
||||||
| .-------. .------------. .----+---. .--------. .---------. |
|
| .-------. .------------. .----+---. .---------. |
|
||||||
.------------. | | Blob | | Retransmit | | Replay | | Ledger | | Storage | |
|
.------------. | | Blob | | Retransmit | | Replay | | Storage | |
|
||||||
| Upstream +----->| Fetch |-->| Stage |-->| Stage |-->| Write |-->| Stage | |
|
| Upstream +----->| Fetch +-->| Stage +-->| Stage +-->| Stage | |
|
||||||
| Validators | | | Stage | | | | | | Stage | | | |
|
| Validators | | | Stage | | | | | | | |
|
||||||
`------------` | `-------` `----+-------` `----+---` `--------` `---------` |
|
`------------` | `-------` `----+-------` `----+---` `---------` |
|
||||||
| ^ | | |
|
| ^ | | |
|
||||||
| | | | |
|
| | | | |
|
||||||
`--------|----------|----------------|---------------------------------`
|
`--------|----------|----------------|--------------------`
|
||||||
| | |
|
| | |
|
||||||
| V v
|
| V v
|
||||||
.+-----------. .------.
|
.+-----------. .------.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//! The `tpu` module implements the Transaction Processing Unit, a
|
//! 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::bank::Bank;
|
||||||
use crate::banking_stage::{BankingStage, BankingStageReturnType};
|
use crate::banking_stage::{BankingStage, BankingStageReturnType};
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
//! The `tvu` module implements the Transaction Validation Unit, a
|
//! 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
|
//! 1. BlobFetchStage
|
||||||
//! - Incoming blobs are picked up from the TVU sockets and repair socket.
|
//! - Incoming blobs are picked up from the TVU sockets and repair socket.
|
||||||
|
|
Loading…
Reference in New Issue