Cointime

Download App
iOS & Android

FlexiDAG: Revolutionizing Blockchain Performance with Unparalleled Speed

Validated Project

FlexiDAG, technically not a direct manifestation of the Nakamoto consensus, serves as an intriguing expansion that pushes the boundaries of this concept. It goes beyond the traditional understanding by evolving the DAG (Directed Acyclic Graph) into a separate PoW-based cryptocurrency, aiming to unleash Nakamoto’s consensus potential from an external vantage point, while keeping the essence of generalization intact.

The aforementioned DAG, in this context, represents a mathematical structure composed of directed edges, devoid of cyclic connections where a vertex, the fundamental building block of graphs, does not lead back to itself.

Within the realm of distributed ledgers, a FlexiDAG emerges as a DAG where blocks are symbolized by vertices, and edges symbolize references from blocks to their predecessors.

We already implemented GHOSTDAG protocol in FlexiDAG. The key is that honest blocks would exhibit strong connections to each other but not to adversarial blocks (even if adversarial blocks are well connected among themselves). Therefore, as long as an attacker possesses computational inferiority, the honest network will appear as a highly connected cluster of blocks encompassing the majority of blocks in the network. By identifying this cluster and giving precedence to its blocks, attacking the network while controlling only a minority of the block production becomes infeasible.

A formal representation of the core algorithm of the protocol:

  1. Given a FlexiDAG represented by G = (V, E), where V is the set of vertices (blocks) and E is the set of edges (references from blocks to their predecessors).
  2. Define the k value, which represents the number of clusters to be formed.
  3. Initialize an empty set of clusters C = {}.
  4. For each block v in V, perform the following steps:
  • Calculate the score of block v as the sum of the weights of its ancestors, denoted as score(v).
  • Assign block v to the cluster with the highest score among its k nearest neighboring clusters.
  • If there are fewer than k clusters, create a new cluster and assign block v to it.

5. Repeat the assignment process until all blocks have been assigned to clusters.

6. Compute the weights of the clusters by summing the scores of the blocks within each cluster.

7. Select the cluster with the highest weight as the confirmed cluster for the consensus protocol.

8. Use the blocks within the confirmed cluster as the reference set for determining the validity and precedence of transactions within the FlexiDAG.

By implementing the k-cluster algorithm in FlexiDAG, the FlexiDAG protocol forms clusters based on block scores, allowing for efficient consensus on the precedence of blocks and transactions. The confirmed cluster serves as a reference point for maintaining the security and integrity of the ledger.

The distinguishing feature of FlexiDAG lies in its exceptional scalability, facilitating higher throughput in terms of transactions per second (TPS) and blocks per second (BPS), while ensuring the preservation of security. Moreover, FlexiDAG introduces the capacity to validate multiple parallel blocks concurrently, further augmenting its scalability potential.

While these advancements are implemented, FlexiDAG remains grounded in the PoW (Proof of Work) model, comprising elements such as PoW block creation, transaction fees, miner involvement, the role of full nodes, and deflationary block rewards. However, it deviates from the conventional longest-chain rule, also known as the heaviest valid chain, which is measured in terms of cumulative proof of work (difficulty). Instead, FlexiDAG embraces a novel rule that expedites consensus on the priority of parallel blocks, thus determining the validity of associated transactions.

From the perspective of miners, the mining process remains largely consistent. Irrespective of the traditional PoW consensus, mining operations continue to be executed in parallel. If a miner becomes aware of a new block while in the mining process, they promptly abandon the ongoing block and shift their focus FlexiDAG, while technically not a Nakamoto consensus, represents a fascinating extension of it. Its development involves transforming the DAG (Directed Acyclic Graph) into a distinct PoW-based blockchain, aiming to push the boundaries of Nakamoto’s consensus from an external perspective.

This challenge is overcome by FlexiDAG, leveraging its inherent resistance to 49% hash rate attacks inherited from Nakamoto Consensus, offering the highest level of security for a consensus protocol. The achieved result is the ability to scale up without sacrificing this security property.

Comments

All Comments

Recommended for you

  • BTC Falls Below $80,000

    Market data shows that BTC has fallen below $80,000, currently priced at $79,940.09, with a 24-hour decline of 3.44%. The market is experiencing significant volatility, so please ensure proper risk management.

  • Philadelphia Semiconductor Index Set to Lose Over $2 Trillion in Market Value in Seven Trading Days

    The Philadelphia Semiconductor Index is poised to evaporate over $2 trillion in market value within seven trading days.

  • Philadelphia Semiconductor Index Drops 4% to Lowest Level in Nearly a Month

    The Philadelphia Semiconductor Index fell by 4.01% during the day, currently reported at 11,215.37 points. Nvidia dropped by 3.25%, Broadcom fell by 2.87%, Micron decreased by 5.79%, Intel declined by 5.81%, AMD dropped by 6.28%, Qualcomm rose by 0.66%, TSMC fell by 4.37%, and ASML decreased by 3.34%.

  • Philadelphia Semiconductor Index Falls 4% to Lowest Level in Nearly a Month

    The Philadelphia Semiconductor Index dropped 4.01% during the day, currently reported at 11,215.37 points. Nvidia fell by 3.25%, Broadcom by 2.87%, Micron by 5.79%, Intel by 5.81%, AMD by 6.28%, Qualcomm rose by 0.66%, TSMC fell by 4.37%, and ASML dropped by 3.34%.

  • Ripple Prime Launches Perpetual Contract Trading Services for Institutional Clients

    According to Bloomberg, Ripple's main brokerage division, Ripple Prime, is launching perpetual contracts for real-world assets (RWA) aimed at institutional clients, covering over 100 reference markets including stocks, indices, ETFs, and commodities. This product is offered through Trade.xyz on Hyperliquid, continuing Ripple Prime's previous initiative to provide clients with access to cryptocurrency perpetual contract trading.

  • NYC Comptroller Urges Anthropic to Pause IPO Plans

    On October 15, New York City Comptroller Mark Levine stated in an interview that he has written to Anthropic CEO Dario Amodei, urging the company to suspend its planned initial public offering (IPO). In the letter, he called for Anthropic to pause its IPO plans until it can fully and transparently address concerns related to AI safety, governance, and development that the company itself has raised. Levine wrote that the company should focus on mitigating these risks rather than advancing the IPO. Currently, New York City has an investment exposure of less than $10 million in Anthropic through the private market.

  • US September PPI Rises 6.3% Year-on-Year, Exceeding Market Expectations

    The US Producer Price Index (PPI) for September recorded a year-on-year increase of 6.3%, the highest since May 2026, surpassing market expectations of 5.3%. The month-on-month PPI for September was reported at 1.3%, significantly higher than the market forecast of 0.5%. Additionally, US retail sales for September showed a month-on-month increase of 0.8%, also exceeding market expectations.

  • U.S. Initial Jobless Claims at 199,000 Last Week, Expected 200,000

    On October 15, the number of initial jobless claims in the U.S. last week was 199,000, expected to be 200,000, with the previous value revised from 197,000 to 198,000.

  • NYC Comptroller Urges Anthropic to Pause IPO Plans

    On October 15, New York City Comptroller Mark Levine stated in an interview that he has written to Anthropic CEO Dario Amodei, urging the company to pause its planned initial public offering (IPO). The letter calls for Anthropic to suspend its IPO plans until it can comprehensively and transparently address concerns related to AI safety, governance, and development that the company itself has raised. Levine wrote that the company should focus on mitigating these risks rather than moving forward with the IPO. Currently, New York City has an investment exposure of less than $10 million in Anthropic through the private market.

  • BTC Falls Below $81,000

    Market data shows that BTC has fallen below $81,000, currently priced at $80,997.1, with a 24-hour decline of 2.84%. The market is experiencing significant volatility, so please ensure proper risk management.