client

command module
v0.0.0-...-c387957 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 20 Imported by: 0

README

Client

This is the BoomPoW client, it receives and calculates work requests from the BoomPoW server

Usage

The BoomPoW binaries generate work using the GPU and CPU by default, if the GPU is not available, then it will use CPU only.

You can build a version with CPU only by following the compilation instructions below.

For AMD GPUs on linux, you will need to either use the amdgpu-pro driver or run the amdgpu-installer with the following:

amdgpu-install --usecase=opencl --no-dkms

Compiling

Windows

For windows, requirements are:

You can copy the opencl.lib to the lib\x86_64 directory of TDM-GCC to compile with OpenCL support

To build:

go build -o boompow-client.exe -tags cl -ldflags "-X main.WSUrl=wss://boompow.banano.cc/ws/worker -X main.GraphQLURL=https://boompow.banano.cc/graphql" .

To build for CPU only remove -tags cl

Linux

Each distribution will vary on requirements, but on a ubuntu/debian based build something like

sudo apt install golang-go build-essential ocl-icd-opencl-dev

should get you what you need.

Then you can run ./build.sh to build the binary

MacOS

MacOS is the same process as Linux, except you do not need to install OpenCL headers.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
From: https://github.com/recws-org/recws Forked because we need to be able to update authorization header with fresh tokens
From: https://github.com/recws-org/recws Forked because we need to be able to update authorization header with fresh tokens

Jump to

Keyboard shortcuts

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