diff --git a/web/e.cash/pages/upgrade.js b/web/e.cash/pages/upgrade.js index 82fadef8e..88e4b30b5 100644 --- a/web/e.cash/pages/upgrade.js +++ b/web/e.cash/pages/upgrade.js @@ -1,181 +1,181 @@ // Copyright (c) 2023 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. import Layout from '/components/layout'; import SubPageHero from '/components/sub-page-hero'; import H3 from '/components/h3'; import Link from 'next/link'; import ExternalLink from '/components/external-link'; import { Container, GradientSpacer } from '/components/atoms'; import pins from '/public/animations/pins.json'; const oldVersion = `0.28.12`; function Upgrade(props) { const latestVersion = props.latestVersion; return (

As part of its rapid development roadmap, the eCash network undergoes periodic network upgrades. Check here to find up-to-date information so you can stay informed, and be prepared for the next upgrade.

All operators of a Bitcoin ABC full node must upgrade to the latest major version ({latestVersion}). This is available at the Bitcoin ABC{' '} Releases Page .

In order to activate reliably at a predictable time, the network upgrade uses the “Median Time Past” mechanism. The upgrade activates when the median of the last 11 blocks reaches timestamp 1715774400 (12:00:00 UTC on May 15th, 2024). This means that the upgrade does not actually activate exactly at that time, but typically about one hour later, when 6 blocks with timestamps greater than the activation time have been produced.

There are no consensus changes activating at the upgrade, however the upgrade release includes the Chronik indexer as an opt-in option to the Bitcoin ABC node software for Linux and Windows.

Chronik gives you access to a brand new API to get notified of finalized blocks, retrieve transaction history by eCash address, gather eToken transaction data, and much more. To enable Chronik, simply turn it on with the{' '} -chronik option.

Take a look at the full{' '} Setup and API documentation {' '} to get an overview of the features, and start building your own application with the{' '} chronik-client {' '} - to get an overview npm package. + npm package.

The network upgrade only affects full nodes. Other eCash software, including wallets such as{' '} Electrum ABC {' '} are not affected by the network upgrade.

The process of upgrading your node is straightforward: simply stop the currently running node, download the new version, and start the new version. Here are some example instructions for upgrading from version {oldVersion} to version {latestVersion} on Linux:

  1. Shut down the node:
    ./bitcoin-abc-{oldVersion}/bin/bitcoin-cli stop
  2. Download the new version archive from the website:{' '}
    wget https://download.bitcoinabc.org/{latestVersion} /linux/bitcoin-abc-{latestVersion} -x86_64-linux-gnu.tar.gz
  3. Extract the archive:
    tar xzf bitcoin-abc-{latestVersion} -x86_64-linux-gnu.tar.gz
  4. Restart the node with the new version:
    ./bitcoin-abc-{latestVersion}/bin/bitcoind -daemon
  5. Clean up old version and archives (optional):
    • rm -rf bitcoin-abc-{oldVersion}
    • rm -f bitcoin-abc-{oldVersion} -x86_64-linux-gnu.tar.gz
    • rm -f bitcoin-abc-{latestVersion} -x86_64-linux-gnu.tar.gz
); } async function getLatestVersion() { const response = await fetch( 'https://api.github.com/repos/Bitcoin-abc/bitcoin-abc/releases?per_page=1', { headers: { accept: 'application/vnd.github.v3+json', }, }, ); const releases = await response.json(); return releases[0].name; } export async function getStaticProps() { const latestVersion = await getLatestVersion(); return { props: { latestVersion: latestVersion, }, }; } export default Upgrade;