Skip to content

vasya3310/litecoinz

 
 

Repository files navigation

LitecoinZ 1.0.16

What is LitecoinZ?

LitecoinZ is an implementation of the "Zerocash" protocol forked from ZCash. Based on Bitcoin's code, it intends to offer a far higher standard of privacy through a sophisticated zero-knowledge proving scheme that preserves confidentiality of transaction metadata.

This software is the LitecoinZ client. It downloads and stores the entire history of LitecoinZ 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.

License

LitecoinZ is released under the terms of the MIT license.

See LICENSE for more information or see http://opensource.org/licenses/MIT.

Get started

Linux 64-bit

Install dependencies

On Ubuntu/Debian-based systems:

$ 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

On Fedora-based systems:

$ sudo dnf install \
      git pkgconfig automake autoconf ncurses-devel python \
      python-zmq wget gtest-devel gcc gcc-c++ libtool patch bzip2

On Redhat/Centos-based systems:

$ sudo yum install \
      git pkgconfig automake autoconf ncurses-devel python \
      python-zmq wget gtest-devel gcc gcc-c++ libtool patch bzip2

Build

Ensure you have successfully installed all system package dependencies as described above. Then run the build, e.g.:

$ ./zcutil/build.sh -j$(nproc)

This should compile our dependencies and build litecoinzd. (Note: if you don't have nproc, then substitute the number of cores on your system. If the build runs out of memory, try again without the -j argument, i.e. just ./zcutil/build.sh. )

Configuration

Create the ~/.litecoinz directory and place a configuration file at ~/.litecoinz/litecoinz.conf using the following commands:

$ mkdir -p ~/.litecoinz
$ echo "addnode=88.86.186.158" > ~/.litecoinz/litecoinz.conf
$ echo "rpcuser=username" >> ~/.litecoinz/litecoinz.conf
$ echo "rpcpassword=`head -c 32 /dev/urandom | base64`" >> ~/.litecoinz/litecoinz.conf

Enabling CPU mining:

If you want to enable CPU mining, run these commands:

$ echo 'gen=1' >> ~/.litecoinz/litecoinz.conf
$ echo "genproclimit=-1" >> ~/.litecoinz/litecoinz.conf

Setting genproclimit=-1 mines on the maximum number of threads possible on your CPU. If you want to mine with a lower number of threads, set genproclimit equal to the number of threads you would like to mine on.

Running LitecoinZ:

Now, run litecoinzd!

$ ./src/litecoinzd

To run it in the background (without the node metrics screen that is normally displayed) use ./src/litecoinzd --daemon.

You should be able to use the RPC after it finishes loading. Here's a quick way to test:

$ ./src/litecoinz-cli getinfo

To see the peers you are connected to:

$ ./src/litecoinz-cli getpeerinfo

Additional operations for litecoinz-cli

As LitecoinZ is an extension of bitcoin, litecoinz-cli supports all commands that are part of the Bitcoin Core API (as of version 0.11.2), https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_calls_list

To list all LitecoinZ commands, use ./src/litecoinz-cli help.

To get help with a particular command, use ./src/litecoinz-cli help <command>.

Windows 64-bit

See build-windows.md for instructions on building LitecoinZ Core on Windows 64-bit.

Mac OS X

See build-osx.md for instructions on building LitecoinZ Core on Mac OS X.

DONATIONS

Donations for supporting developers are welcome:

  • LTC: LgSbGGqru5LVHE3cWcgwZDLjr3WorGahr3
  • BTC: 1N2rQimKbeUQA8N2LU5vGopYQJmZsBM2d6
  • ZEC: t1T8hAYzLNwe2rLQpFMjx9z9FHFd6oQ86P9
  • BTG: GNkwW2uS4ed7cofz94J8PrTXJnZgmk5nr2
  • BTCZ: t1cmr2QUMCEBRhUVrZHsgC6DnrdzC2FyHz7

Thanks

Security Warnings

LitecoinZ is experimental and a work-in-progress. Use at your own risk.

Participation in the LitecoinZ project is subject to a Code of Conduct.

About

🔒 LitecoinZ source tree

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 75.8%
  • C 9.0%
  • Python 8.4%
  • M4 2.4%
  • Makefile 1.6%
  • Shell 1.3%
  • Other 1.5%