Comparing Bound Witness Trees and Rollups
Rollup
A Rollup can be viewed simply as a linked list of data. In XYO Layer One, Rollups bundle multiple transactions into a single hash, which is submitted to the blockchain. The final hash allows you to walk backwards through the data to find the specific item you're looking for. This allows validation without storing each transaction individually. Rollups can reduce on-chain data, which improves blockchain efficiency and keeps transaction costs low.

Rollups bring information on-chain, but through a singular "line", where you must check every item in the list to get to the last item.
Bound Witness Tree
A Bound Witness Tree is a type of Rollup that contains multiple, unrelated data points. Most often, a Bound Witness Tree is comprised of many Bound Witnesses.

Bound Witness Trees allow rollups to have a bigger breadth of data inside them: instead of a single list, you can combine multiple rollups into one final payload. The final payload goes on-chain and enables a lightweight way to verify large amounts of data with one simple hash.
For an example of a more complex Bound Witness Tree with a real-world example, see here.
Last updated