Skip to content

Commit

Permalink
update package version to 2.1.1 (#1142)
Browse files Browse the repository at this point in the history
* update package version to 2.1.1

* update CHANGELOG.md

* update rosetta tests for version 2.1.1

* Update test/Chainweb/Test/Rosetta/RestAPI.hs

Co-authored-by: Stuart Popejoy <[email protected]>

* update release date for 2.1.1

Co-authored-by: Stuart Popejoy <[email protected]>
  • Loading branch information
larskuhtz and Stuart Popejoy authored Sep 17, 2020
1 parent bb3ad24 commit 1e17b05
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 3 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# `chainweb-node` Changelog

## 2.1.1 (2020-09-17)

This release provides performance improvements and bug fixes.

* More rigorously check the correct length of request keys,
transactions ids, and hashes in API requests. (#1139, #1140)

* Fix a bug in the Mempool where transactions that have been included in a
block are still marked as pending. Those transactions occupied memory in the
Mempool and got synchronized between nodes until they finally expired.
(#1138)

* The database pruning at node startup is more efficient and can now
operate in four different modes, which can be used on the command line with
the `--prune-chain-database` option and in the configuration file with the
property `chainweb.cuts.pruneChainDatabase`.

* `none` no database pruning is performed
* `headers` only block headers but no payloads are pruned (10-30 seconds)
* `headers-checked` like `headers` but also validates all block headers and
checks the complete chain Merkle tree including payload hashes.
(5-20 minutes)
* `full` prunes block headers and payloads. (10-20 minutes)

The default is `headers`. For backward compatibility it is possible to also
use Boolean values for setting `chainweb.cuts.prunChainDatabase` in the
configuration file, where `false` is equivalent with `none` and `true` is
equivalent with `headers`. (#1132)

* Improved performance of rebuilding the pact database from the
chain data. (#1137)

## 2.1 (2020-08-11)

This version replaces all previous versions. Any prior version will stop working
Expand Down
2 changes: 1 addition & 1 deletion chainweb.cabal
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cabal-version: 2.4

name: chainweb
version: 2.1
version: 2.1.1
synopsis: A Proof-of-Work Parallel-Chain Architecture for Massive Throughput
description: A Proof-of-Work Parallel-Chain Architecture for Massive Throughput.
homepage: https://github.com/kadena-io/chainweb
Expand Down
6 changes: 4 additions & 2 deletions test/Chainweb/Test/Rosetta/RestAPI.hs
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE CPP #-}
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE NumericUnderscores #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeFamilies #-}

module Chainweb.Test.Rosetta.RestAPI
( tests
) where
Expand Down Expand Up @@ -389,7 +391,7 @@ genesisId = BlockId 0 "rdfJIktp_WL0oMr8Wr6lH49YkERAJ9MlFp0RPLMXPDE"
rosettaVersion :: RosettaNodeVersion
rosettaVersion = RosettaNodeVersion
{ _version_rosettaVersion = "1.3.1"
, _version_nodeVersion = "2.1"
, _version_nodeVersion = VERSION_chainweb
, _version_middlewareVersion = Nothing
, _version_metadata = Just $ HM.fromList
[ "node-api-version" A..= ("0.0" :: Text)
Expand Down

0 comments on commit 1e17b05

Please sign in to comment.