mirror of https://codeberg.org/pzp/pzp-wiki.git
20 lines
447 B
Markdown
20 lines
447 B
Markdown
---
|
|
sidebar_position: 2
|
|
---
|
|
|
|
# Tangle
|
|
|
|
A tangle is a set of interlinked messages published by a peer. In computer science terms, it's an Directed Acyclic Graph (DAG) with only one source node, where all the "nodes" are messages, and "edges" are links between messages.
|
|
|
|
```mermaid
|
|
graph RL;
|
|
D--"A"-->C--"A"-->B--"A"-->A;
|
|
F-->E-->C;
|
|
G-->D & F;
|
|
|
|
style A color:red;
|
|
```
|
|
|
|
The root is...
|
|
|
|
The tangle is identified by the hash of its root message. |