Skip to content

Releases: XinFinOrg/XDPoSChain

v2.4.2-hotfix

26 Dec 09:55
d24d559

Choose a tag to compare

What's Changed

Full Changelog: v2.4.2...v2.4.2-hotfix

v2.6.7-testnet

18 Dec 09:57

Choose a tag to compare

v2.6.7-testnet Pre-release
Pre-release

v2.6.6-testnet

27 Nov 14:02

Choose a tag to compare

v2.6.6-testnet Pre-release
Pre-release

Performance Improvements

  • Pre-allocate memory for slices and maps (XFN-148).
  • Optimized CompareSignersLists.
  • Improved cached-prev comparison logic in core (XFN-96).
  • Performance boosts in ChaindbCompact() / ChaindbProperty() (XFN-139).
  • Faster unique signature verification (XFN-03).
  • Reduced overuse of log.Crit, improved logging efficiency.
  • Improved txpool performance and reduced lock contention.
  • More efficient future block handling logic (XFN-101).

Ethereum EIPs / Protocol & Consensus Enhancements

  • Multiple XDPoS V2 validation and parameter fixes (XFN-45, XFN-125, XFN-151, etc.).
  • Fixed rpc.BlockNumber overflow issues across modules (XFN-69).
  • Verified header hash correctness in getEpochSwitchInfo.
  • Enforced gas limit bounds and validation logic (XFN-07, XFN-59, XFN-1619).
  • Skipped gas limit verification for genesis block.
  • Added DeepCopy() for PoolObj (XFN-04).
  • Added epoch-switch check in IsSigner (XFN-90).
  • Earlier rejection of invalid signatures (XFN-29).
  • Validated gap numbers in masternode updates (XFN-11).
  • Enforced minimum timestamp for initial V2 block (XFN-16).
  • Correct special-tx processing behavior (XFN-67).
  • Removed “fake storage” implementation (XFN-150).
  • Separated V1 and V2 full verifier arrays.

RPC & API Enhancements

  • Updated BlockNumber constants to match ethclient (ethereum#27219).
  • Fixed unsafe pointer manipulation in tracers (XFN-91).
  • Improved error propagation in internal/ethapi (XFN-118).
  • Pre-allocated map in txpool API for better performance (XFN-106).
  • Validated tx JSON non-nil before use.
  • Fixed incorrect condition judgment in RPC (XFN-73).
  • Ensured gasprice cache purge goroutine terminates properly (XFN-89).
  • Corrected parameter name mismatch in HookPenalties() (XFN-141).

Security & Bug Fixes

  • Fixed inconsistent tx blacklist enforcement (XFN-98).
  • Fixed trie DB reference dereference issues (XFN-85).
  • Resolved unsafe slice creation pointer usage.
  • Added missing nil checks and improved error handling across modules.
  • Synchronized txpool cache with mutex protection (XFN-65).
  • Resolved concurrency issues: data races, goroutine leaks, unsynchronized reads.
  • Fixed overflow, modulo-by-zero, and boundary condition bugs.
  • Improved signature, gas fee, and immutability handling logic.
  • Corrected mined block event handling and transaction queue logic.
  • Fixed incorrect tx queue pop order (XFN-37).
  • Eliminated variable shadowing in many functions.

Code Refactoring & Cleanup

  • Removed unused variables, functions, and APIs (XFN-74, XFN-134, XFN-115, etc.).
  • Improved naming consistency and parameter clarity.
  • Added Solidity documentation.
  • Eliminated unused parameters in consensus/XDPoS.
  • Converted appropriate variables to constants (XFN-123).
  • Cleaned up error definitions and improved ExtractAddressFromBytes().
  • Fixed typos and added missing comments.
  • Separated v1 and v2 verifier arrays.

Network & Node Adjustments

  • Fast-cancel block insertion when debug_setHead is invoked (XFN-142).
  • Enhanced handling of future blocks.
  • Fixed goroutine leak in procFutureBlocks (XFN-105).
  • Improved masternode update verification.
  • Enhanced QC verification logic (XFN-09).
  • Corrected Block type immutability issues (XFN-82).
  • Added validation for initial V2 timestamp.

Development & Deployment Updates

  • Version bumped to v2.6.6-testnet.
  • Compared V2 parameters across versions (XFN-45).
  • Disabled config comparison during rollback.
  • Added additional logs for debugging.
  • Updated test gas limit parameters.
  • Resolved merge conflicts.
  • Added missing packages/imports (e.g., fmt).
  • Updated package version references.

What's Changed

Full Changelog: v2.6.5-testnet...v2.6.x-testnet

v2.6.5-testnet

28 Aug 05:18

Choose a tag to compare

v2.6.5-testnet Pre-release
Pre-release

What's Changed

Full Changelog: v2.6.4-beta...v2.6.5-testnet

v2.6.4-beta

14 Jul 09:11

Choose a tag to compare

v2.6.4-beta Pre-release
Pre-release

This is ONLY for TESTNET Release

What's Changed

  • console, internal: remove personal RPC namespace ethereum#30704
  • all: fix invalid signer list on checkpoint block for trace api close #1185 #1186

Full Changelog: v2.6.3-beta...v2.6.4-beta

v2.4.2

16 Jun 09:03

Choose a tag to compare

v2.6.3-beta

19 May 06:18

Choose a tag to compare

v2.6.3-beta Pre-release
Pre-release

This is ONLY for TESTNET Release

What's Changed

Full Changelog: v2.6.0-beta...v2.6.3-beta

v2.6.2-beta

08 May 08:41

Choose a tag to compare

v2.6.2-beta Pre-release
Pre-release

THIS IS TESTNET ONLY RELEASE

What's Changed

Full Changelog: v2.6.0-beta...v2.6.2-beta

v2.6.0-beta

26 Mar 08:00

Choose a tag to compare

v2.6.0-beta Pre-release
Pre-release

Full Changelog: v2.5.1-beta...v2.6.0-beta

Support Cancun
Support solidity v0.8.28

v2.5.1-beta

01 Mar 08:36

Choose a tag to compare

v2.5.1-beta Pre-release
Pre-release

Testnet ONLY

Changes

[core/types: remove unused error variables]
[core: fix BlockSigner tx cause debug API fail after EIP-1559]
[core, internal/ethapi: improve function IsSpecialTransaction]

Full Changelog: v2.5.0-beta1...v2.5.1-beta