cita v0.20.0 Release Notes

Release Date: 2018-11-09 // over 5 years ago
  • Compatibility

    • ⬆️ This new version changes the log format of BFT wal. So it is necessary for each consensus node to be upgraded one by one (the interval should be more than 30s).
    • ⬆️ If you need to upgrade all the nodes at the same time, follow the steps below:
      • Stop all the nodes;
      • Upgrade all the nodes;
      • Use the bft-wal tool to manually convert the log format of BFT wal;
      • Restart all the nodes. shell DATA_PATH=./test-chain/0/data ./bin/bft-wal

    Protocol

    • 👍 [Feature] Add the support for v1 protocol. More details can be found in the document: [Protocol Upgrade From V0 to V1].

    Bootstrap

    • 🔧 [Optimization] Force the use of --super_admin to configure the administrator account when using create_cita_config.py to create a new chain.

    Framework

    • ⚡️ [Upgrade] Upgrade rustc to nightly-2018-10-05, and update the docker image (latest image cita/cita-run:ubuntu-18.04-20181009).

    Executor

    • [Deprecated] Deprecate the use of delay_block_number.
    • 🔨 [Refactor] Use BlockID explicitly in methods that require the use of BlockID instead of using a fuzzy Default value.
    • 🔨 [Refactor] Refactor duplicated codes in both of Executor and Chain.
    • 🔨 [Refactor] Refactor some unsafe codes.

    Chain

    • ⬆️ [Upgrade] Upgrade RocksDB.

    Auth

    • [Feature] Add the check of the version field in the transaction.

    Network

    • 🔨 [Refactor] Refactor network client.
    • ⬆️ [Upgrade] Upgrade network server.
    • 👍 [Feature] Support for TLS communication encryption based on self-signed certificate.
    • 📜 [Fix] Parsing will stop immediately when the body of messages between nodes is too large.

    RPC

    • 📇 [Fix] Fix the problem that the website returned by the [getMetaData] interface is incorrect.
    • [Fix] The error information returned by the [sendRawTransaction] interface may be inconsistent when there are duplicate transactions.
    • [Feature] Add the pending type in the [BlockTag] type.
    • 🔧 [Fix] The exit code caused by the configuration file exception is corrected to 2.

    System Contract

    • [Fix] Fix user authentication problem inside the group when the permission management is enabled.

    ✅ Test

    • ⚡️ [Optimization] Optimize the efficiency of system contract testing.

    Doc

    • 📄 [Docs] Add system contract interface documents.
    • 📄 [Docs] Add more English document.