Skip to content

Commit

Permalink
Update TVU drawing (solana-labs#8611)
Browse files Browse the repository at this point in the history
  • Loading branch information
sakridge authored Mar 4, 2020
1 parent 40dfe39 commit 7035d3c
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 23 deletions.
59 changes: 37 additions & 22 deletions art/tvu.bob
Original file line number Diff line number Diff line change
@@ -1,22 +1,37 @@
.--------.
| Leader |
`--------`
^
|
.------------------------------------|--------------------.
| TVU | |
| | |
| .-------. .------------. .----+---. .---------. |
.------------. | | Shred | | Retransmit | | Replay | | Storage | |
| Upstream +----->| Fetch +-->| Stage +-->| Stage +-->| Stage | |
| Validators | | | Stage | | | | | | | |
`------------` | `-------` `----+-------` `----+---` `---------` |
| ^ | | |
| | | | |
`--------|----------|----------------|--------------------`
| | |
| V v
.+-----------. .------.
| Gossip | | Bank |
| Service | `------`
`------------`
+------------+
| Gossip |
| Service |
+-------------+ | |
|Child | +------------+ +-+-----+----+
|Validators | |Neighborhood| | ^
| | |Validators | | |
+-------+-----+ | | | |
^ +---------+--+ Peer| |Votes
| ^ List| |
+-----------------+ | | |
shreds(forward=true)| | | |
+-----------------------------------------------------------------------------------------+
| | | | | |
| TVU | | +--------+ | |
| | | v | |
+------------+ | +-------+ +------------+ +-+--+---+---+ +---+--------------+ +---------+ |
| | Repair | | | | | | Retransmit | | Replay | | Storage | |
| Upstream +------------->+ +->+ Shred +--->+ Stage +----->+ Stage +----->+ Stage | |
| Validators | TVU | | Shred | | Verify | | | | +--------------+ | | | |
| +------------->+ Fetch | | Leader Sig | +------+-----+ | | PoH Verify | | +---------+ |
| | | | Stage | | Stage | ^ | | TX Sig Verify| | |
| +------------->+ | | | | | | | | |
| | TVU | | | +--+---------+ | | +-+------------+ | |
+------------+ Forwards| +-------+ ^ | | | | |
| | | +------------------+ |
| | | | |
| | | | |
| | | | |
+-----------------------------------------------------------------------------------------+
| | |
| |Validator v
| |Stakes +---+-----+
| +------------+ |
+----------------------------------+ Bank |
Leader | |
Schedule +---------+
2 changes: 1 addition & 1 deletion src/validator/tvu.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# TVU

![TVU Block Diagram](../../.gitbook/assets/tvu.svg)
![TVU Block Diagram](../.gitbook/assets/tvu.svg)

0 comments on commit 7035d3c

Please sign in to comment.