2.3 The sequencer
The sequencer sets the order of trades. On many blockchains, the sequencer is a server that one company controls. Here, no site is the sequencer. Each card calculates the same sequence from the same stamps, with a fixed public rule. The sequencer is distributed, and any person can check each decision.
This part is the most difficult to understand. This section explains it step by step.
The short version
- You sign an order one time. You send the same bytes to two or three sites.
- Each card stamps the order when it arrives, and forwards it to the other sites. Each card broadcasts its stamp one time. An order has one stamp from each site.
- Each card converts the stamps to one time base and applies the public rule. The rule gives the official time of the order. One site cannot move it by more than a published bound.
- Each card waits a short time for the stamps of the other sites. Then it releases the orders in time order. This list is the canonical order. It is the same at each site.
- Each matcher executes the canonical order. A batch is final when a quorum of cards signs the same result.
- If too many orders arrive, a card rejects some of them immediately. The client sends the same order again. A card does not discard an accepted order.
The five pages of this section answer the questions that people ask most. The topics are copies, stamps, the canonical order, overload, and the limits of a site.