Module solana::tpu[][src]

The tpu module implements the Transaction Processing Unit, a 5-stage transaction processing pipeline in software.

            .---------------------------------------------------------------.
            |  TPU                                     .-----.              |
            |                                          | PoH |              |
            |                                          `--+--`              |
            |                                             |                 |
            |                                             v                 |
            |  .-------.  .-----------.  .---------.  .--------.  .-------. |
.---------. |  | Fetch |  | SigVerify |  | Banking |  | Record |  | Write | |  .------------.
| Clients |--->| Stage |->|   Stage   |->|  Stage  |->| Stage  |->| Stage +--->| Validators |
`---------` |  |       |  |           |  |         |  |        |  |       | |  `------------`
            |  `-------`  `-----------`  `----+----`  `--------`  `---+---` |
            |                                 |                       |     |
            |                                 |                       |     |
            |                                 |                       |     |
            |                                 |                       |     |
            `---------------------------------|-----------------------|-----`
                                              |                       |
                                              v                       v
                                           .------.               .--------.
                                           | Bank |               | Ledger |
                                           `------`               `--------`

Structs

Tpu