blockchain - 如何在我的私有网络中设置 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
谢谢
解决方案
使用regtest
模式。您会在比特币中找到示例,例如https://bitcoin.org/en/developer-examples#regtest-mode,它们与 zcashd 基本相同。所以用zcashd -regtest
.
推荐阅读
- forms - x-www-form-urlencoded 和 UTF-8
- sparql - SPARQL - 编写查询以获取引用 DBpedia 本体的 uri
- java - 如何在字符串中查找子字符串并使用java获取其计数
- c++ - C++ 使用运算符重载
- html - 单选按钮组空间问题和框阴影在 Safari 浏览器中不起作用
- java - 将 Eclipse 项目导出为 zip,包括外部库
- html - 角度 HTML 选择器的字符串插值
- selenium-webdriver - 在 Serenity 中设置忽略 UnhandledAlertException 的能力
- ios - Nativescript:错误:exportArchive:objc-metadata-generator 有冲突的配置设置
- scala - sbt 如何在 sbt 任务中获得编译结果(成功/失败)