mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
modify all diagrams
Former-commit-id: 1bf59d9b19bdca78746f9be949fa7f2098aa3d62 [formerly 736691fc8b8ffc174dd1611e9263d8400f8c5ace] Former-commit-id: bb70c23bcc1f49c8f380a45902a8e3775ba04052
This commit is contained in:
@@ -78,7 +78,8 @@ These collations are holistic descriptions of the state and transactions on a ce
|
||||
|
||||
For detailed information on protocol primitives including collations, see: [Protocol Primitives](#protocol-primitives). We will have two types of nodes that do the heavy lifting of our sharding logic: **proposers and collators**. The basic role of proposers is to fetch pending transactions from the txpool, execute any state logic or computation, wrap them into collations, and submit them along with an ETH deposit to a **proposals pool**.
|
||||
|
||||

|
||||
<!--[Proposer{bg:wheat}]fetch txs-.->[TXPool], [TXPool]-.->[Proposer{bg:wheat}], [Proposer{bg:wheat}]-package txs>[Collation|header|ETH Deposit], [Collation|header|ETH Deposit]-submit>[Proposals Pool], [Collator{bg:wheat}]subscribe to-.->[Proposals Pool]-->
|
||||

|
||||
|
||||
Collators add collations in the proof of work chain, throughout the document named the **canonical chain**. Collators subscribe to updates in the proposals pool and pick a collation in their best interest. Once collators are selected to add collations to the canonical chain, and do so successfully, they get paid by the deposit the proposer offered.
|
||||
|
||||
@@ -213,7 +214,8 @@ Back to the collators, the collator client begins to work by its main loop, whic
|
||||
6. _**Otherwise, collating client keeps subscribing to block headers:**_ If the user chooses to keep going,
|
||||
It will be the proposer client’s responsibility to listen to any new broadcasted transactions to the node and interact with collators that have staked their ETH into the SMC through an open bidding system for collation proposals. Proposer clients are the ones responsible for **state execution** of transactions in the tx pool.
|
||||
|
||||

|
||||
<!--[Transaction Generator]generate test txs->[Shard TXPool],[Geth Node]-deploys>[Sharding Manager Contract{bg:wheat}], [Shard TXPool]<fetch pending txs-.->[Proposer Client], [Proposer Client]-propose collation>[Collator Client],[Collator Client]add collation header->[Sharding Manager Contract{bg:wheat}]-->
|
||||

|
||||
|
||||
## The Collator Manager Contract
|
||||
|
||||
|
||||
Reference in New Issue
Block a user