Skip to content

Releases: Conflux-Chain/conflux-rust

Conflux v0.3.0

09 Apr 07:53
Compare
Choose a tag to compare
Conflux v0.3.0 Pre-release
Pre-release

Blockchain Core Updates (Not Backward Compatible)

  • Changes the address scheme of Conflux. All normal address now start with 0x1.
    All smart contracts address now start with 0x8. Note that your private key will
    still work as long as you replace the first character in your hex address with
    0x1. For example, if your address is 0x7b5c..., after this update your
    address will change to 0x1b5c...

  • Changes the state Merkle root calculation method. Merkle is calculated based
    on constructed raw keccak input byte string instead of serialized rlp; checks if
    compressed_path starts on the second nibble of a byte; makes sure that with the
    constructed keccak input string adversary cannot construct a compressed path to
    create a path Merkle of the same value as a node Merkle.

  • Each epoch now has a limit of executing 200 blocks. If there are more than
    200 blocks in an epoch. Only the last 200 blocks will be executed. This change
    is designed to battle DoS attacks about hiding and generating a lot of blocks
    suddenly.

  • Add storage_root support in Conflux MPT. Define storage root as the Merkle
    root computed on the account's storage subtree root node, ignoring the
    compressed path; 2) force the storage root node to existing by setting a
    StorageLayout value at the storage node.

You need to use new SDK tools to connect with the main chain, otherwise your
transaction will be rejected as invalid.

EVM Updates

  • Change the gas used in SSTORE operation to 5000 gas, no matter the zero-ness
    is changed or not. And we no longer refund gas in releasing storage entry.

RPC/CLI Updates

  • Change the CLI interface subcommand from debug to local. Its
    functionality remains the same.

  • Add a RPC cfx_getSkippedBlocksByEpoch to query skipped blocks of an epoch

  • Add a corresponding CLI interface to query skipped blocks via local RPC

  • Refactor RPC interface now most RPC takes HEX parameters and returns HEX

Bug Fixes

  • Fix an issue that may cause the P2P layer to not propagate out-of-era blocks properly

  • Fix an issue that Conflux RPC may return incorrect estimate.

  • Fix an issue that virtual call RPC may fail if the caller does not have enough balance

  • Fix an issue that failing to send a pending request can make a block not received.

  • Fix an issue that not-graph-ready compact blocks are not fully received.

Improvements

  • Make the consensus layer to prioritize meaningful blocks first. It will
    improve the overall performance in facing of DoS attacks. It will also
    prioritize self-mined blocks as a desirable effect.

Conflux v0.2.4

28 Mar 09:47
Compare
Choose a tag to compare
Conflux v0.2.4 Pre-release
Pre-release
  • Fix block retrieval issues.

  • Fix consensus issues in corner cases.

Conflux v0.2.3

23 Mar 06:08
Compare
Choose a tag to compare
Conflux v0.2.3 Pre-release
Pre-release
  • Fix issues introduced in consensus algorithm upgrading.

  • Fix issues in peer management.

  • Optimize performance under extreme cases.

Conflux v0.2.2

13 Mar 09:53
Compare
Choose a tag to compare
Conflux v0.2.2 Pre-release
Pre-release
  • Implement the new GHAST consensus algorithm.



  • Change the block generation rate to 2 blocks per second.



  • Optimize blockchain synchronization under unstable network conditions
.


  • Optimize disk usage.



  • More RPC supports.


  • Bugfix and optimization.

Conflux v0.2.1

13 Feb 06:03
874f96a
Compare
Choose a tag to compare
Conflux v0.2.1 Pre-release
Pre-release
  • Improve the snapshot implementation for better throughput and less disk space.

  • Improve the test framework and add more test cases.

  • Add more RPC supports.

  • Bugfix and other performance optimization.

Conflux v0.2.0

10 Jan 09:02
f933f0e
Compare
Choose a tag to compare
Conflux v0.2.0 Pre-release
Pre-release
  • Add Snapshot mechanism to accelerate block execution.

  • Add Staking mechanism for contract storage charging.

  • Other performance optimizations and bugfix.

Conflux v0.1.10

12 Nov 11:24
351fc86
Compare
Choose a tag to compare
Conflux v0.1.10 Pre-release
Pre-release
  • Support catch-up from checkpoints for new full nodes.

  • Reduce bandwidth consumption of transaction dissemination.

  • Support flow control at network layer.

  • Bugfix and performance optimization.

Conflux v0.1.9

15 Oct 13:49
5e1ebdf
Compare
Choose a tag to compare
Conflux v0.1.9 Pre-release
Pre-release
  • Add Conflux CLI tools.

  • Improve RPC implementation.

  • Bugfix and performance optimization.

Conflux v0.1.8

23 Sep 07:36
3db0043
Compare
Choose a tag to compare
Conflux v0.1.8 Pre-release
Pre-release
  • Introduce more RPCs.

  • Optimize database performance.

  • Make handshakes more secure.

  • Bugfix.

Conflux v0.1.7

09 Sep 08:30
44705f8
Compare
Choose a tag to compare
Conflux v0.1.7 Pre-release
Pre-release
  • Enable checkpoints.

  • Enable recovering from checkpoints.

  • Performance improvement and bug fix.