Skip to content

HashGate/HashCash

Repository files navigation

HashCash

-= Install =-

Run the install-hashcash.sh on your server or just follow the guide below.

-= Dependencies =-

The following table summarizes the tools and libraries required to build. A few of the libraries are also included in this repository (marked as "Vendored"). By default, the build uses the library installed on the system, and ignores the vendored sources. However, if no library is found installed on the system, then the vendored source will be built and used. The vendored sources are also used for statically-linked builds because distribution packages often include only shared library binaries (.so) but not static library archives (.a).

Dep Min. Version Vendored Debian/Ubuntu Pkg Arch Pkg Optional Purpose
GCC 4.7.3 NO build-essential base-devel NO
CMake 3.0.0 NO cmake cmake NO
pkg-config any NO pkg-config base-devel NO
Boost 1.58 NO libboost-all-dev boost NO C++ libraries
OpenSSL basically any NO libssl-dev openssl NO sha256 sum
libzmq 3.0.0 NO libzmq3-dev zeromq NO ZeroMQ library
libunbound 1.4.16 YES libunbound-dev unbound NO DNS resolver
libminiupnpc 2.0 YES libminiupnpc-dev miniupnpc YES NAT punching
libunwind any NO libunwind8-dev libunwind YES Stack traces
liblzma any NO liblzma-dev xz YES For libunwind
libreadline 6.3.0 NO libreadline6-dev readline YES Input editing
ldns 1.6.17 NO libldns-dev ldns YES SSL toolkit
expat 1.1 NO libexpat1-dev expat YES XML parsing
GTest 1.5 YES libgtest-dev^ gtest YES Test suite
Doxygen any NO doxygen doxygen YES Documentation
Graphviz any NO graphviz graphviz YES Documentatio

-= Building HashCash =-

On *nix:

Dependencies: GCC 4.7.3 or later, CMake 2.8.6 or later, and Boost 1.55. You may download them from: http://gcc.gnu.org/ http://www.cmake.org/ http://www.boost.org/ Alternatively, it may be possible to install them using a package manager.

To build, change to a directory where this file is located, and run `make'. The resulting executables can be found in build/release/src.

Advanced options: Parallel build: run make -j<number of threads>' instead of make'. Debug build: run make build-debug'. Test suite: run make test-release' to run tests in addition to building. Running make test-debug' will do the same to the debug version. Building with Clang: it may be possible to use Clang instead of GCC, but this may not work everywhere. To build, run export CC=clang CXX=clang++' before running `make'.

On Windows: Dependencies: MSVC 2013 or later, CMake 2.8.6 or later, and Boost 1.55. You may download them from: http://www.microsoft.com/ http://www.cmake.org/ http://www.boost.org/

To build, change to a directory where this file is located, and run this commands: mkdir build cd build cmake -G "Visual Studio 12 Win64" ..

And then do Build. Good luck!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published