Handbook
Glossary
set-generate ( gen n -- )
Vocabulary
bitcoin
.
client
Inputs
gen
a
boolean
n
a
number
Outputs
None
Word description
If 'gen' is true, the server starts generating bitcoins. If 'gen' is 'false' then the server stops generating bitcoins. 'n' is the number of CPU's to use while generating. A value of '-1' means use all the CPU's available.
Definition
USING:
bitcoin.client.private
kernel
;
IN:
bitcoin.client
::
set-generate
( gen n -- )
"setgenerate"
{
gen n
}
bitcoin-request
drop
;