cita v0.23.0 Release Notes

Release Date: 2019-04-26 // about 5 years ago
  • ⬆️ Upgrade Note

    ⬆️ In v0.23.0, CITA upgraded the P2P discovery protocol, which leads to Incompatibility with v0.22.0. So the nodes with CITA v0.23.0 and the nodes with CITA v0.22.0 cannot discover each other in the network. Therefore, when upgrading, all nodes in the network need to be upgraded to v0.23.0 at the same time.

    ⬆️ Following Upgrade Instructions to upgrade the nodes.

    🆕 New Feature Description

    The v0.23.0 version added two RPC interfaces:

    • [Get software version]:
    curl -X POST --data '{"jsonrpc":"2.0","method":"getVersion","params":[],"id":83}'
    
    • [Get peer information]:
    curl -X POST --data '{"jsonrpc":"2.0","method":"peersInfo","params":[],"id":83}'
    

    Framework

    • ⚡️ [Optimization] Update default rust toolchain to v1.34.0. [@yangby-cryptape] [@kaikai1024]
    • ⚡️ [Optimization] Update cita-sdk-js version. [@kaikai1024]
    • [Fix] Reorganize toml path. [@ouwenkg]
    • 🔧 [Feature] Log output mode can be configured as stdout or file. [@Kayryu]

    Executor

    • ✅ [Optimization] Integrate vm-test. [@ouwenkg]
    • ✅ [Optimization] Add unit test of calling contract. [@kaikai1024]

    Auth

    • [Fix] Auth crashes when it is not ready. [@leeyr338]

    Network

    • [Fix] High CPU usage. [@leeyr338]
    • [Fix] Refuse connect when reach max connections. [@leeyr338]
    • ✅ [Optimization] Add discovery test of network. [@leeyr338]
    • [Optimization] Use new version p2p to fix network run crash. [@jerry-yu]

    Consensus

    • 0️⃣ [Optimization] Set the default NTP service to false. [@kaikai1024]
    • [Fix] Not generate block. [@jerry-yu]

    RPC

    • [Feature] Add getVersion interface. [@luqz]
    • [Feature] Add peersInfo interface. [@leeyr338]
    • 🔊 [Fix] Get logs break down the chain when toBlock very large. [@leeyr338]

    Scripts

    • [Optimization] Installation && Exectution Optimization: new usage of cita script. [@clearloop]
    • 🐳 [Fix] Redirect the stdout and stderr for daemon processes in docker. [@yangby-cryptape]
    • 🐳 [Fix] Eliminate warnings when create nodes in docker. [@ouwenkg]
    • [Fix] Generate privkey file when use authorities option. [@leeyr338]
    • 🌲 [Optimization] Log rotate output log as a relative path. [@leeyr338]
    • [Optimization] Patch to absolute paths' in starting scripts. [@clearloop]
    • [Optimization] Format the env.sh using ShellCheck. [@clearloop]

    Doc

    • 💅 [Doc] Add style guide of codes. [@kaikai1024]
    • [Doc] Add all contributors. [@kaikai1024]
    • [Doc] Add more template types of issue and pull request. [@kaikai1024]
    • [Doc] Add editorconfig file. [@kaikai1024]
    • 🚀 [Doc] Add release guide doc. [@kaikai1024]
    • 📄 [Doc] Fix 404 error of CITAHub Docs. [@zhouyun-zoe] [@Keith-CY]
    • 📄 [Doc] Add roadmap and fix contributing docs of CITAHub. [@zhouyun-zoe]
    • [Doc] Change CITA slogan into blockchain kernel. [@zhouyun-zoe]
    • ⚡️ [Doc] Update the description of BlockTag. [@xiangmeiLu]
    • ⬆️ [Doc] Fix protocol upgrade doc. [@QingYanL]
    • 0️⃣ [Doc] Set default website with zh-CN language. [@wuyuyue]