Releases: Conflux-Chain/conflux-rust
Releases · Conflux-Chain/conflux-rust
Conflux v2.2.4
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 tofalse
would reduce the disk space usage (it's still default totrue
for further testing).
Improvements
- Avoid having multiple broadcast tasks for the same peer.
Conflux v2.2.4-testnet
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 tofalse
would reduce the disk space usage (it's still default totrue
for further testing).
Improvements
- Avoid having multiple broadcast tasks for the same peer.
Conflux v2.2.3
Bug Fixes
- Fix an issue that makes peers disconnected periodically.
RPC Changes
- Add debug RPCs
cfx_getTransactionsByEpoch
andcfx_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
Bug Fixes
- Fix an issue that makes peers disconnected periodically.
RPC Changes
- Add debug RPCs
cfx_getTransactionsByEpoch
andcfx_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
Configuration Changes
- The original
tx_pool_min_tx_gas_price
is separated to two configurationstx_pool_min_native_tx_gas_price
andtx_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
, andcfx_epochReceipts
). Check #2615 for details. - Add
filter
RPCs forcfx
core space (includingcfx_newFilter
,cfx_newBlockFilter
,cfx_newPendingTransactionFilter
,cfx_getFilterChanges
,cfx_getFilterLogs
, andcfx_uninstallFilter
). - Add
pos_getAccountByPowAddress
to query the PoS account information in one RPC call. - Add two more pending reasons (
oldEpochHeight
andoutdatedStatus
) forfirstTxStatus
returned incfx_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
Configuration Changes
- The original
tx_pool_min_tx_gas_price
is separated to two configurationstx_pool_min_native_tx_gas_price
andtx_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
, andcfx_epochReceipts
). Check #2615 for details. - Add
filter
RPCs forcfx
core space (includingcfx_newFilter
,cfx_newBlockFilter
,cfx_newPendingTransactionFilter
,cfx_getFilterChanges
,cfx_getFilterLogs
, andcfx_uninstallFilter
). - Add
pos_getAccountByPowAddress
to query the PoS account information in one RPC call. - Add two more pending reasons (
oldEpochHeight
andoutdatedStatus
) forfirstTxStatus
returned incfx_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
Fix an issue that prevents the PoS voter nodes from restarting election.
Conflux v2.2.1
RPC Changes
- Fix
cfx_getDepositList
andcfx_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
andpubsub
RPCs that may return incorrect or duplicate log entries. - Fix an issue in eSpace
filter
andpubsub
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
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
andcfx_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
andpubsub
RPCs that may return incorrect or duplicate log entries. - Fix an issue in eSpace
filter
andpubsub
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
- Introduce a hard fork at height 101760000 to discard a long fork and fix the Testnet issue.