Skip to content
This repository was archived by the owner on Apr 6, 2020. It is now read-only.

Commit d64c302

Browse files
authored
Merge pull request #72 from ethereumjs/new-release-v330
New release v3.3.0 (Constantinople support for validation)
2 parents 036d92d + 2f18a63 commit d64c302

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
[Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

88

9+
## [3.3.0] - 2018-10-19
10+
- Constantinople support when using block validation (set with ``opts.validate`` in constructor),
11+
update to a Constantinople-ready version of the ``ethereumjs-block`` dependency (>2.1.0), PR [#71](https://github.com/ethereumjs/ethereumjs-blockchain/pull/71)
12+
13+
[3.3.0]: https://github.com/ethereumjs/ethereumjs-blockchain/compare/v3.2.1...v3.3.0
14+
915
## [3.2.1] - 2018-08-29
1016
- Fixed an issue with the ``iterator()`` function returning an error on end of block iteration instead of finish gracefully, PR [#64](https://github.com/ethereumjs/ethereumjs-blockchain/pull/64)
1117
- Updated ``ethereumjs-common`` dependency to ``v0.5.0`` (custom chain support), PR [#63](https://github.com/ethereumjs/ethereumjs-blockchain/pull/63)

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ new Blockchain({db: db}).iterator('i', (block, reorg, cb) => {
3131
}, (err) => console.log(err || 'Done.'))
3232
```
3333

34+
**WARNING**: Since ``ethereumjs-blockchain`` is also doing write operations
35+
on the DB for safety reasons only run this on a copy of your database, otherwise this might lead
36+
to a compromised DB state.
37+
3438
# API
3539

3640
- [`Blockchain`](#blockchain)
@@ -56,7 +60,7 @@ Implements functions for retrieving, manipulating and storing Ethereum's blockch
5660
### `new Blockchain(opts)`
5761
Creates new Blockchain object
5862
- `opts.db` - Database to store blocks and metadata. Should be a [levelup](https://github.com/rvagg/node-levelup) instance.
59-
- `opts.validate` - this the flag to validate blocks (e.g. Proof-of-Work).
63+
- `opts.validate` - this the flag to validate blocks (e.g. Proof-of-Work), latest HF rules supported: ``Constantinople``.
6064

6165
[DEPRECATION NOTE]
6266
The old separated DB constructor parameters `opts.blockDB` and `opts.detailsDB` from before the Geth DB-compatible ``v3.0.0`` release are deprecated and continued usage is discouraged. When provided `opts.blockDB` will be used

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ethereumjs-blockchain",
3-
"version": "3.2.1",
3+
"version": "3.3.0",
44
"description": "A module to store and interact with blocks",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)