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.

184 lines
5.1 KiB

Zcash 1.0.8
===========
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
8 years ago
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
blockchain 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:
7 years ago
sudo apt-get install build-essential pkg-config libcurl3-gnutls-dev libc6-dev libevent-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
./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
ASSETCHAINS: -ac_name=name -ac_supply=nnnnn
Both komodod and komodo-cli recognize -ac_name=option so you can create a zcash fork from the commandline
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 main Zcash network:
https://github.com/zcash/zcash/wiki/1.0-User-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
8 years ago
./zcutil/build.sh. Currently only Linux is officially supported.
License
-------
For license information see the file [COPYING](COPYING).
7 years ago
NOTE TO EXCHANGES:
https://bitcointalk.org/index.php?topic=1605144.msg17732151#msg17732151
There is a small chance that an outbound transaction will give an error due to mismatched values in wallet calculations. There is a -exchange option that you can run komodod with, but make sure to have the entire transaction history under the same -exchange mode. Otherwise you will get wallet conflicts.
To change modes:
a) backup all privkeys (launch komodod with -exportdir=<path> and dumpwallet)
b) start a totally new sync including wallet.dat, launch with same exportdir
c) stop it before it gets too far and import all the privkeys from a) using komodo-cli importwallet filename
7 years ago
d) resume sync till it gets to chaintip
For example:
./komodod -exportdir=/tmp &
./komodo-cli dumpwallet example
./komodo-cli stop
mv ~/.komodo ~/.komodo.old && mkdir ~/.komodo && cp ~/.komodo.old/komodo.conf ~/.komodo.old/peers.dat ~/.komodo
./komodod -exchange -exportdir=/tmp &
7 years ago
./komodo-cli importwallet /tmp/example