aboutsummaryrefslogtreecommitdiffstats
path: root/docs/merkle-tree-hierarchy.puml
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-03-05 23:42:15 -0300
committerMarcos Magueta <maguetamarcos@gmail.com>2026-03-05 23:42:15 -0300
commit8c640a262969ef44cd8bc0e0abe95e2a54f4c3f5 (patch)
tree84f9ddd9e41236fb7a6f540aab07e65db9bc93cb /docs/merkle-tree-hierarchy.puml
parent295c6a5a1f2b0db9d756ffe7bf413553a0c02737 (diff)
downloadSakura-8c640a262969ef44cd8bc0e0abe95e2a54f4c3f5.tar.gz
Sakura-8c640a262969ef44cd8bc0e0abe95e2a54f4c3f5.zip
ocaml re-migration
Diffstat (limited to 'docs/merkle-tree-hierarchy.puml')
-rw-r--r--docs/merkle-tree-hierarchy.puml50
1 files changed, 0 insertions, 50 deletions
diff --git a/docs/merkle-tree-hierarchy.puml b/docs/merkle-tree-hierarchy.puml
deleted file mode 100644
index 4e86e26..0000000
--- a/docs/merkle-tree-hierarchy.puml
+++ /dev/null
@@ -1,50 +0,0 @@
-@startuml merkle-tree-hierarchy
-!theme plain
-title Merkle Tree Hierarchy
-
-package "Database Level" {
- [Database Hash] as DBHash
- database "Merkle Tree of Relations" as DBTree
-}
-
-package "Relation Level" {
- [Relation Hash 1] as R1Hash
- [Relation Hash 2] as R2Hash
- [Relation Hash N] as RNHash
-
- database "Merkle Tree of Tuples (R1)" as R1Tree
- database "Merkle Tree of Tuples (R2)" as R2Tree
-}
-
-package "Tuple Level" {
- [Tuple Hash 1.1] as T11
- [Tuple Hash 1.2] as T12
- [Tuple Hash 2.1] as T21
- [Tuple Hash 2.2] as T22
-}
-
-DBHash --> DBTree
-DBTree --> R1Hash
-DBTree --> R2Hash
-DBTree --> RNHash
-
-R1Hash --> R1Tree
-R2Hash --> R2Tree
-
-R1Tree --> T11
-R1Tree --> T12
-R2Tree --> T21
-R2Tree --> T22
-
-note bottom of DBHash
- Single hash represents
- entire database state
-
- Benefits:
- - Version control
- - Efficient diffing
- - Distributed sync
- - Integrity verification
-end note
-
-@enduml