zcoin - what is it ? & cpumining
I came across Zcoin a little while and it was confusing to understand zcoin, zerocoin, zcash etc etc. In general the zero-starting ones are attempts by a team of researchers to give true anonymity to the bitcoin blockchain. They project started off as zerocoin.
The origin story can be shown as
Zerocoin protocol ----> Zcoin
The same authors (some of them) wanted to have different encryption algorithms & devised an alternate method.
Zerocoin: Anonymous Distributed E-Cash from Bitcoin
Ian Miers, Christina Garman, Matthew Green, Aviel D. Rubin
The Johns Hopkins University Department of Computer Science, Baltimore, USA
(Zerocoin ---> ZeroCash) Protocols ----> ZCash currency
so what is the difference ?
From a technical standpoint both the coins differs in
- Encryption algorithms being used
- Initial process of genesis block which is termed as "ceremony"
- Zcoin uses RSA and further uses zercoin protocol and a process called minting to create transactional anonymous coins.
- Zcash uses zk-SNARKs
author's earlier post outlines mining of Zcash & this one is to outline mining of zcoin.
mining
Generic details of mining is available here : http://zcoin.io/guide-on-how-to-mine-zcoin-xzc/
https://xzc.supernova.cc pool can be used for mining as solo-mining is not practical with CPUs.
install necessary packages
apt-fast install git automake libcurl4-openssl-dev libssl-dev libgmp-dev screen
- create a directory to keep the code & get the code
mkdir /home/zcoin; cd /home/zcoin/ ; git clone https://github.com/JayDDee/cpuminer-opt.git
cd /home/zcoin/cpuminer-opt/ ; sh build.sh ; make ; make install
To start mining
cpuminer -a lyra2z -o stratum+tcp://xzc.suprnova.cc:1599 -u username.workername -p password
to make mining persistent / autostart after reboot you can add the following to /etc/rc.local:
screen -d -m /usr/local/bin/cpuminer -a lyra2z -o stratum+tcp://xzc.suprnova.cc:1599 -u username.workername -p password 1>/dev/null 2>/dev/null&
compiling the ZCoin miner on macOS
The mac os compliation is little tricky.
- install the necessary packages
brew install automake autoconf openssl gmp
``git clone https://github.com/Optiminer/cpuminer-xzc.git```
cd /home/zcoin/cpuminer-xzc
cd asm ; ../nomacro.pl ; cd ..
sh autogen.sh
- found the following after lot of search, though don't understand this one correctly.
perl -p -i -e "s/#if \(WINDOWS\)/#define ASM 0\n#if (WINDOWS)/g" algo/neoscrypt.c
./configure --with-crypto=$PWD/ --with-curl
make ; make install
What about the other coins that use zerocoin privacy? PIVX claims to have the most efficient use of zerocoin protocol. I have high hopes for PIVX because of all the functions it rip-off from Dash.
@vimukthi There are too many of them actually - Zclassic, Zen. Comparing them for the zerocoin protocol usage is a tedious job. I quickly checked the white paper and docs. I am not seeing or missed references to zerocoin protocol and how they convert the tokens to coins on the zerocoin (the so called minting process.). This looks interesting I will check and get back on this in few days. Thanks for pointing this one.
PIVX originally used trustless mixing like Dash. Then they moved into Zerocoin privacy.
I was reading about and experimenting / mining with CUREcoin and Folding at home .. next is PIVx :)
well done bobinson, once again!
This post has received a 1.07 % upvote from @buildawhale thanks to: @bobinson. Send at least 1 SBD to @buildawhale with a post link in the memo field for a portion of the next vote.
To support our daily curation initiative, please vote on my owner, @themarkymark, as a Steem Witness
You got a 1.36% upvote from @bobinson requested by: @bobinson.
Send at least 1 SBD to @upme with a post link in the memo field to receive upvote next round.
To support our activity, please vote for my master @suggeelson, as a STEEM Witness
You got a 0.16% upvote from @postpromoter courtesy of @bobinson!