This release includes a critical fix to prevent transaction fee overflow issues that could disrupt block creation.
Major Updates
- CAmount Fix for Transaction Fees
- The
nFees
variable inCreateNewBlock
was previously defined asint
, which could cause an overflow when transaction fees exceeded the integer limit. - This has been corrected by changing
nFees
toCAmount
, ensuring proper handling of large transaction fees and preventingbad-txns-vout-negative
errors during block validation.
- The
Included Files in v4.0.2
This release comes with the following downloadable files:
- luckycoin.conf
- Node-v4.0.2-linux.zip
- Node-v4.0.2-ubuntu20.04.zip
- Node-v4.0.2-ubuntu22.04.zip
- Node-v4.0.2-windows.zip
- Wallet-v4.0.2-linux.zip
- Wallet-v4.0.2-ubuntu20.04.zip
- Wallet-v4.0.2-ubuntu22.04.zip
- Wallet-v4.0.2-windows.zip
Details
- Node Packages: Include essential binaries such as
luckycoind(.exe)
,luckycoin-cli(.exe)
, and tools for running nodes. - Wallet Packages: Contain the
luckycoin-qt(.exe)
file for managing your Luckycoin wallet. Existing users can replace their currentluckycoin-qt
executable with the new version provided. - Configuration File: The
luckycoin.conf
file aids in node and wallet synchronization. Place this file in the default directory to ensure your node connects seamlessly to the correct peers and achieves proper synchronization.
Default Directories for luckycoin.conf
- Linux:
~/.luckycoin/
- Windows:
%appdata%/Luckycoin
Recommendations
All node operators and wallet users must upgrade to v4.0.2 to ensure compatibility with the network. Failure to upgrade may result in invalid block creation and potential chain splits.