roman-kashitsyn / mmapped.blog

My blog.
https://mmapped.blog
26 stars 1 forks source link

Article: UTXO vs account models #76

Open roman-kashitsyn opened 2 weeks ago

roman-kashitsyn commented 2 weeks ago

Some resources that might be helpful:

roman-kashitsyn commented 1 week ago

DAML uses a customized UTXO model:

This model is similar to the UTXO transaction model used in bitcoin and other public blockchains, with two notable differences:

  1. No party sees the full transaction graph of the entire network; instead, each party sees a subset of the graph, also known as that party’s view. This partitioning of the global transaction graph contrasts to other UTXO blockchains such as bitcoin and Cardano, in which every party can see the entire graph.
  2. A transaction does not always archive referenced contracts. Whether a transaction archives an input UTXO or not depends on the application logic, and is defined in Daml using the keywords consuming and nonconsuming. This option to keep a referenced contract active is in contrast to bitcoin and others, in which referencing a UTXO always archives it.

-- https://www.digitalasset.com/hubfs/Canton/Canton%20Network%20-%20White%20Paper.pdf