Jelajahi Sumber

[doc/spec/payment/burn] add section on zero_cond

ertosns 2 tahun lalu
induk
melakukan
76d5fb39b1
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  1. 4 0
      doc/src/spec/payment/burn.md

+ 4 - 0
doc/src/spec/payment/burn.md

@@ -34,3 +34,7 @@ $$ \mathcal{L} = \{X:W\in \mathcal{R}\} $$
 | pos                  | coin commitment leaf position in the merkle tree    |
 | path                 | coin commitment merkle tree path                    |
 | $signature^{secret}$ | signature secret key                                |
+
+# circuit checks
+
+- if the `coin` has `value` zero, then coin is set to zero, with leaf position 0 in the sparse-merkle-tree, the aim is prevent burning zero coins.