Releases: ethereumjs/ethereumjs-blockchain
v4.0.3 - MuirGlacier Support
v4.0.2 - Istanbul Support
Supports Istanbul by updating ethereumjs-block
to v2.2.1 which in turn uses ethereumjs-tx
v2.1.1 which implements EIP-2028 (calldata fee reduction), PR #130.
From this release the validate
flag is deprecated and users are encouraged to use the more granular flags validatePow
and validateBlocks
. For more on this please see #121.
For Typescript users this release also comes with a BlockchainInterface
interface which the Blockchain
class implements, PR #124.
v4.0.1 - Bugfix Release
- Fixes a browser-compatibility issue caused by the library using
util.callbackify
, PR #117
v4.0.0 - TypeScript Release
First TypeScript based release of the library. TypeScript
handles ES6
transpilation a bit differently (at the end: cleaner) than babel
so require
syntax of the library slightly changes to:
let Blockchain = require('ethereumjs-blockchain').default
The library now also comes with a type declaration file distributed along with the package published.
This release drops support for Node versions 4
and 6
due to internal code updates requiring newer Node.js versions and removes the previously deprecated DB constructor options opts.blockDb
and opts.detailsDb
.
Change Summary:
- Migration of code base and internal toolchain to
TypeScript
, PR #92 - Refactoring of
DB
operations introducing a separateDBManager
class (comes along with dropped Node6
support), PR #91 - Auto-generated
TSDoc
documentation, PR #98 - Replaced
safe-buffer
with native Node.jsBuffer
usage (this comes along with dropped support for Node4
), PR #92 - Dropped deprecated
DB
options, PR #100
v3.4.0 - Petersburg/Goerli Support
v3.3.3 - Bugfix Release
- Fixed a bug causing the
iterate()
method to fail when an older version
levelup
DB instance is passed, see PR #83
v3.3.2 - Bugfix Release
v3.3.1 - Bugfix Release
- Replaced calls to BN.toBuffer() with BN.toArrayLike() so that
ethereumjs-blockchain
can run in a browser environment, PR #73
v3.3.0 - Feature Release: Constantinople Support
- Constantinople support when using block validation (set with
opts.validate
in constructor),
update to a Constantinople-ready version of theethereumjs-block
dependency (>2.1.0), PR #71