Просмотр исходного кода

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

ertosns 2 лет назад
Родитель
Сommit
76d5fb39b1
1 измененных файлов с 4 добавлено и 0 удалено
  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.