首页 > 解决方案 > 如何在我的私有网络中设置 Zcash?

问题描述

我刚刚开始接触 Zcash,并按照此用户指南在本地设置了 Zcash 节点。目前我根据conf文件指向测试网络:

//Zcash.conf
testnet=1
addnode=testnet.z.cash
gen=1
genproclimit=-1

现在我需要在我的本地机器上设置它,即我想运行我自己的网络。任何可以帮助我做到这一点的想法或链接?

最近测试网也断了,

测试网最近被破坏-> https://github.com/zcash/zcash/issues/3552

修复待合并 -> https://github.com/zcash/zcash/pull/3559

谢谢

标签: blockchainzcash

解决方案


使用regtest模式。您会在比特币中找到示例,例如https://bitcoin.org/en/developer-examples#regtest-mode,它们与 zcashd 基本相同。所以用zcashd -regtest.


推荐阅读