Skip to content

Commit

Permalink
Merged in zk_privacy_doc_update (pull request #638)
Browse files Browse the repository at this point in the history
add how to enable private tx [ci skip]

Approved-by: Boyu Yang <yangby@cryptape.com>
Approved-by: wzf <wangzhanfeng@cryptape.com>
Approved-by: zhangyaning <u2@cryptape.com>
  • Loading branch information
Zhiwei authored and u2 committed Feb 2, 2018
2 parents 279ecdc + 802e1a4 commit 32b8dcb
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions cita-executor/core/src/native/zk_privacy.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
使用零知识证明技术实现隐私交易验证系统合约。

Warning:当前代码仅为原型验证系统,请勿用于生产环境。

此功能通过feature控制,默认关闭。

打开此功能有两种方法:
1. 修改 cita-executor/Cargo.toml。
\[features\] 下面 default 列表中增加 privatetx 。
2. 使用如下命令单独编译cita-executor,并替换原有的可执行文件。
```
cd cita-executor
cargo build --release --features "privatetx"
```
***
### 使用说明
1. 生成零知识证明所需的参数。
Expand Down

0 comments on commit 32b8dcb

Please sign in to comment.