miner_setExtra: Extra data for mined blocks.

Description Usage Arguments Value See Also Examples

Description

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

Usage

1

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

1
miner_setExtra('My info')

vicegd/gethr documentation built on May 23, 2019, 6:08 p.m.