Skip to content

Releases: Conflux-Chain/conflux-rust

Conflux v2.2.4

06 May 04:18
179a5bc
Compare
Choose a tag to compare

RPC Changes

  • Implement trace_epoch in the core space RPC endpoint to return traces of two spaces in an epoch.
  • Update the Log data format returned by cfx filter RPCs.

Configurations

  • Add keep_snapshot_before_stable_checkpoint to decide whether to keep the snapshot before the era checkpoint. Setting it to false would reduce the disk space usage (it's still default to true for further testing).

Improvements

  • Avoid having multiple broadcast tasks for the same peer.

Conflux v2.2.4-testnet

21 Apr 05:57
Compare
Choose a tag to compare
Pre-release

RPC Changes

  • Implement trace_epoch in the core space RPC endpoint to return traces of two spaces in an epoch.
  • Update the Log data format returned by cfx filter RPCs.

Configurations

  • Add keep_snapshot_before_stable_checkpoint to decide whether to keep the snapshot before the era checkpoint. Setting it to false would reduce the disk space usage (it's still default to true for further testing).

Improvements

  • Avoid having multiple broadcast tasks for the same peer.

Conflux v2.2.3

03 Apr 06:17
644caaf
Compare
Choose a tag to compare

Bug Fixes

  • Fix an issue that makes peers disconnected periodically.

RPC Changes

  • Add debug RPCs cfx_getTransactionsByEpoch and cfx_getTransactionsByBlock to get the original transactions in both spaces atomically. This is only available in the local RPC port and phantom transactions will not be returned.

Improvement

  • Upgrade the Rust toolchain version to 1.68.0 and fix issues.

Conflux v2.2.3-testnet

22 Mar 05:50
Compare
Choose a tag to compare
Pre-release

Bug Fixes

  • Fix an issue that makes peers disconnected periodically.

RPC Changes

  • Add debug RPCs cfx_getTransactionsByEpoch and cfx_getTransactionsByBlock to get the original transactions in both spaces atomically. This is only available in the local RPC port and phantom transactions will not be returned.

Improvement

  • Upgrade the Rust toolchain version to 1.68.0 and fix issues.

Conflux v2.2.2

14 Mar 06:10
c30c359
Compare
Choose a tag to compare

Configuration Changes

  • The original tx_pool_min_tx_gas_price is separated to two configurations tx_pool_min_native_tx_gas_price and tx_pool_min_eth_tx_gas_price for two spaces.
  • The default tx_pool_size is changed to 50000 to avoid possible OOM because of large transactions.

RPC Changes

  • Support EIP-1898 style epoch parameters in some core space RPCs (including cfx_getBalance, cfx_getStorageAt, cfx_call, cfx_getNextNonce, cfx_getCode, and cfx_epochReceipts). Check #2615 for details.
  • Add filter RPCs for cfx core space (including cfx_newFilter, cfx_newBlockFilter, cfx_newPendingTransactionFilter, cfx_getFilterChanges, cfx_getFilterLogs, and cfx_uninstallFilter).
  • Add pos_getAccountByPowAddress to query the PoS account information in one RPC call.
  • Add two more pending reasons (oldEpochHeight and outdatedStatus) for firstTxStatus returned in cfx_getAccountPendingTransactions. Check #2624 for defails.

Improvements

  • Allow the node database snapshot from Linux to be used by a Windows executable.

Bug Fixes

  • Limit the chunk size when loading from db in syncing snapshot to avoid OOM.
  • Fix an issue that a light client might be deadlocked.
  • Allow nodes to disconnect not-responding light nodes.

Conflux v2.2.2-testnet

28 Feb 06:08
Compare
Choose a tag to compare
Pre-release

Configuration Changes

  • The original tx_pool_min_tx_gas_price is separated to two configurations tx_pool_min_native_tx_gas_price and tx_pool_min_eth_tx_gas_price for two spaces.
  • The default tx_pool_size is changed to 50000 to avoid possible OOM because of large transactions.

RPC Changes

  • Support EIP-1898 style epoch parameters in some core space RPCs (including cfx_getBalance, cfx_getStorageAt, cfx_call, cfx_getNextNonce, cfx_getCode, and cfx_epochReceipts). Check #2615 for details.
  • Add filter RPCs for cfx core space (including cfx_newFilter, cfx_newBlockFilter, cfx_newPendingTransactionFilter, cfx_getFilterChanges, cfx_getFilterLogs, and cfx_uninstallFilter).
  • Add pos_getAccountByPowAddress to query the PoS account information in one RPC call.
  • Add two more pending reasons (oldEpochHeight and outdatedStatus) for firstTxStatus returned in cfx_getAccountPendingTransactions. Check #2624 for defails.

Improvements

  • Allow the node database snapshot from Linux to be used by a Windows executable.

Bug Fixes

  • Limit the chunk size when loading from db in syncing snapshot to avoid OOM.
  • Fix an issue that a light client might be deadlocked.
  • Allow nodes to disconnect not-responding light nodes.

Conflux v2.2.1-fixpos

03 Jan 10:16
2689ae0
Compare
Choose a tag to compare

Fix an issue that prevents the PoS voter nodes from restarting election.

Conflux v2.2.1

29 Dec 09:20
1f31a48
Compare
Choose a tag to compare

RPC Changes

  • Fix cfx_getDepositList and cfx_getVoteList RPC return value format to use hex strings.

Improvements

  • Retry the PoS election transaction if it's not included.
  • Avoid duplicate PoS peer broadcast.

Bug Fixes

  • Fix issues in eSpace filter and pubsub RPCs that may return incorrect or duplicate log entries.
  • Fix an issue in eSpace filter and pubsub RPCs that may get stuck for a long time.
  • Fix an issue that may make valid transactions unable to be accepted by the transaction pool.
  • Disable PoS state pruning by default.

Conflux v2.2.1-testnet

15 Dec 09:29
Compare
Choose a tag to compare
Pre-release

Note that pos_config/pos_config.yaml is updated by adding consensus: hardcoded_epoch_committee. Please replace this file or apply this change manually before restarting the node.

Incompatible Changes

  • Hardcode a PoS committee at the PoS epoch 7760 to fix the empty committee issue for Testnet.

RPC Changes

  • Fix cfx_getDepositList and cfx_getVoteList RPC return value format to use hex strings.

Improvements

  • Retry the PoS election transaction if it's not included.
  • Save the PoS CPU usage by limit the max pos voting power in Testnet.
  • Avoid duplicate PoS peer broadcast.

Bug Fixes

  • Fix issues in eSpace filter and pubsub RPCs that may return incorrect or duplicate log entries.
  • Fix an issue in eSpace filter and pubsub RPCs that may get stuck for a long time.
  • Fix an issue that may make valid transactions unable to be accepted by the transaction pool.
  • Disable PoS state pruning by default to avoid OutOfMemory issues.

Conflux v2.2.0-fix-testnet

05 Dec 09:47
Compare
Choose a tag to compare
Pre-release
  • Introduce a hard fork at height 101760000 to discard a long fork and fix the Testnet issue.