v0.4.0
Pre-release
Pre-release
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#contracttoCellOutput#_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-rsand 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_sizeconfig (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
contracttotype - Rename CellStatus old -> dead, current -> live
- P2P message schema changes, see the diff of
protocol/src/protocol.fbs- Add struct
H256for all H256 fields. - Add struct
ProposalShortId
- Add struct
- Config changes, see the diff of
nodes_template/default.json- Add a new option
max_request_body_sizein sectionrpc. - Changed the default miner
type_hash
- Add a new option