zoukankan      html  css  js  c++  java
  • 运行零币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

  • 相关阅读:
    js利用原型对象实现继承--Es5实现的面向对象方式
    js的构造函数原型链
    回调函数
    箭头函数
    关于js的易错知识
    信息论--(1)
    计算机为什么需要反码,补码?
    windows+anaconda下载安装libelimg,学习图像处理
    spring boot + thymeleaf 3 国际化
    spring boot hello and docker
  • 原文地址:https://www.cnblogs.com/lixiaoran/p/8440607.html
Copyright © 2011-2022 走看看