Hush Full Node software. We were censored from Github, this is where all development happens now. https://hush.is
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

186 lines
4.8 KiB

<<<<<<< HEAD
8 years ago
Zcash
=====
8 years ago
https://z.cash/
8 years ago
Where do I begin?
-----------------
We have a guide for joining the public testnet: https://github.com/zcash/zcash/wiki/Beta-Guide
What is Zcash?
--------------
8 years ago
Zcash is an implementation of the "Zerocash" protocol. Based on Bitcoin's code, it intends to
offer a far higher standard of privacy and anonymity through a sophisticiated zero-knowledge
proving scheme which preserves confidentiality of transaction metadata.
8 years ago
**Zcash is unfinished and highly experimental.** Use at your own risk.
8 years ago
Participation in the Zcash project is subject to a [Code of Conduct](code_of_conduct.md).
8 years ago
=======
Zcash 1.0.0
===========
What is Zcash?
--------------
[Zcash](https://z.cash/) is an implementation of the "Zerocash" protocol.
Based on Bitcoin's code, it intends to offer a far higher standard of privacy
and anonymity through a sophisticated zero-knowledge proving scheme that
preserves confidentiality of transaction metadata. Technical details are
available in our [Protocol Specification](https://github.com/zcash/zips/raw/master/protocol/protocol.pdf).
This software is the Zcash client. It downloads and stores the entire history
of Zcash transactions; depending on the speed of your computer and network
connection, the synchronization process could take a day or more once the
block chain has reached a significant size.
Security Warnings
-----------------
8 years ago
See important security warnings in
[doc/security-warnings.md](doc/security-warnings.md).
License
-------
8 years ago
Zcash is released under the terms of the MIT license. See [COPYING](COPYING) for more
information or see http://opensource.org/licenses/MIT.
8 years ago
Komodo Specific Notes
=====================
Dependencies
------------
```
#The following packages are needed:
8 years ago
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 libboost-all-dev libssl-dev libprotobuf-dev protobuf-compiler libqt4-dev libqrencode-dev libdb++-dev ntp ntpdate
8 years ago
```
Komodo
------
```
8 years ago
git clone https://github.com/jl777/komodo
cd komodo
#./autogen.sh
#./configure --with-incompatible-bdb --with-gui
8 years ago
# This command might finish with: configure: error: libgmp headers missing. This can be ignored. so can libsnark directory missing error
8 years ago
./zcutil/fetch-params.sh
8 years ago
# -j8 uses 8 threads - replace 8 with number of threads you want to use
./zcutil/build.sh -j8
8 years ago
#This can take some time.
```
8 years ago
# to update an existing version, git checkout dPoW if not on that branch already
git pull
./zcutil/fetch-params.sh
./zcutil/build.sh -j8
8 years ago
To reset the blockchain, from ~/.komodo rm -rf blocks chainstate debug.log komodostate db.log
8 years ago
8 years ago
Create komodo.conf
------------------
```
cd ~
mkdir .komodo
cd .komodo
8 years ago
pico komodo.conf
8 years ago
#Add the following lines to the komodo.conf file:
8 years ago
8 years ago
rpcuser=bitcoinrpc
8 years ago
rpcpassword=password
8 years ago
txindex=1
8 years ago
addnode=5.9.102.210
addnode=78.47.196.146
addnode=178.63.69.164
addnode=88.198.65.74
addnode=5.9.122.241
addnode=144.76.94.38
8 years ago
addnode=89.248.166.91
8 years ago
```
Start mining
------------
```
8 years ago
#iguana documentation shows how to get the btcpubkey and wifstrs that need to be used
#bitcoin also need to be installed with txindex=1 and with rpc enabled
8 years ago
cd ~
cd komodo
8 years ago
#This will return your pubkey eg. "0259e137e5594cf8287195d13aed816af75bd5c04ae673296b51f66e7e8346e8d8" for your address
8 years ago
./src/komodo-cli validateaddress <yourwalletaddres>
#This will give the privkey of your wallet address
./src/komodo-cli dumpprivkey <yourwalletaddres>
#This will import the privkey to be sure the mined coins are placed into your wallet address
./src/komodo-cli importprivkey <yourwalletprivkey>
8 years ago
8 years ago
#To stop the daemon:
8 years ago
./src/komodo-cli stop
8 years ago
8 years ago
#This starts komodo notary - replace genproclimit with number of threads you want to use and add your pubkey
8 years ago
./src/komodod -gen -genproclimit=2 -notary -pubkey="0259e137e5594cf8287195d13aed816af75bd5c04ae673296b51f66e7e8346e8d8" &
8 years ago
#This will get the stats:
./src/komodo-cli getinfo
8 years ago
#To view the process:
8 years ago
ps -ef | grep komodod
8 years ago
8 years ago
#To stop the daemon:
8 years ago
./src/komodo-cli stop
8 years ago
#To view komodod output:
tail -f ~/.komodo/debug.log
8 years ago
#To view all command
./src/komodo-cli help
8 years ago
```
8 years ago
=======
**Zcash is unfinished and highly experimental.** Use at your own risk.
Where do I begin?
-----------------
We have a guide for joining the public testnet:
https://github.com/zcash/zcash/wiki/Beta-Guide
### Need Help?
* See the documentation at the [Zcash Wiki](https://github.com/zcash/zcash/wiki)
for help and more information.
* Ask for help on the [Zcash](https://forum.z.cash/) forum.
Participation in the Zcash project is subject to a
[Code of Conduct](code_of_conduct.md).
Building
--------
Build Zcash along with most dependencies from source by running
./zcutil/build.sh. Currently only Linux is supported.
License
-------
For license information see the file [COPYING](COPYING).