- Get Started
- Framework
- Get Started
- Framework
Settlement
To scale the eigenvector centrality (EC) computation across a distributed network of untrusted peers, we modify the Juxtaposed Approximate PageRank (JXP) algorithm to compute global EC scores. Each peer maintains only its local fragment of the transaction graph and a World Node
() that represents the global state and relative EC scores of all accounts in the supergraph
.
Local EC Computation#
We start with the extreme case where each producer
and each buyer
exists in its own individual shard, which we call account-shards
. These account-shards
can be viewed as separate, interconnected blockchains, each maintaining the state and transactions of their single account.
We then group these account-shards
into shard-chains, denoted as , where each shard is a subgraph of . The edges represent the transactions between accounts within the shard . The partitioning method for grouping follows an infinite sharding paradigm and can be defined by the parent domaingraph
.
Each peer in the network is assigned to one of the shards and maintains a local copy of the shard's subgraph. The peers compute local EC scores by solving the eigenvalue problem on their local subgraph:
where is the largest eigenvalue of the adjacency matrix of the shard's subgraph, and represents the weight of the edge between producer and buyer .
Merge and Sync Process#
After computing the local EC scores, each shard submits a State Diff List
(SDL) to its parent domaingraph
, containing the updated EC scores and the corresponding Zero-Knowledge Proof
(ZKP) of the local computation. The domaingraph
validates the ZKPs and updates the EC scores within its domain.
Periodically, the domaingraphs
engage in a merge and sync process with the supergraph
to update the global EC scores. Each domaingraph
submits its aggregated SDLs and ZKPs to the supergraph
, which validates the proofs and updates the global EC state.
Verification and Settlement#
The ZKPs submitted along with the SDLs allow the supergraph
to verify the correctness of the local EC computations without requiring access to the full transaction data within each shard. This enables efficient and secure settlement of EC scores across the network.
Once the supergraph
has validated and updated the global EC scores, it broadcasts the updated scores back to the domaingraph
, ensuring that all domains have a consistent view of the global EC state for their next
Next Steps#
Now that we have discussed the sharding and infrastructure properties for the Local Blockchain, we will discuss the network's consensus mechanism.