XinFin
Published in

XinFin

XinFin Delegated Proof of Stake (XDPoS): Major Upgrades at Block number 38383838.

XinFin’s XDC Network update named “Andromeda” on its XDPoS consensus protocol going live at block number 38383838, estimated on 1 December 2021.

XinFin’s XDC Network update on its XDPoS consensus protocol (What’s XDPos) going live at block number 38383838. Please check the time line or countdown for the Andromeda upgrade here with the link below https://xdc.blocksscan.io/blocks/countdown/38383838

The upgrade is currently live on Testnet called apothem network, XinFin’s protocol team has done hard tests like node, smart contract, & advanced non-functional tests — over the Apothem network. With this upgrade, some important functionalities will be added to XinFin’s Mainnet.

What innovative features will the Andromeda upgrade activate?

  • Solidity Upgrade to v0.8.x: XinFin’s XDPoS is upgrading its EVM (Ethereum Virtual Machine) to support the latest version of solidity. Upon upgrade, XinFin’s developers will bypass extensive customization when deploying code from different EVM chains.
    This feature will support XinFin’s ecosystem partners and enhance internal product development.
  • Transaction Fee Address: Going forward, transaction fees will transfer to the owner’s address instead of the coinbase/ miner’s address.
  • Fixed and Added Eth_chainId: With the Eth_chainId, the system will be more secure. That’s due to improvements in the replaying of protection transactions. This will provide military-grade security, supported by forensic monitoring to identify misbehaving nodes.
  • Reward halving issue: The upgrade fixes the issue of fewer rewards to master node owners. With the improved rewards, nodes will be incentivized to join and maintain the XDC Network.
  • Multiple Miner address Fixed: The upgrade handles issues relating to multiple miner addresses that could cause a block creation delay on the Mainnet.

There are 04 way’s and steps to upgrade your node are as follows;

Upgrade using Docker Node

  • Run the command “git checkout master && git pull”
  • To down the current docker node run “docker-compose -f docker-services.yml down”
  • Take the latest backup of xdcchain folder along with keystores files:- “cp xdcchain xdcchain_backup -r”
  • Then run “bash upgrade.sh”
  • More info:- https://github.com/XinFinOrg/XinFin-Node

Upgrade using One-Click Installer

Upgrade using Source Code

Set up a fresh node using a snapshot

  • To down the current docker node run “docker-compose -f docker-services.yml down”
  • Download XDC.Network Snapshot
    “wget https://download.xinfin.network/xdcchain.tar”
  • “tar -xvzf xdcchain.tar”
  • “rm -rf xdcchain/XDC xdcchain.tar”
  • “mv XDC xdcchain”
  • “rm -rf xdcchain/XDC/nodekey”
  • “docker-compose -f docker-services.yml up -d”

Kindly check your node at XinFin.Network with the latest version after few mins, in case of failure or any other issue with the syn process then we will have to revert the changes with the following steps

  • Run the command to fetch the latest code “git pull”
  • To down the current docker node run “docker-compose -f docker-services.yml down”
  • Rename Current xdcchain folder as new folder “mv xdcchain xdcchain_1_4_3”
  • Use Backup xdcchain from backup folders “mv xdcchain_backup xdcchain”
  • Use stable version “git checkout stable”
  • Start Docker Node “docker-compose -f docker-services.yml up -d”

** Please note that every node holder has to backup current chain data, including Keystore files, before upgrading the node. Make sure to Fully Shut Down the previous version before Starting Node with the Updated version. Don’t Keep Multiple Masternode within a live Network with the same coinbase address.

To know the status of your node visit https://www.xinfin.network

FAQ:

Here are a few responses to questions you may have regarding the upgrade.

Q. — As an XDC holder, is there anything one needs to do?
A. — For XDC holders using wallet services (like Guarda), and an exchange, you won’t be doing anything since the systems can be used as before. However, if your wallet or exchange service requires you to make some changes, you’ll be notified.

Q. — As a node operator or masternode holder what do I need to do?
A. — Masternodes and full node operators must update their node software as soon as possible. Fetch the latest code from the below URL: https://github.com/XinFinOrg/XDPoSChain/releases

Q. — What happens if a Full Node or Masternode fails to upgrade?
A. — For continued Masternode participation on the XDC network, Masternode holders must upgrade.

Q. — How will the upgrade affect existing stakes, ledger states, and XDCs?
A. — All the existing XDCs, stakes, ledger states, and transactions will remain intact. And, they can be used exactly as before.

Q. — Will the upgrade be backward-compatible — in terms of API and data?
A. — The upgrade will be fully backward-compatible — -that’s in terms of APIs and data. After the upgrade, the XDC network will continue extending the current public ledger from the XDPoS1.0 version. As well, APIs to browsers, exchanges, wallets, etc. will be fully backward compatible. Thus, Xinfin customers can rest assured that the upgrade will be transparent.

Q. — What will the update provide Ethereum’s EVM-compatible projects?
A. — This Major update will provide Ethereum’s EVM-compatible projects to move to XinFin Network with several benefits. These include near-zero gas fees, 99% less energy consumption for the block network as compared to PoW Network. And, 2-second block finality system, which is by far better than a few minutes in other PoW based networks.

If you have any questions or need clarifications, kindly join our community support. As well, node runners and developers are welcome to join our Github channel, Slack channel, and Telegram channel. Other channels you can follow include XinFin’s Twitter, Facebook, Medium, and Reddit channels.

Q. — I need more information and support for this update.
A: You are welcome to join our Github channel, Slack channel, and Telegram channel and get active technical support from the technical community. Other channels you can follow include XinFin’s Twitter, Facebook, Medium, and Reddit channels. XDC Technical community created Live interactive Zoom Video support until the entire upgrade takes place at :
https://us02web.zoom.us/j/85620660352?pwd=ZlVreG9CWFo3MWlVQjZGQUpjRDkvdz09
Meeting ID: 856 2066 0352
Passcode: 218055

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
XinFin XDC Hybrid Blockchain Network

XinFin XDC Hybrid Blockchain Network

XinFin [XDC] is an open source hybrid blockchain platform.