At launch, Tusk and Narwhal were the default consensus algorithms used by Sui, although Bullshark replaced Tusk as the primary option in August 2022. The move was made to reduce latency issues, and to ensure that validators with lower processing speeds would still be able to contribute to the project. Tusk can still be used via updating the source, however. In short, Narwhal is used as a mempool to ensure that the data submitted to the consensus is available, and Bullshark (or Tusk) then sets the standard for arranging that data so the consensus engine can read it. This is part of the directed acyclic graph (DAG) mempool, which is yet another innovation Sui offers. Coupled with its innovative scaling solution, it will presumably allow the blockchain to reach transaction speeds of over 297,000 transactions per second.
Who Are the Founders of Sui?
What Makes Sui Unique?
Through features such as horizontal scaling, composability, sparse replay, and on-chain storage, Sui’s architecture solves pain points common to first generation blockchains.
On the Sui network, each group of transactions process in parallel, as opposed to the bottlenecking that occurs in some earlier blockchains due to any lack of distinction between the various objects, resources, accounts, and other components.
In Sui, unlike most other blockchains, one can directly pass an asset (such as an NFT), directly into a function argument. Sui’s object-centric approach also allows for more esoteric data structures, and the ability to store assets inside such data structures, or in an asset itself.
Naturally, a blockchain provides a ledger of every single transaction. For a Sui-specific example, game builders don’t need to track transactions interacting with unrelated dApps. Because querying on-chain data can be expensive, products on Sui will be able to follow the evolution of the objects in this game, without digging out the data from the Merkle tree.
Because assets are directly stored as objects on the Sui blockchain, they are never subject to Merkle tree indexing. Storing assets directly on-chain is used in tandem with conventional means, such as IPFS, to scale the problem of on-chain storage, as it is much cheaper to directly update assets on-chain.