运行零币Zcash(ZEC)
1.在基于 Ubuntu 或者 Debian 的系统中:
$ sudo apt-get install \
build-essential pkg-config libc6-dev m4 g++-multilib \
autoconf libtool ncurses-dev unzip git python \
zlib1g-dev wget bsdmainutils automake
2.通过使用 git 或运行 fetch-params.sh, 来获取我们的程序库:
$ git clone https://github.com/zcash/zcash.git
$ cd zcash/
$ git checkout v1.0.3
$ ./zcutil/fetch-params.sh
3.配置
建立 ~/.zcash 目录,并在 ~/.zcash/zcash.conf 中使用以下命令行放置配置文件。
mkdir -p ~/.zcash
echo "addnode=mainnet.z.cash" >~/.zcash/zcash.conf
echo "rpcuser=username" >>~/.zcash/zcash.conf
echo "rpcpassword=`head -c 32 /dev/urandom | base64`" >>~/.zcash/zcash.conf
4.通过二进制安装
On Ubuntu Trusty, you can install gcc/g++ 4.9 as follows:
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install g++-4.9
First install the following dependency so you can talk to our repository using HTTPS:
sudo apt-get install apt-transport-https
Next add the Zcash master signing key to apt's trusted keyring:
wget -qO - https://apt.z.cash/zcash.asc | sudo apt-key add -
Fingerprint: F1E2 1403 7E94 E950 BA85 77B2 63C4 A216 9C1B 2FA2
Add the repository to your sources:
echo "deb [arch=amd64] https://apt.z.cash/ jessie main" | sudo tee /etc/apt/sources.list.d/zcash.list
Finally, update the cache of sources and install Zcash:
sudo apt-get update && sudo apt-get install zcash
5.运行 Zcash:
现在,运行 zcashd!
$ zcashd
想要在后台运行程序 (并没有通常可见的节点指示屏幕),可以使用 ./src/zcashd --daemon。
你可以在 RPC 加载完毕后使用它。以下是一个快速测试它的方法:
$ zcash-cli getinfo
最新文章
- 利用Oracle RUEI+EM12c进行应用的“端到端”性能诊断
- [PHP源码阅读]array_slice和array_splice函数
- 10gRAC vip启动报错CRS-1006 CRS-0215
- Spring中Bean的生命周期方法
- WEB文件上传漏洞介绍解决办法
- 【线段树】bzoj1018 [SHOI2008]堵塞的交通traffic
- TCP/IP五层模型
- mysql学习之-字符集选定,修改。
- html5离线应用详摘
- Junit3.8
- redis【摘自网上,只为以后查看】
- 看小白如何解决ajax跨域问题
- ASP.NET-FineUI开发实践-16(二)
- 百度分享share.js插件
- nodejs+express 4.x笔记
- C#使用WinAPI 修改电源设置,临时禁止笔记本合上盖子时睡眠
- cocos2dx进阶学习之瓦片地图编辑器
- MKNetworkKit 使用
- python大法好——python json
- fuser - 查看文件/网络端口等被什么进程占用
热门文章
- Codeforces 768A Oath of the Night's Watch 2017-02-21 22:13 39人阅读 评论(0) 收藏
- 个人项目-词频统计(语言:C++)
- virtualbox上硬盘安装coreos
- docker怎么导出导入镜像
- spring 3.0版本以上jar包使用以及依赖关系
- leetcode 罗马数字转整数
- WPF成长之路------翻转动画
- Posix消息队列注意事项
- django系列8.1--django的中间件01 自定义中间件的5个方法
- SoundPool