blockforge

command module
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2018 License: MIT Imports: 2 Imported by: 0

README

BlockForge

GoDoc pipeline status Build status

BlockForge is a next generation miner for cryptocurrencies. Easy to use, multi algo and open source.

Current state: Under development.

Usage

Run blockforge --help to display usage.

Building

Linux

Install the following dependencies: GCC, cmake, Go, hwloc, webkit2gtk, ocl-icd

To build, run:

cmake -Hhash -Bhash/build
cmake --build hash/build
go get -u github.com/golang/dep/cmd/dep github.com/gobuffalo/packr/...
dep ensure -vendor-only
go generate
go build
Windows

Install the following dependencies: MSYS2, Go, Git

Use the MSYS2 shell to install the rest of the dependencies:

pacman -S mingw-w64-x86_64-cmake mingw-w64-x86_64-gcc mingw-w64-x86_64-opencl-headers mingw-w64-x86_64-headers-git mingw-w64-x86_64-make

Download hwloc and extract it to C:\msys64\mingw64. Extract the x64 OpenCL.lib from OCL-SDK to C:\msys64\mingw64\lib. Make sure C:\msys64\mingw64\bin is in your PATH.

To build, run:

cmake -G "MinGW Makefiles" -DCMAKE_PREFIX_PATH=c:\msys64\mingw64 -Hhash -Bhash/build
cmake --build hash/build
go get -u github.com/golang/dep/cmd/dep github.com/gobuffalo/packr/...
dep ensure -vendor-only
go generate
go build -ldflags '-linkmode external -extldflags "-static"'

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
hardware
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL