Omni State Channel Indexer (OSCI)
Last updated
Last updated
The Cycle Network is designed based on Verifiable State Aggregation (executed by Cycle Node) to connect various external chains in different states. However, different blockchains have their own definition of finality, presenting challenges in determining the validity of the state of each Cycle Node. An Omni State Channel Indexer (OSCI) is a decentralized multi-chain indexer that operates omni-chain indexing with decentralized governance to allow for a trustless validation and determination of the state of the Cycle ledger at any given moment.
As illustrated in the Figure below, the Omni State Channel Indexer consists of three essential components:
OSCI serves as the indexer through which the recovery of the Cycle ledger can be determined and valid at any moment.
Cycle Node submits transactions by block packing, and OSCI. Similar to a Block structure, Cycle Nodes string together in a tandem order using Block ID, and therefore initiate the omni ledger.
Extended A, B, and C represent the networks that Cycle Node connects to.
The diagram depicts the operational mode of the blockchain and the state machine transition as the cycle network continuously increases its extended layers. The horizontal arrows from left to right indicate the ongoing block production by the cycle. Each block in the cycle is synchronized to the Ethereum mainnet and undergoes a verification process, ultimately being finalized on Ethereum. Multiple extended layers and the security layer (i.e., Ethereum, which is not fully represented due to the limitations of the flowchart) also have their rollup states synchronized to the cycle and uploaded to Ethereum for recording and verification along with the blocks. During the cycle's operation, new networks are continuously registered with the Ethereum chain indexer contract and added to the cycle extended layers.
Cycle Network presents examples to demonstrate Cycle state flow in different Extended Layer scenarios, which is observed by Omni State Channel Indexer.
At Block M state, Cycle connects with Extended A. The change of Cycle state flow is shown as follows:
At Block M+i state, Cycle connects with Extended A and Extended B. The change of Cycle state flow is shown as follows:
At Block M+i+j state, Cycle connects with Extended A, Extended B, and Extended C. The change of Cycle state flow is shown as follows:
The subsequent state in a Block state of Cycle is determined by all inputs. At any given time, as long as the transaction arrangement is determined, the final state is determined. The state of the entire Cycle is solely dependent on the unified inputs of all Indexers, and the state of the transaction is verified upon submission. To safeguard the integrity of the data, Project can oversee Cycle by maintaining their trusted full nodes.
In practice, the finalized states of Cycle and all security/Extended layers can be acquired permissionless by any network service and the multi-chain state flow order can be accessed from OSCI under any circumstances. Since all necessary data to rebuild the entire Cycle is available, anyone can rebuild the comprehensive Cycle state flow. As long as the multi-chain states can be aggregated in blocks with a determined order which is guaranteed by the OSCI, any third-party service can verify every state finalized on Cycle, which is the prerequisite for achieving decentralized sequencer.