Skip to content

ckb 0.25.0 (4257647a 2019-11-14)

Choose a tag to compare

@doitian doitian released this 14 Nov 10:11
4257647

v0.25.0-p1 is a patch version of v0.25.0. It contains several bug fixings. If you plan to start Lina via v0.25.0 binaries, please use v0.25.0-p1 instead.

  • Lina Genesis Hash: TBD
  • Secp256k1
    • hash_type: type
    • code_hash: 0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8

Ensure you are running the correct node by checking the genesis hash in the log output.

Start Lina using v0.25.0

Binaries v0.25.0 can start lina with the correct lina chain spec, which can be generated by genesis-block-generator or downloaded from v0.25.1:

ckb init --import-spec generated-lina-or-downloaded-mainnet.toml --chain mainnet
ckb run

Downloads

OS Arch Runtime Dependencies Package Sign
macOS x64 zip PGP
Linux x64 glibc, libstdc++ tarball PGP
CentOS x64 glibc, libstdc++, openssl tarball PGP
Windows* x64 VC++ Redistributable zip PGP
Docker dockerhub

* Windows support is experimental.

The .asc files are signatures. It is wise and more secure to check out for the files integrity.

Changes since v0.24.0

Features

  • #1785: Upgrade system script for modified multi-sign lock script (@xxuejie)

    See nervosnetwork/ckb-system-scripts#61 for related changes.

  • #1779: Upgrade rocksdb with ReadOnlyDB changes (@xxuejie)

    See nervosnetwork/rust-rocksdb#1 for changes for the rocksdb library.

    While this won't affect CKB, it provides a different rocksdb version that can aid ReadOnly mode when using ckb packages.

  • #1784: Support limit max_tx_verify_cycles (@jjyr)

    The purpose is to limit max verify cycles on single tx, to reduce DDOS vulnerability.

  • #1788: Limit tx max ancestors count (@jjyr)

    Txs with long ancestors chain affect tx pool performance. we limit max ancestors count of a single tx to resolve this issue, tx pool will reject txs which ancestors count large than the limit.

    The default max_ancestors_count is 25.

  • #1797: Allow specify single consensus param in spec (@zhangsoledad)

  • #1803: Allow overriding system script cell capacity (@doitian)

    This make the system script cell capacity determined.

Bug Fixes

  • #1752: Return non-zero rewards for the first 11 blocks (@keroro520)

    • fix: Return non-zero rewards for the first 11 blocks
    • test: Add DAOVerifier to verify the dao_fields
  • #1770: Skip cellbase short-id collision validation (@quake)

  • #1791: Error message on calculate dao max withdraw (@driftluo)

  • #1792: Add missing type script in RPC (@driftluo)

  • #1804: Retrieve few burned ckb in genesis block (@yangby-cryptape)

  • #1805: Proposal table bound (@zhangsoledad)

  • #1801: Calculate interest with older withdraw header (@keroro520)

    This small bug will not cause any validity problems.

  • #1813: Fix get locator performance bug (@TheWaWaR)

    When get header from main chain we can get it from snapshot

Improvements

  • #1729: DB iterator interface (@zhangsoledad)

    • get rid of useless lifetimes and unnecessary intermediate conversion code
    • property api
  • #1655: Avoid reproposed uncle proposals (@keroro520)