ethereumjs-block
Advanced tools
Changelog
[2.0.0] - 2018-06-25
This release introduces both support for different chains
(mainnet
, ropsten
, ...)
and hardforks
up to the latest applied HF (byzantium
). Parameters and genesis values
are provided by the new ethereumjs-common
library which also defines the set of supported chains and forks.
Changes in detail:
opts.chain
(default: mainnet
) and opts.hardfork
(default: null
, block number-based behaviour), PR #44Common
class object can be provided directly with the opts.common
parameter,
see API docschain
setchain
set (see ethereumjs-common
for supported chains)nonce
(empty buffer -> <Buffer 00 00 00 00 00 00 00 00>
), PR #42Changelog
[1.7.0] - 2017-10-11
Metro-Byzantium
compatibleisHomestead
, isHomesteadReprice
from API methods