1.8.0 • Published 7 years ago
bbworker v1.8.0
BBWorker
Officially maintained client implementation for doing work on the Block Bounty platform. This package can be used as a CLI or be required in your own projects.
CLI
Get started with an install!
npm install -g bbworker
Usage
Usage: bbworker <command> [options] Commands: bbwork new start a new job, returns the job id bbwork work start working on an existing job Options: --version Show version number [boolean] -s, --server Optional parameter to specify the api server to use [string] [default: "http://localhost:8089"] -h, --help Show help [boolean] Examples: bbwork new -f wasm.wasm -c config.json [-s http://localhost:8089] start a new job, returns the job id bbwork work -a 0x0 -j 1 [-s http://localhost:8089] start working on an existing job Please specify one of the commands!
Alternatively skip the install entirely!
npx bbworker new -f wasm.wasm -c config.json
Code
To Be Documented
For now feel free to check out the source in cli.ts to get a feel :)
Bounty Config
Current Schema:
{
populationSize?: number;
mutationPercent?: number;
selectionStrategy?: 'tournament' | 'fitnessProportional';
tournamentSize?: number;
}
1.8.0
7 years ago
1.7.0
7 years ago
1.6.0
7 years ago
1.5.0
7 years ago
1.4.13
7 years ago
1.4.12
7 years ago
1.4.11
7 years ago
1.4.10
7 years ago
1.4.9
7 years ago
1.4.8
7 years ago
1.4.7
7 years ago
1.4.6
7 years ago
1.4.5
7 years ago
1.4.4
7 years ago
1.4.3
7 years ago
1.4.2
7 years ago
1.4.1
7 years ago
1.3.1
7 years ago
1.2.0
7 years ago
1.1.0
7 years ago
1.0.3
7 years ago
1.0.0
7 years ago