Learn R Programming

gethr (version 0.1.0)

miner_setExtra: Extra data for mined blocks.

Description

miner_setExtra sets the extra data a miner can include when miner blocks. This is capped at 32 bytes.

Usage

miner_setExtra(data)

Arguments

data

String - Data to include in mined blocks.

Value

Boolean - true if changed, otherwise false.

See Also

Other miner functions: gethr, miner_setEtherBase, miner_setGasPrice, miner_start, miner_stop

Examples

Run this code
# NOT RUN {
miner_setExtra('My info')
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab