CKB Release v0.4.0

6 views
Skip to first unread message

ian

unread,
Jan 14, 2019, 2:55:17 AM1/14/19
to ckb...@nervos.org

v0.4.0 (2019-01-14)

Bug Fixes

  • unnecessary shared data clone (4bf9555)

Features

  • upgrade to Rust 1.31.1
  • cell model: rename CellBase to Cellbase (71dec8b)
  • cell model: rename CellStatus old -> dead, current -> live (ede5108)
  • cell model: rename OutofBound -> OutOfBound (f348821)
  • cell model: rename CellOutput#contract to CellOutput#_type (6e128c1)
  • consensus: add block level script cycle limit (22adb37)
  • consensus: past blocks median time based header timestamp verification (c63d64b)
  • infrastructure: new merkle tree implementation (#143) (bb83898)
  • infrastructure: upgrade config-rs and use enum in config parsing (#156) (aebeb7f)
  • p2p framework: remove broken kad discovery protocol (f2d86ba)
  • p2p framework: use SQLite implement PeerStore to replace current MemoryPeerStore (#127)
  • p2p protocol: add transaction filter (6717b1f)
  • p2p protocol: unify h256 and ProposalShortId serialization (#125) (62f57c0), closes #125
  • peripheral: add RPC max_request_body_size config (4ecf813)
  • peripheral: add cycle costs to CKB syscalls (6e10311)
  • peripheral: jsonrpc types wrappers: use hex in JSON for binary fields (dd1ed0b)
  • scripting: remove obsolete secp256k1 script in CKB (abf6b5b)
  • refactor: rename ambiguous tx error (58cb857)

BREAKING CHANGES

  • JSONRPC changes, see the diff of rpc/doc.md
    • Binary fields encoded as integer array are now all in 0x-prefix hex string.
    • Rename transaction output contract to type
    • Rename CellStatus old -> dead, current -> live
  • P2P message schema changes, see the diff of
    protocol/src/protocol.fbs
    • Add struct H256 for all H256 fields.
    • Add struct ProposalShortId
  • Config changes, see the diff of
    nodes_template/default.json
    • Add a new option max_request_body_size in section rpc.
    • Changed the default miner type_hash

signature.asc
Reply all
Reply to author
Forward
0 new messages